Ios – Submitting iOS app to app store application identifier invalid

iosxcodexcode5

I'm using xcode 5 and I guess I'm missing where to change the bundle identifier.

When I try to validate my app for submission to the app store, I get two errors….

Invalid code signing entitlements. Your application bundle's signature
contains code signing entitlements that are not supported on iOS.
Speicifically value 'K8TE8KDZ95.com.iclinical.child' for key
'application-identifier' in 'Payload/iResus.app/iResus' is not
supported. This value should be a string starting with your TEAMID,
followed by a dot '.' followed by the bundle identifier

and

The executable at Payload/iResus.app/iResus in Payload/iResus.app has
been signed with identifier 'com.iclinical.child' which does not match
the bundle identifier 'com.iclinical.childresus

I'm not sure where I should be changing this. The bundle identifier in the target is com.iclinical.child but clearly I need to change it somewhere else too….

Hope you can help.

Best Answer

I just had both these error messages and here is how I fixed it:

  1. Went into iTunes Connect > viewed my app (under manage apps) and copied the 'Bundle ID'
  2. Went into xcode and pasted the 'Bundle ID' into the info.plist 'Bundle identifier' field
  3. Restarted xcode
  4. Xcode > Window > Organizer > Projects > 'Delete' derived data file for project
  5. Xcode > Product > Alt + Clean (to Clean Build folder)

I then tried resubmitting and it all went through correctly. I am 95% sure my Bundle ID was correct to begin with so it might have been something in steps 2 to 5 that fixed this.

Anyways hope this helps someone else.