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

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