• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: com.yourcompany
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: com.yourcompany


  • Subject: Re: com.yourcompany
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 7 Feb 2007 10:03:32 -0800


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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: com.yourcompany
      • From: Stig Brautaset <email@hidden>
References: 
 >Re: com.yourcompany (From: "Chris Espinosa" <email@hidden>)

  • Prev by Date: Re: com.yourcompany
  • Next by Date: Re: Log screen in Debug
  • Previous by thread: Re: com.yourcompany
  • Next by thread: Re: com.yourcompany
  • Index(es):
    • Date
    • Thread