diff --git a/Modules/@babylonjs/react-native-iosandroid/ios/BabylonNativeInterop.mm b/Modules/@babylonjs/react-native-iosandroid/ios/BabylonNativeInterop.mm index f2b11e770..2ba27605a 100644 --- a/Modules/@babylonjs/react-native-iosandroid/ios/BabylonNativeInterop.mm +++ b/Modules/@babylonjs/react-native-iosandroid/ios/BabylonNativeInterop.mm @@ -1,5 +1,5 @@ #import "BabylonNativeInterop.h" -#import "../../react-native/shared/BabylonNative.h" +#import "BabylonNative.h" #import #import diff --git a/Modules/@babylonjs/react-native-iosandroid/react-native-babylon.podspec b/Modules/@babylonjs/react-native-iosandroid/react-native-babylon.podspec index 547316c6d..5f909b3a0 100644 --- a/Modules/@babylonjs/react-native-iosandroid/react-native-babylon.podspec +++ b/Modules/@babylonjs/react-native-iosandroid/react-native-babylon.podspec @@ -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', diff --git a/Package/BaseKit/react-native-babylon.podspec b/Package/BaseKit/react-native-babylon.podspec index c9812e447..9d2a4d35d 100644 --- a/Package/BaseKit/react-native-babylon.podspec +++ b/Package/BaseKit/react-native-babylon.podspec @@ -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', diff --git a/Package/react-native-babylon.podspec b/Package/react-native-babylon.podspec index 85bc39b49..b9cbe8346 100644 --- a/Package/react-native-babylon.podspec +++ b/Package/react-native-babylon.podspec @@ -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'