Trying to migrate a detached expokit app in sdk33. I followed the process described here.
pod install worked fine, but when I run react-native run ios, after a bunch of compilation lines, it stops with the following error :
info
CompileC /xxx/ios/build/sharesapp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EXFacebook.build/Objects-normal/x86_64/EXFacebook.o /xxx/node_modules/expo-facebook/ios/EXFacebook/EXFacebook.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target: EXFacebook)
cd /xxx/ios/Pods
export LANG=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu11 -fobjc-arc -fmodules -fmodules-cache-path=/xxx/ios/build/sharesapp/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/xxx/ios/build/sharesapp/ModuleCache.noindex/Session.modulevalidation /..../ -o /xxx/ios/build/sharesapp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EXFacebook.build/Objects-normal/x86_64/EXFacebook.o
In file included from /xxx/node_modules/expo-facebook/ios/EXFacebook/EXFacebook.m:9:
/xxx/ios/Pods/Headers/Private/../Private/FBSDKCoreKit/FBSDKInternalUtility.h:22:9: fatal error: '../Basics/Internal/FBSDKBasicUtility+Internal.h' file not found
#import "../Basics/Internal/FBSDKBasicUtility+Internal.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
WriteAuxiliaryFile /xxx/ios/build/sharesapp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EXFacebook.build/Objects-normal/x86_64/EXFacebook.LinkFileList (in target: EXFacebook)
cd /xxx/ios/Pods
write-file /xxx/ios/build/sharesapp/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EXFacebook.build/Objects-normal/x86_64/EXFacebook.LinkFileList
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening sharesapp.xcworkspace
Building with XCode, I can see that the path is incorrect, there is no “/Internal”.
#import "../Basics/FBSDKBasicUtility+Internal.h