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




On Feb 7, 2007, at 9:50 AM, Stig Brautaset wrote:

On 7 Feb 2007, at 17:28, Chris Espinosa wrote:
This is your product's Bundle Identifier and it's stored in the Info.plist.  Edit it in the project-Info.plist file or in the Properties tab of the Target inspector.

I'm sorry for not explaining myself properly.

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'.

Ah, I see.

I answered "how to change it in your project" and George answered an altogether different (but common) question.

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.

The same applies to Project Templates, though you actually go inside the project bundle templates and edit the project.pbxproj file in the same manner.

Chris
 _______________________________________________
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>)



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.