Mailing Lists: Apple Mailing Lists

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

Re: com.yourcompany



I want to know how I can change the default prefix so that when I create new targets their bundle identifier will default to 'org.brautaset.X' instead of 'com.yourcompany.X'.

The answer is to go to /Library/Application Support/Apple/Developer Tools/Target Templates/*/ and open the .trgttmpl files in a text editor (Xcode won't open them). In each target template there is a line like


        CFBundleIdentifier = "com.yourcompany.«TARGETNAMEASXML»";

When the template is instantiated the «TARGETNAMEASXML» is replaced with the target name. You can change the com.yourcompany to org.brautaset here.

You can create your own templates and put them in ~/Library/ Application Support/Apple/Developer Tools/Target Templates for your own use.

Thanks Chris!

Stig _______________________________________________
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
References: 
 >Re: com.yourcompany (From: "Chris Espinosa" <email@hidden>)
 >Re: com.yourcompany (From: Chris Espinosa <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.