Our team has been working in a CRNA app for a while, and recently we’ve had to eject.
PLEASE NOTE: I come from almost exclusively native iOS development, so perhaps something obvious might have escaped me. I have next to no knowledge about node dependencies, node_modules, etc.
The sequence I’ve followed to eject is:
npm run eject
yarn global add react-native-cli
yarn global add expo-cli
react-native-git-upgrade
npm info react-native
yarn add react@16.5.0
yarn add react-native@0.57.0
react-native-git-upgrade
pod install --repo-update
I was able to update to react native 0.57.0 and react 16.5.0 successfully. The pods update successfully when referencing the ExpoKit repo tagged ios/2.5.10
. It’s only when I try to update to a more recent version (such as ios/2.8.2), that I get an error.
Podfile pod specs below:
pod 'ExpoKit',
:git => "http://github.com/expo/expo.git",
:tag => "ios/2.8.2",
:subspecs => [
"Core",
"CPP",
"GL"
]
pod 'React',
:path => "../node_modules/react-native",
:subspecs => [
"Core",
"ART",
"RCTActionSheet",
"RCTAnimation",
"RCTCameraRoll",
"RCTGeolocation",
"RCTImage",
"RCTNetwork",
"RCTText",
"RCTVibration",
"RCTWebSocket",
"DevSupport",
"CxxBridge"
]
pod 'yoga',
:path => "../node_modules/react-native/ReactCommon/yoga"
pod 'DoubleConversion',
:podspec => "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec",
:inhibit_warnings => true
pod 'Folly',
:podspec => "../node_modules/react-native/third-party-podspecs/Folly.podspec",
:inhibit_warnings => true
pod 'glog',
:podspec => "../node_modules/react-native/third-party-podspecs/glog.podspec",
:inhibit_warnings => true
The error outputted is:
CocoaPods could not find compatible versions for pod "ExpoKit/GL":
In Podfile:
ExpoKit/GL (from `http://github.com/expo/expo.git`, tag `ios/2.8.0`)
None of your spec sources contain a spec satisfying the dependency: `ExpoKit/GL (from `http://github.com/expo/expo.git`, tag `ios/2.8.0`)`.