真机器上部署测试,在点击Build And Run后,提示The executable was signed with invalid entitlements.(The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile.)
有几种情况和解决办法
1.provisioning profile和当前的签名证书不匹配 简单调试下就OK
2.Project - TARGETS - 项目目标名称 - Build Settings - Code Signing Entitlements 将其值置为空, 在跑一下。
网友评论