Detailed description of the default company name case in XCode

Source: Internet
Author: User

XCodeThe default company name case is the content to be introduced in this article.XCodeThe parameter _ MyCompanyName __can be set automatically. For more information, see this article. Let's just look at this article.

The solution is as follows:

Change company name for Xcode4

Methods:

A. Modify company information in the address book

B. Select the project attribute, which follows the Microsoft name. Press "Get Info" for this processing on the network.) In Xcode4.0.1, Description: Click zoom in)

From, we can see the red ABCD4 points.

Under normal circumstances, click the project at A, and A large piece of information will appear in the middle, which is thought to be Get Info ). D does not display some similar project properties. You need to click View in Area C to display this. When "D" is displayed, there is a Organization place below. Enter the value you entered.

If you want to delete the content of Organization, it will not be deleted successfully. I don't know why. Next, click "B" and a button on the right to display serialized data similar to json or xml. Find "organization" to delete the data and save it.

C. Run the following command on the terminal:

 
 
  1. Defaults write com. apple. Xcode pbxcustomtemplatemedia definitions '{"ORGANIZATIONNAME" = "XXX.com ";}'
  2.  
  3. Or
  4.  
  5. Defaults write com. apple. ProjectBuilder pbxcustomtemplatemedia definitions '{"ORGANIZATIONNAME" = "XXX.com ";}'

Defaults read com. apple. Xcode can be used to read data, but it cannot be used in Xcode.

D. directly modify ~ Com. apple. Xcode. plist. In the/Library/Preferences directory .. This configuration file was not used before it was tested. Same as the C method. Therefore, it cannot be used.

Note:

If you use the AB method, Xcode uses the B method by default and does not use the company information set at.

As for the CD method, no proper processing is found. Note Xcode4. CD should be valid in Xcode3

The CD method is used to globally control the input of company names. Method A is easy to implement, haha

Maybe XCode4 no longer supports the CD method.

Summary: DetailsXCodeThe content of the default company name case is introduced. I hope this article will help you!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.