ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle xxx [Payload/xxx.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
最近開(kāi)發(fā)好項(xiàng)目之后 把包導(dǎo)出來(lái)之后 莫名其妙的遇上上面這個(gè)錯(cuò)誤 翻譯就是 錯(cuò)誤ITMS-90161:“設(shè)置配置文件無(wú)效
這個(gè)可能就是我們多次下載同一個(gè)bundle ID的provisioning?配置文件 導(dǎo)致簽名的時(shí)候Xcode出問(wèn)題了
暴力的解決問(wèn)題就是打開(kāi) Finder? ? 同時(shí)按Shift+command+g 鍵? 輸入:
~/資源庫(kù)/MobileDevice/Provisioning Profiles/
清除最近使用的配置文件 然后在項(xiàng)目中重新引入配置文件? ?重新簽名打包即可解決?


也有可能是配置文件失效的 需要重新去蘋(píng)果的開(kāi)發(fā)者后臺(tái)重新創(chuàng)建和下載