We made some structural changes to ExpoKit for iOS starting in SDK 17. They will help make future ExpoKit upgrades easier, but just this one time, there is some extra effort if you already have an ExpoKit project running on an earlier version.
(If you are about to detach a new project to ExpoKit, you don’t need to read this! This is for people who already have an ExpoKit project running an older version, and want to update it.)
- Delete
.expo-source/ios
completely. - In your
Podfile
, change theExpoKit
dependency to look like this:
pod 'ExpoKit',
:git => "http://github.com/expo/expo.git",
:tag => "ios/1.16.1",
:subspecs => [
"Core",
"CPP"
]
You can see the list of ExpoKit releases here.
3. Open ios/your-project/Supporting/EXSDKVersions.plist
in your project and change all the values to 17.0.0
.
4. For your JS dependencies, follow the normal SDK 17 upgrade instructions.
5. pod install
In the future, upgrading ExpoKit will just be a matter of changing the :tag
in your Podfile
. There may also be version-specific breaking changes. You can see a simpler version of these instructions here.