Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Copyright Xcode

Tags:

xcode

Ok this seems like a dumb question and probably is but I cannot figure it out. I recently became a registered developer with Apple and set up Xcode etc. Well when I create a new project in the comments at the top of my code it says copyright of my college. Now I do not remember giving my college credentials other than when I bought the mac but I cannot figure out how to change this to my name. Thanks anyone for the assistance; here is the code:

//
//  main.m
//  Test
//
//  Created by Jason Alholm on 10/19/11.
//  Copyright (c) 2011 St Petersberg College. All rights reserved. <------ needs changing.
//

#import <Foundation/Foundation.h>

int main (int argc, const char * argv[])
{

    @autoreleasepool {

        // insert code here...
        NSLog(@"Hello, World!");

    }
    return 0;
}
like image 352
Gmenfan83 Avatar asked Oct 19 '11 15:10

Gmenfan83


People also ask

How do I change the copyright text in Xcode?

You can change the copyright template in Xcode here: Project Navigator -> File Inspector -> "Organization". Save this answer.

How do I change created in Xcode?

System Preferences --> Users & Groups --> choose current User --> unlock -->right tap current User --> Advanced option --> change you full name & above account name to your want, save ,that is ok! I get it from How does Xcode know who the the project was "created by"? @Juzzz 's answer. hope that will help.


1 Answers

If I'm not mistaken, Xcode will by default get your company/organization from the Address Book. I believe that if you remove the organization from your 'me' entry in Address Book, Xcode will switch to using your name.

Another (probably better) approach is to set the ORGANIZATIONNAME variable to whatever you like. This page gives simple instructions:

defaults write com.apple.ProjectBuilder PBXCustomTemplateMacroDefinitions '{ "ORGANIZATIONNAME" = "My Company";}'
like image 81
Caleb Avatar answered Oct 14 '22 22:10

Caleb