Posted By

Leech on 09/25/08


Tagged

cocoa duplicate xcode Objective-c iphone


Versions (?)

Who likes this?

18 people have marked this snippet as a favorite

Leech
zacwhite
jamesming
windmarble
aflorence
cgrainger
hERB
tbass134
mracoker
vmonje
stationstops
avanadra
synced
djbabylon
kgaddy
epaga
ringo380
cnathan


Duplicate Xcode project


 / Published in: Objective C
 

URL: http://aplus.rs/cocoa/how-to-rename-project-in-xcode-3x/

This is very helpful to duplicate/rename a project in Xcode 3.x

  1. 1. Copy/rename the folder into new name
  2. 2. Get inside the new folder and rename the .pch and .xcodeproj files
  3. 3. Delete the build folder
  4. 4. Open .xcodeproj file in text editor, like TextMate or TextWrangler. That’s actually a folder, which contains 4 files (you can also right-click and do Show package contents, which will reveal the files)
  5. 5. Open project.pbxproj in text editor and replace all instances of the old name with the new name
  6. 6. Load the project file in XCode, do Build/Clean all targets

Report this snippet  

You need to login to post a comment.