8

Initially my app's bundle identifier was the default

MyCompany.${PRODUCT_NAME:rfc1034identifier}

This wasn't matching the app ID I created on the Developer Connection (a space in the product name was being turned into a hyphen) so I hard-coded the bundle identifier in MyApp-Info.plist to be

com.MyCompany.MyApp

However, when I log [NSBundle mainBundle] bundleIdentifier] it's still returning the old identifier. Cleaning the targets did not help. Can anyone think of where this is coming from, if not Info.plist?

serverpunk
  • 10,665
  • 15
  • 61
  • 95

1 Answers1

8

It looks like Info.plist was cached. This post had a great solution which updates the timestamp:

$ touch Info.plist
Community
  • 1
  • 1
serverpunk
  • 10,665
  • 15
  • 61
  • 95