I eject project from expo with command npm run eject
. It generates 2 folders ios
and android
. I tried to run the project by xcode
but it still display this error. Maybe I'm not clear how to run project after eject, can you help me run it.
I run some statements to install pod
, but cannot work https://github.com/CocoaPods/CocoaPods/issues/2303
The tradeoff is that Expo Go does not allow you to add custom native code, you can only use native modules built into the Expo SDK. There are many great libraries available outside of the Expo SDK, and you may even want to build your own native library.
Go to https://expo.dev. You'll see a list of projects on the left of the page. If you don't see the one you want to delete in that short list, click on the “All projects” link below that list. You might have to go to the correct page using the “<”, “>” buttons on the bottom right.
Expo is a toolchain that allows you to quickly get a React Native app up and running without having to use native code in Xcode or Android Studio. The Expo Eject Step is necessary to eject your app to install any missing native dependencies.
If you want to download new project without expo then try run:
react-native init ProjectNameHere
or , If you want to convert your own project without expo then try :
1. rm -rf node_modules
2. remove expo dependencies from package.json
3. npm install
4. react-native upgrade
(Note:This following step will create new ios and android folder and you have to redo the dependencies. I was struggling with the same issue so I posted my solution)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With