How to set ___COPYRIGHT___ in Xcode 4.5

前端 未结 2 1810
独厮守ぢ
独厮守ぢ 2021-01-06 13:22

The file tempates in Xcode 4.5 contain the following in the header

//  ___FILENAME___
//  ___PROJECTNAME___
//
//  Created by ___FULLUSERNAME___ on ___DATE__         


        
相关标签:
2条回答
  • 2021-01-06 13:38

    Changing the organization name will help you in set the COPYRIGHT value.

    Please look at the screen , (Xcode4.5 screen shot)

    Please look at the screen , (Xcode4.5 screen shot)

    0 讨论(0)
  • 2021-01-06 13:43

    When you create a new project in Xcode 4.4 or later, there is an Organization Name text field. The name you enter in the text field goes in the copyright notice, which looks similar to the following:

    Copyright (c) 2012 Company Name. All rights reserved.
    

    If you make a mistake entering a company name when creating the project, you can change the company name by selecting the project file from the project navigator and opening the file inspector.

    Being able to set the company name is enough customization for most people. If you need to further customize the copyright notice, I recommend making a copy of Apple's file templates, and adding a custom copyright notice to the comments. More information on file templates is available in the following article:

    Creating Custom Xcode 4 File Templates

    0 讨论(0)
提交回复
热议问题