iOS打包是一件非常重要和正常的事情,打包過程中中避免不了,出現各種錯誤,下面就記錄一下
1:企業級打包報錯 wildcard app ids cannot be used to create in house provisioning profiles. please use anexplicit App id;
(通配符 app bundle id 不能 适用于 in hourse 類型的provision profiels, 請檢查用一個明确的存在的appid)
![](https://img.laitimes.com/img/_0nNw4CM6IyYiwiM6ICdiwiIyVGduV2QvwVe0lmdhJ3ZvwFM38CXlZHbvN3cpR2Lc1TPB10QGtWUCpEMJ9CXsxWam9CXwADNvwVZ6l2c052bm9CXUJDT1wkNhVzLcRnbvZ2LcZXUYpVd1kmYr50MZV3YyI2cKJDT29GRjBjUIF2LcRHelR3LcJzLctmch1mclRXY39DO3kTN0kzMyEjMyETM1EDMy8CX0Vmbu4GZzNmLn9Gbi1yZtl2Lc9CX6MHc0RHaiojIsJye.jpg)
原因分析:
都是in hourse profiles 出現的問題,可能原因
[企業級打包隻需要釋出證書,注意打包的時候選擇那個賬号,那個bundleid, 設定codingsign,旋轉打包類型, 選擇Teamid]
(1)in hourse profiles 的bundle id 在 蘋果開發者平台不存在,請檢查
(2)in hourse profiles 企業級打包,打包的證書不存在或者被撤銷 了
(3) in hourse profiles 沒有下載下傳到本地
(4) 以上都沒問題了,重新Product-->Archive
2:
結果是dev證書被撤銷了
3:
4:
5:打包支援的最大版本設定有兩個地方
一個是Project--->Info--->iOS Depolyment Target 這個是 項目編譯支援的最低版本
一個Targets-->Geneal--Deployment Tagret 這個是裝置的最大版本,上面的可以不設定,這個必須要設定;
6:
報錯:failed to get the task for process XXX(解決方案)
證書問題:
7:There was an internal API error.的解決辦法
見
8:iOS下dyld: Library not loaded: 錯誤資訊解決方案Reason:image not found
見
9:上傳App Store 報錯 :-22421
解決辦法:導成 ipa 用application loader 上傳;
10:Archive Upload completed with warnings
其實已經 上傳成功到itunes 了, 已經成功了;切記;
如果,已經上傳成功,繼續上傳的話,就會報上面的錯誤; 警告不影響上傳;