How to generate an iOS IPA file with Ionic Framework?

前端 未结 4 855
我寻月下人不归
我寻月下人不归 2020-12-04 14:28

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

4条回答
  •  有刺的猬
    2020-12-04 15:08

    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

提交回复
热议问题