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)?

Christiaan

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to