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
相关问题
- React Native Inline style for multiple Text in sin
- Xcode debugger displays incorrect values for varia
- Image loads in simulator but not device?
- How Do I Convert Image URI into Byte Expo
- importing files from other directories in xcode
相关文章
- xcode 4 garbage collection removed?
- Why do we have to call `.done()` at the end of a p
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
- Popover segue to static cell UITableView causes co
- “Storyboard.storyboard” could not be opened
- Remove expo from react native
- didBeginContact:(SKPhysicsContact *)contact not in
If you want to download new project without expo then try run:
or , If you want to convert your own project without expo then try :
(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)
So with ejecting, you should have been presented with two options:
If you chose the first (
React Native
), then there should have been no issues with opening up your Xcode project and running the app (there would also be no pods to install). Since your error and comment indicates otherwise, I can presume that you chose option 2:Expokit
.For that, you should have been prompted with something about making an Expo account or using an existing one:
After that, you'll need to follow the steps in Developing With ExpoKit. Specifically to get iOS running, you need follow all of the steps in this section after running
npm run eject
.If you've done all of that, then it should work fine when running in conjunction with Expo XDE or
exp
. I've just tested both right now and it works without error. Double check your steps to make sure you didn't miss something. Otherwise, please edit your question with more details on exactly what commands you ran, what other dependencies you have, etc. as I'm unable to reproduce the error you have.