I've built an app (first time) with expo and want to test it out using internal distribution. After running
eas build --platform ios --profile preview
I got this error in the build logs
'folly/experimental/coro/Coroutine.h' file not found
Going off the solutions from that thread I ran expo prebuild
and modified the /ios/Podfile
Then running eas build --platform ios --profile preview
again resulted in
errors in your Xcode build logs:
- use of undeclared identifier 'RCTAppSetupDefaultJsExecutorFactory'
- use of undeclared identifier 'RCTAppSetupDefaultModuleFromClass'
- use of undeclared identifier 'RCTLegacyInteropComponents'
I don't understand these errors. Based on what I've read I tried running pod install
but I'm getting this error when I do
[!] Invalid `Podfile` file: No such file or directory - xcodebuild. # from /home/keisler/bingo/frontend/ios/Podfile:39
# -------------------------------------------
> use_react_native!(
# :path => config[:reactNativePath],
# -------------------------------------------
I've tried a few solutions including creating a react-native.config.js file to fix it but with no luck so now I'm thinking I'd need to install xcode...
Am I on the right path? It's starting to feel a bit of an overkill and installing xcode looks like I'll be moving away from the expo ecosystem. If anyone has any insight into the original Podfile solution or what the undeclared identifier errors mean that would be great! Cheers
I've built an app (first time) with expo and want to test it out using internal distribution. After running
eas build --platform ios --profile preview
I got this error in the build logs
'folly/experimental/coro/Coroutine.h' file not found
https://github/facebook/folly/issues/2297
Going off the solutions from that thread I ran expo prebuild
and modified the /ios/Podfile
Then running eas build --platform ios --profile preview
again resulted in
errors in your Xcode build logs:
- use of undeclared identifier 'RCTAppSetupDefaultJsExecutorFactory'
- use of undeclared identifier 'RCTAppSetupDefaultModuleFromClass'
- use of undeclared identifier 'RCTLegacyInteropComponents'
I don't understand these errors. Based on what I've read I tried running pod install
but I'm getting this error when I do
[!] Invalid `Podfile` file: No such file or directory - xcodebuild. # from /home/keisler/bingo/frontend/ios/Podfile:39
# -------------------------------------------
> use_react_native!(
# :path => config[:reactNativePath],
# -------------------------------------------
I've tried a few solutions including creating a react-native.config.js file to fix it but with no luck so now I'm thinking I'd need to install xcode...
Am I on the right path? It's starting to feel a bit of an overkill and installing xcode looks like I'll be moving away from the expo ecosystem. If anyone has any insight into the original Podfile solution or what the undeclared identifier errors mean that would be great! Cheers
Share Improve this question asked Mar 20 at 15:27 keisler-aukeisler-au 11 bronze badge1 Answer
Reset to default 0Running expo prebuild
and then editing the podfile with the coroutine fix as described in this thread solved the initial bug:
https://github/facebook/folly/issues/2297
The proceeding 'undeclared identifier' errors were originating from the react-native-navigation library. As this package isn't completely necessary for my project I have just removed it.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744399792a4572328.html
评论列表(0条)