复制xcode4工程
来源:互联网 发布:ubuntu apt get glib 编辑:程序博客网 时间:2024/05/02 02:43
http://ipaddevzone.com/cs/howto-duplicaterename-target-xcode4
Howto duplicate/rename target in XCode4
Thu, 10/20/2011 - 13:17 — root
- select project in Navigator panel
- select Target you want to duplicate
- right mouse click and choose "Duplicate"
- Rename Target in XCode: click on selected Target and inline edit starts.
- Open Terminal and go to your project directory/folder
- Run
svn status
to see the changes XCode just has made. - XCode has created new Infocopy.plist file and has added under version control if you use one. Typically you want to choose different name so follow these steps:
- Cancel version control addition:
$> svn revert Infocopy.plist
- Rename it:
$> mv Infocopy.plist YourNameInfo.plist
- Add it to version control:
$> svn add YourNameInfo.plist
- Set the new name in your new Target Build Settings named "Info.plist File"
- Cancel version control addition:
- Rename target file properly:
$> mv OrigTargetCopy.xcscheme YourTargetName.xcscheme
- Add the new target file under version control:
$> svn add YourTargetName.xcscheme
- Rename you Product in your new Target Build Settings named "Product Name"
- Very likely you will also want to set new "Preprocessor macros" Build Settings for your new Target.
- Set proper values your YourNameInfo.plist
- Set Target assignment for target specific files. Typically YourNameInfo.plist shall be part only of you new target. There may be plenty of other similar files (icon, splash screen, other graphics, etc).
Note: you can easily find new files locations by using $> svn status
. At the very beginning, you shall see new Info.plist as new Added and the new target file as not yet versioned file.
Tip: use as many Project level Build settings as possible. Override only those really Target level specific.
- 复制xcode4工程
- XCode4重命名工程快捷方式
- Xcode4.2工程类型变化
- xcode4.1工程依赖设置
- xcode4.x修改工程名称
- XCode4导入外部Library工程
- xcode4.x修改工程名称
- xcode4.x修改工程名称
- xcode4.x修改工程名称
- xcode4运行cocos2d-x的tests工程
- Xcode4修改工程(项目)名称
- Xcode4修改工程(项目)名称
- xcode4中工程中引用静态库工程
- eclipse 工程复制
- eclipse 工程 复制 改名
- 复制myeclipse工程,注意事项
- Eclipse复制maven工程
- myEclipse 复制工程
- 黑马程序员 SQL SERVER 基础
- Objective-C中的meta-class
- 将输入中的制表符替换成适当数目的空格,使空格充满到下一个制表符终止的地方
- 将空格串替换为最小数量的制表符和空格,但要保持单词之间的间隔不变。
- 《The C Programming Language》 1-22
- 复制xcode4工程
- 【个人日志】20120318 坚持就是一辈子
- zoj 1334 Basically Speaking
- zoj 1334 Basically Speaking
- zoj 1331 Perfect Cubes
- sizeof 小结
- 闪念记录-20120318
- 第02章_循环结构程序设计
- iPhone开发基础