错误:The executable was signed with invalid entitlements
2016-11-25 02:12
393 查看
错误
release模式下真机调试报错, debug模式下正常. 报错如下:The executable was signed with invalid entitlements.
The entitlements specified in your application’s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016).
原因
错误提示的entitlements中只包含了远程推送的development环境的设置. 所以与capability中的设置有关. 网络上查找解决方案, 尝试过删除Build Setting -> Signing -> Code Signing Entitlements 选项, 尝试过修改各种provisioning file和各种distribution环境下匹配的方法, 但无法得到解决. 最后在stackoverflow上找到了解决方案: The executable gets signed with invalid entitlements in Xcode总结
1.provisioning file 不匹配 ,(1) provisioning file 中的 device未包含当前设备
(2) provisioning file 与 capability中的功能不匹配
2.项目的project中或者target中的Code Signing中, 在当前模式下(debug/release)下的匹配错误
3.release模式下, 当前项目的app id中没有包含inter-app-audio功能, 通过苹果开发者官网将当前项目的app id的inter-app-audio功能开启, 更新provisioning file. capability中的inter-app-audio功能开启与否没关系. clean下工程, 然后就可以在release模式下真机运行了.
相关问题解决方案:
1.IOS错误之—-”A valid provisioning profile for this executable was not found“解决方案
2.The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016).
相关文章推荐
- 错误:The executable was signed with invalid entitlements.
- iphone开发,真机调试报The executable was signed with invalid entitlements.错误
- 错误:The executable was signed with invalid entitlements
- 真机测试时出现The executable was signed with invalid entitlements.错误,解决办法
- 错误:The executable was signed with invalid entitlements.
- Xcode7 真机调试出现错误:The executable was signed with invalid entitlements.(The entitlements specified in y
- 真机调试报The executable was signed with invalid entitlements.错误
- XCode真机测试发布时产生The executable was signed with invalid entitlements.解决办法
- ios:The executable was signed with invalid entitlements新设备run出现这个问题
- The executable was signed with invalid entitlements
- XCode真机测试发布时产生The executable was signed with invalid entitlements.解决办法
- The executable was signed with invalid entitlements的问题解决
- XCode真机测试发布时产生The executable was signed with invalid entitlements.解决办法
- The executable was signed with invalid entitlements新设备run出现这个问题
- ios:The executable was signed with invalid entitlements新设备run出现此问题
- The executable was signed with invalid entitlements
- ios:The executable was signed with invalid entitlements新设备run出现这个问题
- ios 真机测试遇到The executable was signed with invalid entitlements的问题
- 真机测试 The executable was signed with invalid entitlements.
- XCode 真机测试发布时产生The executable was signed with invalid entitlements.解决办法之一