How to upload IPA file to new testflight?
React Native Case Using Expo:
In Xcode 11 you'll need to upload
the IPA file
using command line
:
$ xcrun altool --upload-app --type ios --file <IPA_FILE_THAT_YOU_HAVE_UPLOAD_FROM_EXPO_BUILD> --username "YOUR_APPLE_ID_USER" --password "YOUR_ITMC_PASSWORD"
Example:
$ xcrun altool --upload-app --type ios --file demo-app-1d7ce261-c1ef-47e2-8925-02828bb73418-archive.ipa --username "[email protected]" --password "tcxp-wwzq-ujse-decv"
NOTE:
The
YOUR_APPLE_ID_USER
, usually, is your iCloud email that you use to log in your Apple-Developer-Account.The
YOUR_ITMC_PASSWORD
isNOT
thepassword
of your iCloud account. You have to generate it at https://appleid.apple.com/account/manage page:
1.) In Xcode Product -> Archive and then submit to itunesconnect. (as if you submit it for a new release)
2.) yes, no problem. All new uploaded builds are "prerelease". When you'd like to submit it to the AppStore you choose one of the prerelease-builds.
3.) no, I keep the same version number for all new builds but I increase the build number (you can do that automatically by adding a new run script build phase:
buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${PROJECT_DIR}/${INFOPLIST_FILE}")
buildNumber=$(($buildNumber + 1))
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "${PROJECT_DIR}/${INFOPLIST_FILE}"
)
4.) yes, just increase the version number to 1.1 and upload it with the same bundle identifier.
Edit: Screenshot
React Native Case Using Expo:
In Xcode 9.3 go to:
Xcode > Open Developer Tool > Application Loader
Log in with your AppleID.*
Now you can import and upload your .ipa file to iTunesConnect.*
Keywords: react-native, expo, .ipa, testFlight, Apple Store, Standalone, iOS