Changing __MyCompanyName__ In Xcode Templates

How many times have you created your project and then manually changed the defaultĀ __MyCompanyName__ to your company name? By default Xcode will use your identity card set in your Address Book but sometimes it simply won’t. There is a simple way to specify your company name per project basis. Here is how you would do it:

Select your project in Xcode (refer to the screenshot below).

Click on File Inspector (on the right sidebar) icon and towards the middle look for organization field. Change it to whatever you want.

From now on, every time you add classes to your project, it will use your specified company name. You might need to manually change it in files created before you specified your new name.

Changing __MyCompanyName__ In Xcode Templates

Leave a Reply

Your email address will not be published. Required fields are marked *