ERROR ITMS-90075: The application-identifier entitlement is missing

I am trying to submit an Xcode archive to the App Store ... I am using Xcode8. When I try to upload the archive, I get this error from the system:


ERROR ITMS-90075: "This bundle is invalid. The application-identifier entitlement is missing; it should contain your 10-character Apple Developer ID, followed by a dot, followed by your bundle identifier."


I am submitting an iPhone app with a WatchOS2 app and WatchOS2Extension. In all three cases, I've check the mobileprovisioning profiles inside the archive that is created, and all three of them seem to contain the application-identifier just fine:



<key>application-identifier</key>

<string>ET9QYDEGT6.com.zsquare.myapp</string>



<key>application-identifier</key>

<string>BJ97GLR9R3.com.zsquare.myapp.watchkitapp</string>


<key>application-identifier</key>

<string>BJ97GLR9R3.com.zsquare.ijournal.myapp.watchkitextension</string>


I also have 2 other targets in the archive ... they're both framework files and they don't have any provisioning profiles set against them.



Any idea what might be going on, and what to check? The Xcode archives "Upload to App Store" window doesn't have any useful information. Also, I'm using "Automatically manage signing" checkbox in Xcode8.


Thanks

The first 10-character Apple Developer ID you show is different than the other two. I'd guess you have to make sure you set the same developer in all 3 cases.

Thanks. Turns out, I had created a new framework to pass data between the WatchOS2 app and extension, and that framework has the Code Signing Entitlement set, even though it shouldn't be signed. Removed the entitlement from Build Settings and uploaded again, and it worked. That said, the error message from Xcode was very unhelpful.

ERROR ITMS-90075: The application-identifier entitlement is missing
 
 
Q