-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Xcode project build error after eject on M1 #11942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @WhidRubeld! By setting deployment target to 11, this should be fixed already. If you run into more issues with the
If this doesn't help, let us know so we can investigate it further. |
@byCedric: The attached fixes don't work for expo for me. Specifically this step:
The following errors begin to occur on build:
https://gist.github.com/ericning00/38d86f4d95bbdd5d755af948d41d2a33 |
Build problem via UI xcode. When launched through the terminal, everything is processed correctly. |
It is not only expo-updates that conflict with this setting. In this case, you need to throw an exception for use_frameworks for conflicting pods. A kind of temporary crutch. |
This issue doesn't occur when running Xcode through Rosetta on the M1 mac, suggesting this issue is caused by the architecture. This of course slows down the build considerably. |
This is unfortunate but at least there is a workaround. I unblocked myself on this by:
|
Summary
Project launch ended with the error "Library not found for -lDoubleConversion". Assembly of ordinary RN projects is performed without errors.
Managed or bare workflow? If you have
ios/
orandroid/
directories in your project, the answer is bare!bare
What platform(s) does this occur on?
iOS
SDK Version (managed workflow only)
40
Environment
Expo CLI 4.1.6 environment info:
System:
OS: macOS 11.2
Shell: 5.8 - /bin/zsh
Binaries:
Node: 15.8.0 - ~/.nvm/versions/node/v15.8.0/bin/node
Yarn: 1.22.10 - ~/.nvm/versions/node/v15.8.0/bin/yarn
npm: 7.5.1 - ~/.nvm/versions/node/v15.8.0/bin/npm
Watchman: 4.9.0 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.10.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
API Levels: 29, 30
Build Tools: 30.0.3
System Images: android-29 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.7042882
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
npmPackages:
expo: ~40.0.0 => 40.0.1
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: ~0.63.4 => 0.63.4
react-native-web: ~0.13.12 => 0.13.18
npmGlobalPackages:
expo-cli: 4.1.6
Expo Workflow: bare
Reproducible demo or steps to reproduce from a blank project
for deploy env:
for create app:
Error log:
The text was updated successfully, but these errors were encountered: