How to generate an iOS IPA file with Ionic Framework?

99封情书 提交于 2019-11-27 17:43:12
Roshan Bharti

You can easily build IPA from ionic framework. by following these steps

  1. Navigate to app folder

  1. Run cordova build command

  1. Open the Xcode Project

  1. Clean the project

  1. Select iOS mobile device to build for, don't use iOS emulator as device otherwise the archive is disabled.

  1. Archive the project

  1. Distribute the project

  1. Choose a method for distribution

  1. Choose a Profile

  1. Select a location to save the .ipa file

I have generate my .ipa file by using these steps hope it will works for your's.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!