The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016).

xcode7.3。

證書 ,provisions file 都正確,網(wǎng)上找了各種方法,無(wú)法解決。

build ?,clean ,重啟, 刪除derived data ,都不行,顯示參考了stack overflow一篇文章,大概看了,

各種錯(cuò)誤都有,大概有4種。

1. provisions file 與 capability不匹配

2 provision file 不匹配?

3. debug release選錯(cuò)

4. 設(shè)備uuid未加入provisions file?

解決不了,該如何????

網(wǎng)上說(shuō)的原因應(yīng)該都能出這個(gè)問(wèn)題,折騰一晚上沒(méi)搞定,最后發(fā)現(xiàn)我的問(wèn)題是

info.plist -->Bundle identifier 中的名字 與 ?target-->build settings -->packaging-->Product bundle identifier 中的

名字不匹配。

把這2處地方改為一直就解決了這個(gè)問(wèn)題。

參考:

1.? http://stackoverflow.com/questions/5240801/the-entitlements-specified-profile-0xe8008016-error-ios-4-2?page=2&tab=votes#tab-top

2. http://stackoverflow.com/questions/19581225/the-executable-gets-signed-with-invalid-entitlements-in-xcode

3. http://www.karlmonaghan.com/2011/07/08/the-executable-was-signed-with-invalid-entitlements-0xe8008016/

4. https://developer.apple.com/library/ios/technotes/tn2415/_index.html

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容