Skip to content

Commit 892ac7e

Browse files
committed
ios: support React Native 0.73
1 parent 6fd5372 commit 892ac7e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

nodejs-mobile-react-native.podspec

+6-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ Pod::Spec.new do |s|
1212
s.homepage = package['homepage']
1313
s.platform = :ios, '13.0'
1414
s.source_files = 'ios/*.{h,m,mm,hpp,cpp}'
15-
s.compiler_flags = '-I$(PODS_TARGET_SRCROOT)/ios/libnode/include/node/'
1615
s.pod_target_xcconfig = {
1716
'CLANG_CXX_LANGUAGE_STANDARD' => 'gnu++17',
17+
'ENABLE_BITCODE' => 'NO',
18+
'USE_HEADERMAP' => 'NO',
19+
'ALWAYS_SEARCH_USER_PATHS' => 'NO',
20+
'HEADER_SEARCH_PATHS' => '"$(PODS_TARGET_SRCROOT)/ios" "$(PODS_TARGET_SRCROOT)/ios/libnode/include/node"'
21+
}
22+
s.user_target_xcconfig = {
1823
'ENABLE_BITCODE' => 'NO'
1924
}
20-
s.user_target_xcconfig = { 'ENABLE_BITCODE' => 'NO' }
2125
s.ios.vendored_frameworks = 'ios/NodeMobile.xcframework'
2226
s.static_framework = true
2327
s.dependency 'React-Core'

0 commit comments

Comments
 (0)