PRODUCT_BUNDLE_IDNTIFIER messes up LS?
PRODUCT_BUNDLE_IDNTIFIER messes up LS?
- Subject: PRODUCT_BUNDLE_IDNTIFIER messes up LS?
- From: Christiaan Hofman <email@hidden>
- Date: Tue, 22 Sep 2015 14:38:54 +0200
Xcode 7 wanted to upgrade to recommended settings by using the PRODUCT_BUNDLE_IDENTIFIER build setting to set the bundle ID in Info.plist, so I made that change. More precisely, the bundle identifier in Info.plist is set to “${PRODUCT_BUNDLE_IDENTIFIER }”, and a new build setting for PRODUCT_BUNDLE_IDENTIFIER is added (I did this in configuration file rather than the project file itself, but that should not matter).
However, since then the defaults command line cannot find my app by name. For instance something “defaults read -app MyApp” fails, complaining that it cannot find anything with identifier “${PRODUCT_BUNDLE_IDENTIFIER}”. So apparently my app is now registered in Launch Services with the uncompiled identifier.
Did anyone else see this? Could it be that I did anything wrong? Or is this a bug in either Xcode’s building process or in LS, or the way they work together (which I would call a bug in both)? |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden