After agreeing to the "Upgrade to recommended settings" dialog in Xcode 7, my app build but no longer runs on the simulator. The simulator launches properly, but just sits on the home screen. Meanwhile, Xcode displays the error:
Installation Failed
Invalid Argument
This happens because "Upgrade to recommended settings" will change the info.plist's CFBundleIdentifier
to point to $(PRODUCT_BUNDLE_IDENTIFIER)
instead of the old $(BUNDLE_IDENTIFIER)
.
Apple says in the Xcode 7 release notes that PRODUCT_BUNDLE_IDENTIFIER
is now "the recommended place to set the Bundle Identifier for a target." So if you're using BUNDLE_IDENTIFIER
anyplace else in your project, you have to change it to PRODUCT_BUNDLE_IDENTIFIER
to keep things in sync.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With