iosxcodecode-signingprovisioning-profile

The executable gets signed with invalid entitlements in Xcode


I got this error with Xcode when I try to run the app on my device.

The executable was signed with invalid entitlement

It worked fine with old Xcode Anyone knows how to get rid of the error?

enter image description here


Solution

  • I found out the problem. The app I created on developer.apple.com does not include inter-app-audio. The project entitlements plist file on Xcode has inter-app-audio set to YES (by default). Once I changed the setting on my app configuration on developer.apple.com to enable the inter-app-audio. Then my app runs on my devices. I guess that is apple's new rule to make your app settings consistent on both developer.apple.com and your xcode project setting.