xcode 打包ipa
2017-02-28 18:55
190 查看
方法一:
1.Product -> Archive生成.xarchive文件2.使用命令,将.xarchive文件转为.ipa文件
xcodebuild -exportArchive -exportFormat ipa -archivePath {PATH}/MyApp.xcarchive -exportPath ~/Desktop/MyApp.ipa
更新
Xcode升级到8.3.3以后,去掉了exportFormat参数,增加了exportOptionsPlist参数,命令更改为
xcodebuild -exportArchive -archivePath {PATH}/MyApp.xcarchive -exportPath {PATH}/MyApp.ipa -exportOptionsPlist {PATH}/ipa.plist
其中,plist文件可参考如下方式写
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>method</key> <string>development</string> </dict> </plist>
方法二:
1.Create Xarchieve file by using Xcode, click product->archive2.first right click on xarchieve file-> show in finder
3.again right click on xarchieve file-> show package contents
4.Then open folder products->applications, here you get the your application file
5.Now, Drag and drop this one to itunes store’s app directory(find apps drop down menu at right top corner of itunes store). This will automatically converts archieve file to ipa file. (Here, you can also do this -> drag and drop .app file anywhere in itunestore, once it get processed, search it back from search box).
6.then again right click on it and ->show in finder, this will show your ipa file. Now you can give this one to any user
相关文章推荐
- xcode打包不生成ipa文件而生成文件夹 及 app文件转成ipa
- Xcode如何打包ipa安装包
- Xcode 6 打包ipa文件
- XCode 8.3.1 打包ipa 解决不能收到推送消息问题
- Xcode如何打包ipa安装包
- iOS证书过期后,xcode打包ipa闪退。使用控制台方式来打包
- 怎么打包为ipa格式的软件包以及怎么安装到手机终端上。 (我的开发环境为Xcode6.1.1 )
- xcode打包ipa
- xcode打包不生成ipa文件而生成文件夹 及 app文件转成ipa
- xcode真机调试成功,但是打包ipa出错
- Xcode 无证书打包ipa
- xcode 中生成和打包 ipa文件的方法和步骤
- Xcode如何打包ipa安装包
- Xcode打包ipa项目,上架iTunesConnect总结
- Xcode 6 打包ipa文件
- ios--使用xcode+itunes打包成ipa
- Xcode打包ipa的基本步骤
- xcode打包不生成ipa文件而生成文件夹 及 app文件转成ipa
- xcode打包不生成ipa文件而生成文件夹 及 app文件转成ipa
- Xcode打包生成ipa四个选项的具体区别