Xcode中如何修改文件中自动创建的Created by和Copyright

右键Xcode图标,显示包内容 /Contents/Developer/Library/Xcode/Templates/File Templates/Source
C File.xctemplate
C++ File.xctemplate
Cocoa Class.xctemplate
Header File.xctemplate
Objective-C File.xctemplate
Objective-C new superclass.xctemplate
Playground with Platform Choice.xctemplate
Playground.xctemplate
Sources Folder Swift File.xctemplate
Swift File.xctemplate
Test Case Class.xctemplate

一般只修改 Objective-C File.xctemplate/Empty File/FILEBASENAME.m 中
//
// FILENAME
// PROJECTNAME
//
// Created by FULLUSERNAME on DATE.
//COPYRIGHT
//

对应区域即可

你可能感兴趣的:(Xcode中如何修改文件中自动创建的Created by和Copyright)