Comments (3)
The way I understand it is that deploymentTarget is effectively the minimum SDK version you plan on supporting. On the other hand, the build SDK is determined by which version of Xcode the app is built with.
At the end of the day, you need to build with SDK17+ (which is Xcode 15.0+) but that SDK17 supports versions further back than 17. I believe RN/expo set a deploymentTarget of 13.4 as default so building with SDK17 should work all the way back to SDK13.
If you are using EAS Build to build your project, check which version of Xcode is being used. I recently upgraded a project from Expo SDK49 to Expo SDK50 and with Expo SDK49 my last build was using Xcode 14.3.1 and after upgrading to Expo SDK50 it is now using Xcode 15.2. I am not sure if there is an option somewhere to set the Xcode version? It seems tied to the Expo SDK version by default but it might be configurable somewhere.
If Xcode 15.3 is giving you the error, go to settings - locations and see which version of Xcode command line tools is being used, it should also be set to 15.3 (I guess this is actually what determines the build SDK version when building from the command line).
edit
It seems like these are the option for a build environment https://docs.expo.dev/build-reference/infrastructure/ and you would set it in app.json using something like this with the image being whatever image you want to use from the above infrastructure page.
{
"build": {
"production": {
"ios": {
"image": "macos-ventura-13.6-xcode-15.1"
}
}
}
from expo.
I was wondering this too. I'm not sure that the "deploymentTarget" is the same as the iOS SDK version. I have my deploymentTaget in the expo-build-properties set to 13.4, and Apple emails me telling me that our app is build with SDK version 16.4.
So we need to change the SDK version to 17.0 as per Apple, but per the expo-build-properties docs here, there doesn't seem to be an option for SDK in the Apple settings...
from expo.
hi there! the deployment target means the minimal supported ios version for people to install your app. that is not the same as ios sdk version for building the source code. for ios sdk version, it is related to xcode version. according to the xcode doc the minimal xcode version to support ios sdk 17 is xcode 15.0.
as @gorbypark shared, please choose an eas image that at least with xcode 15, e.g. macos-ventura-13.6-xcode-15.0
.
from expo.
Related Issues (20)
- Expo-dev-client since Expo 50 adds unnessary full reloads HOT 1
- Expo-dev-client since Expo 50 adds unnessary full reloads HOT 2
- expo-calendar crashes on iOS 15.6.1
- Working with monorepos, using local modules, and using 'eas build' leads to a 'Not found' error. HOT 3
- SDK 51: Platform specific extensions not working on layout files HOT 2
- FontAwesome5 does not import properly with SDK 51 HOT 10
- Expo-Speech @ 51 fails on web with error: _ExponentSpeech.default.listenerCount is not a function HOT 1
- Export Web: ReferenceError: Request is not defined HOT 2
- expo-doctor using a pre-release version of `react-native-svg` causing strict peer dependencies to fail HOT 1
- [android] BUILD FAILED HOT 1
- [expo-av] SDK 51: Sound.setOnPlaybackStatusUpdate() callback not called at regular inteval HOT 2
- ITMS-90013: Corrupt Image File - The image file '[email protected]' appears to be corrupt. HOT 24
- Error: Cannot find module '@expo/server/build/vendor/http' after upgrading from v49.0.3 to v51.0.0 HOT 1
- Expo Go SDK 51 crash on shake or three finger gesture for dev menu HOT 1
- [sdk 51] react-native-maps: AirGoogleMaps dir must be added to your xCode project to support GoogleMaps on iOS. HOT 8
- RN 0.74.1 Android crashes on new arch without bridgeless mode HOT 3
- Is it possible to create a native module with Java instead of Kotlin? HOT 1
- [docs] Is it possible to create a native module with Java instead of Kotlin? HOT 2
- Upgrading to SDK 51 - unable to resolve "expo-file-syste" HOT 1
- [sdk 51] useFonts is not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from expo.