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;
}
You can change the copyright template in Xcode here: Project Navigator -> File Inspector -> "Organization". Save this answer.
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.
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";}'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With