Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using Build Settings in Info.plist



I've been creating build settings and referencing them in my Info.plist file via the $(CUSTOM_SETTING) syntax. However it appears this only works for plist values but not for keys. Is this correct?

For example:

	<key>CFPlugInFactories</key>
	<dict>
		<key>$(PLUGIN_ID)</key>
		<string>$(PLUGIN_FACTORY)</string>
	</dict>
	<key>CFPlugInTypes</key>
	<dict>
		<key>$(PLUGIN_TYPE)</key>
		<array>
			<string>$(PLUGIN_ID)</string>
		</array>
	</dict>

In this case the build setting PLUGIN_ID seems to be substituted when it is used as a value but not a key. Perhaps I'm doing something wrong here?

Thanks,
Nick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.