I\'ve successfully built the iOS app with the ionic build ios
command. But now I want to use TestFlight and it asks me for an IPA file. It seems that file is no
this article is kind of old but should help you.
In Command line change into the folder that contains your *.xcodeproj, and run the following:
xcodebuild -target "My Target" -scheme "My Scheme"
-configuration Release clean archive
Now you’ve got your xcarchive , Following line will generate ipa which you can upload to TestFlight.
cd platforms/ios/build/device/usr/bin/xcrun -sdk iphoneos PackageApplication "$(pwd)/$PROJECT_NAME.app" -o "$(pwd)/$PROJECT_NAME.ipa"
Hope this helps