Gmenfan83
Gmenfan83

Reputation: 2587

Remove Copyright 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;
}

Upvotes: 5

Views: 1538

Answers (2)

Jim
Jim

Reputation: 73966

You can change this by selecting the project in the left-hand project navigator, then selecting the file inspector in the right-hand utility pane, and altering the Organization field.

Upvotes: 5

Caleb
Caleb

Reputation: 125007

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";}'

Upvotes: 5

Related Questions