Skip to content

Commit

Permalink
chore: validate ios build
Browse files Browse the repository at this point in the history
  • Loading branch information
azimgd committed Nov 19, 2024
1 parent 633e61a commit f973a72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1783,7 +1783,7 @@ SPEC CHECKSUMS:
React-utils: cbe8b8b3d7b2ac282e018e46f0e7b25cdc87c5a0
ReactCodegen: 4bcb34e6b5ebf6eef5cee34f55aa39991ea1c1f1
ReactCommon: 6a952e50c2a4b694731d7682aaa6c79bc156e4ad
shadowlist: 0ba026e36420a23603bcef766e8a64c2b12e0bcd
shadowlist: 523681bd3cc7c831e9c4da6e21db7777350f5109
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
Yoga: 055f92ad73f8c8600a93f0e25ac0b2344c3b07e6

Expand Down
14 changes: 6 additions & 8 deletions shadowlist.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ Pod::Spec.new do |s|
s.platforms = { :ios => min_ios_version_supported }
s.source = { :git => "https://github.com/azimgd/shadowlist.git", :tag => "#{s.version}" }

s.source_files = "{ios,cpp}/**/*.{h,hpp,m,mm,cpp}"
s.exclude_files = "ios/generated/**/*"
s.source_files = ["{ios,cpp}/**/*.{h,hpp,m,mm,cpp}"]
s.exclude_files = ["ios/generated/**/*", "!ios/generated/build/generated/ios/react/**"]

# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
# See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
if respond_to?(:install_modules_dependencies, true)
install_modules_dependencies(s)
else
Expand All @@ -27,10 +25,10 @@ Pod::Spec.new do |s|
# Don't install the dependencies when we run `pod install` in the old architecture.
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
s.pod_target_xcconfig = {
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
"OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
s.pod_target_xcconfig = {
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
"OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
}
s.dependency "React-RCTFabric"
s.dependency "React-Codegen"
Expand Down

0 comments on commit f973a72

Please sign in to comment.