-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
IOS Build fails for Xcode 15 #22832
Comments
Hi @GraxMonzo! Thanks for reporting this issue. Unfortunately, this is caused by an issue in React Native itself. I can see you already found the thread, just pasting it here to connect it from this end as well: facebook/react-native#37748 Once React Native |
@GraxMonzo React Native If you run into anything else, feel free to let us know! |
Hi thanks for your help, But I found the react-native version automatic changed to 0.71.8 after modify the version from
How to avoid this happening and do not need to use this argument? Is wait for the newer version of Expo@48.* ? |
Upgrading the version to 0.71.11 solved the problem for me. |
Summary
Running
npx expo run:ios
after pre-building the project with the commandnpx expo prebuild --clean
causes a build error for Xcode 15.After some research I found a similar problem here facebook/react-native#37748 and a pull request that solves this problem facebook/react-native#37758 which was released in the react-native version 0.70.10 . So I tried manually updating the react-native version in package.json to 0.70.10 and running the pre-build via
npx expo prebuild --clean --skip-dependency-update expo,react-native
to avoid downgrading package version but it didn't do anything.Build error:
What platform(s) does this occur on?
iOS
SDK Version
48.0.19
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 14.0
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.14.2 - ~/.nvm/versions/node/v18.14.2/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.14.2/bin/yarn
npm: 9.5.0 - ~/.nvm/versions/node/v18.14.2/bin/npm
Managers:
CocoaPods: 1.12.0 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0
IDEs:
Xcode: 15.0/15A5160n - /usr/bin/xcodebuild
npmPackages:
expo: ~48.0.19 => 48.0.19
react: 18.2.0 => 18.2.0
react-dom: ^18.2.0 => 18.2.0
react-native: 0.71.10 => 0.71.10
npmGlobalPackages:
eas-cli: 3.11.0
Expo Workflow: bare
Minimal reproducible example
npx expo prebuild
with Xcode 15 BetaThe text was updated successfully, but these errors were encountered: