Skip to content

Commit 073ed48

Browse files
fix podspec include path for BabylonInterop (#616)
1 parent ce589c3 commit 073ed48

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Modules/@babylonjs/react-native-iosandroid/ios/BabylonNativeInterop.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#import "BabylonNativeInterop.h"
2-
#import "../../react-native/shared/BabylonNative.h"
2+
#import "BabylonNative.h"
33

44
#import <React/RCTBridge+Private.h>
55
#import <jsi/jsi.h>

Modules/@babylonjs/react-native-iosandroid/react-native-babylon.podspec

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Pod::Spec.new do |s|
1515

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

1920
s.libraries = 'astc-encoder',
2021
'etc1',

Package/BaseKit/react-native-babylon.podspec

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Pod::Spec.new do |s|
1515

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

1920
s.vendored_libraries = 'ios/libs/libastc-encoder.a',
2021
'ios/libs/libBabylonNative.a',

Package/react-native-babylon.podspec

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Pod::Spec.new do |s|
1515

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

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

0 commit comments

Comments
 (0)