真機器上部署測試嗅辣,在點擊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和當(dāng)前的簽名證書不匹配 簡單調(diào)試下就OK
2.Project - TARGETS - 項目目標(biāo)名稱 - Build Settings - Code Signing Entitlements 將其值置為空眉睹, 在跑一下捣域。