Search code examples
iostestflightipa

How to upload IPA file to new testflight?


I have my app first version released in app store. Currently I'm working on the second version, earlier i was used Test flight for importing IPA file for testers. But for now They are shutdown and moved into iTunes Store. So my doubts regarding new methods are:

  1. How to upload test builds (IPA)
  2. I need to import many test builds to attain stable one. Is that possible here?
    like as test flight
  3. Shall I need to change version number of test build each and every time?
  4. Since i have already released version 1, Is it possible to use same name for test build?

Solution

  • 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

    One version, multiple builds