2014-10-08 82 views
2

我已經運行在iPhone上是好的,但我嘗試構建它並上傳,它得到此錯誤,我該如何解決它,謝謝!供應配置文件不匹配包標識符

Code Sign error: Provisioning profile does not match bundle identifier: The provisioning profile specified in your build settings (「PicKey Distribution」) has an AppID of 「com.KKApps.PicKey」 which does not match your bundle identifier 「com.KKApps.PicKey.MyKeyBoard」.

協同設計錯誤:代碼簽名在SDK的iOS 8.0「

+0

你解決了你的問題嗎? – Niko 2015-07-07 13:05:33

回答

0

在創作上的開發者置備配置文件的門戶網站,你所提供的應用程序ID com.KKApps.PicKey

需要的產品類型「應用程序擴展」

捆綁軟件標識具有後要嚴格等同於你的供應配置文件中提供的一個,沒有增加像.MyKeyBoard

兩個soluti附件爲您

1.在你的情況,有一個明確的應用程序ID:您更改您的應用程序包標識符com.KKApps.PicKey相匹配的供應曲線的App ID

2.使用您創建新的應用程序ID com.KKApps.PicKey.*並更改供應配置文件以鏈接到它(或創建一個新的)。 *爲通配符允許匹配多個應用

有了解決方案2,您將能夠創建具有捆綁標識符的應用程序開始com.KKApps.PicKey.

對於爲例com.KKApps.PicKey.MyKeyBoard,或com.KKApps.PicKey.MySuperApplication

蘋果公司的解釋爲APP的ID

Explicit App ID (Example: com.domainname.appname)

If you plan to incorporate app services such as Game Center, In-App Purchase, Data Protection, and iCloud, or want a provisioning profile unique to a single app, you must register an explicit App ID for your app.

To create an explicit App ID, enter a unique string in the Bundle ID field. This string should match the Bundle ID of your app.

Wildcard App ID (Example: com.domainname.*)

This allows you to use a single App ID to match multiple apps. To create a wildcard App ID, enter an asterisk (*) as the last digit in the Bundle ID field.

0

更改Watchkit應用程序的包標識符到您的應用程序的包標識,還修改y我們的watchkit擴展的Bundle標識符到您的應用標識符。

同時檢查您的主應用程序和watchkit的版本,watchkit擴展的版本,兩個版本應該是相同的。

更多請看蘋果文檔 https://developer.apple.com/library/ios/technotes/tn2410/_index.html

希望這將幫助!

相關問題