今天給打包 TPshop IOS (搜豹商城) ipa文件 調試運行 xcode運行提示這個錯誤:
The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016)
證書 ,provisions file 都正確,網上找了各種方法,無法解決。
build ,clean ,重啟, 刪除derived data ,都不行,重新生成簽名簽名該問題始終存在. 折騰半天, 結果重啟xocde正常. 真坑!!!
以上無法解決問題請參考以下解決辦法:
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
