The executable was signed with invalid entitlements (iPhone build)

前端 未结 2 1775
耶瑟儿~
耶瑟儿~ 2021-01-19 01:46

Ok I\'m no rookie to this stuff. I know what I\'m doing, so please dont take me through the basics. I updated Xcode to the newest version the other day, and now every new pr

相关标签:
2条回答
  • 2021-01-19 02:10

    In my case I had "code signing" line in my targets and project build settings. Despite it was empty it was still giving me this error, until I deleted it completely in targets and partially in project. So that is what I did:

    In Xcode 4.2 I went to my PROJECT\Build Settings found that line "code signing", clicked on it and in Entitlements deleted all lines (they were empty but still there!), so Entitlements disappeared.

    I put in "code signing identity":don't code sign

    "debug":don't code sign

    "Any iOS SDK": choose your provisions here, I used automatic, worked fine

    "release":don't code sign

    "Any iOS SDK": same as above

    Then I went to TARGETS\Build Settings, found the line "code signing" and deleted everything under it so it disappeared from targets.

    Now I could build onto the device, not only in simulator. Hope it helps somebody. B

    0 讨论(0)
  • 2021-01-19 02:15

    This is just a shot in the dark, but maybe try deleting all of your provisioning profiles from Xcode and all of your devices, then download them again from the provisioning portal and reinstall them on everything? I ended up doing that anyway when I upgraded.

    0 讨论(0)
提交回复
热议问题