hanzichi
hanzichi

Reputation: 659

how to get a `.ipa` file from create-react-native-app?

I use create-react-native-app, and I wonder how I can get a .ipa file to run in my iPhone from it? I see the command npm run eject, but I do not know what to do next. And for some reason, I cannot use exp in the command line.

Is there a detail instructions to solve my problem? thanks

Upvotes: 0

Views: 976

Answers (2)

MD Aslam Ansari
MD Aslam Ansari

Reputation: 1565

npm run eject will not create a IPA file for you. It will just create project files for iOS and Android which you can run on their respective IDE's. i.e Xcode and Android Studio.

Here is a good document which you can use to build iOS without ejecting it : https://docs.expo.io/versions/latest/guides/building-standalone-apps.html

If you choose to eject then, open Xcode project from the iOS folder -> change the bundle id. and follow along this https://wiki.genexus.com/commwiki/servlet/wiki?34616,HowTo%3A+Create+an+.ipa+file+from+XCode,

Upvotes: 3

parohy
parohy

Reputation: 2180

I xcode:

  1. Change scheme destination to generic ios device
  2. Go to Product - Archive
  3. Go to Window - Organizer
  4. Select the archive you want, click export

There you should be able to choose method and destination.

Upvotes: 0

Related Questions