ios - What do these 'undeclared identifier' errors mean from failed eas build logs? - Stack Overflow

I've built an app (first time) with expo and want to test it out using internal distribution. Afte

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 badge
Add a comment  | 

1 Answer 1

Reset to default 0

Running 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条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信