原位址:http://zengwu3915.blog.163.com/blog/static/27834897201362831449893/
上次介紹了木有證書的打包ipa。如果安裝證書後,我們還有一種正常導出的方法。
首先要将工程編譯改成release模式。xcode菜單 product -< scheme - <
edit scheme
然後 archive destination -< ios device build
cofiguration -< release options勾選上. ok
然後 xcode菜單 product
-< archive 如果有證書的話這會兒 就會 到另一個
頁面.否則會有一個錯誤.
然後選 distribute.
它會問你釋出到那兒. 打包的話就選 第三個. export as xcode archive.
然後next. 然後選擇一個儲存位置.
然後打開 itunes .對着編譯好的 一個 .xcarchive 檔案右鍵 顯示 包内容.
在products 裡面 application 檔案夾 裡面的 app 程式.
把 裡面的 .app 拖到 itunes .
然後在 應用程式 裡面會有 一個 你的項目檔案. 直接從itunes中拖出來就可以了.