Where do I set my company name?

前端 未结 14 1482
情深已故
情深已故 2020-12-02 06:05

When creating new source files xcode adds comments with your name and company name.

Where do I set my company name for xcode (not the project).

14条回答
  •  一整个雨季
    2020-12-02 06:59

    It looks like the final version of Xcode 4 is not respecting the ORGANIZATIONNAME setting (either the old one, or the new one with com.apple.dt.Xcode. This sucks for me, because I have my company name in my address card, but I'm not doing Xcode work for my company. Thus, I don't want my actual company name to get inserted in my source files. I want the value I set for ORGANIZATIONNAME.

    Update: It looks like it partially works. I had shutdown Xcode before setting the value, then I restarted it, and created a new project. I saw that it was still using my company name from my Address Book card, and not ORGANIZATIONNAME. But then I created some new files in the project (File>New File...) and when they were created, they DID have the value from ORGANIZATIONAME. So, it looks like the code there is at least two bits of code that fill in the file template with the company name, and they are pulling from different locations.

提交回复
热议问题