Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
972 views
in Technique[技术] by (71.8m points)

cordova - How to generate an iOS IPA file with Ionic Framework?

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 not generated with that build command. So, how can I generate it?

Thanks

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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

  1. Navigate to app folder

OS X terminal with list command

  1. Run cordova build command

OS X terminal running ionic build command

  1. Open the Xcode Project

OS X Finder with project location

  1. Clean the project

XCode Product -> Clean menu

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

Xcode Target device selected

  1. Archive the project

Xcode Project -> Archive menu

  1. Distribute the project

XCode Organizer

  1. Choose a method for distribution

Selecting method for distribution

  1. Choose a Profile

Choosing a profile

  1. Select a location to save the .ipa file

Saving IPA file to Desktop folder

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...