The executable was signed with invalid entitlements

前端 未结 19 2715
花落未央
花落未央 2020-11-28 04:09

I am having a problem with ad-hoc distribution on my iPhone. I have developed an application with SDK 3.0. I have a developer\'s license. I have added certificates and provi

19条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 04:23

    I was trying to add iCloud support to my existing app, but found that after adding entitlements and configuring iCloud, my app would no longer debug.

    I realised that my generic iOS development certificate had a different APPID from the app I was working on. So to fix it, instead of using my generic certificate I created a specific development certificate for that APPID.

    I refreshed my provisioning profile in XCode, cleaned out the app, disconnected my device, restarted XCOde and connected device and ran, and it now works a treat!

提交回复
热议问题