Skip to content

Commit

Permalink
fix podspec include path for BabylonInterop (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
CedricGuillemet authored Oct 24, 2023
1 parent ce589c3 commit 073ed48
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import "BabylonNativeInterop.h"
#import "../../react-native/shared/BabylonNative.h"
#import "BabylonNative.h"

#import <React/RCTBridge+Private.h>
#import <jsi/jsi.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Pod::Spec.new do |s|

s.source_files = "ios/*.{h,m,mm}"
s.requires_arc = true
s.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_TARGET_SRCROOT}/shared ${PODS_TARGET_SRCROOT}/..react-native/shared' }

s.libraries = 'astc-encoder',
'etc1',
Expand Down
1 change: 1 addition & 0 deletions Package/BaseKit/react-native-babylon.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Pod::Spec.new do |s|

s.source_files = "ios/**/*.{h,m,mm}"
s.requires_arc = true
s.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_TARGET_SRCROOT}/shared ${PODS_TARGET_SRCROOT}/..react-native/shared' }

s.vendored_libraries = 'ios/libs/libastc-encoder.a',
'ios/libs/libBabylonNative.a',
Expand Down
1 change: 1 addition & 0 deletions Package/react-native-babylon.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Pod::Spec.new do |s|

s.source_files = "ios/**/*.{h,m,mm}"
s.requires_arc = true
s.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '$(inherited) ${PODS_TARGET_SRCROOT}/shared ${PODS_TARGET_SRCROOT}/..react-native/shared' }

s.vendored_libraries = 'ios/libs/*.a'

Expand Down

0 comments on commit 073ed48

Please sign in to comment.