tag:blogger.com,1999:blog-8861470730700525370.post8925384465568598581..comments2023-10-02T03:55:44.095-05:00Comments on Fifty Outs: Renaming an XCode Project from Command Linemohrthttp://www.blogger.com/profile/12160903071209543914noreply@blogger.comBlogger23125tag:blogger.com,1999:blog-8861470730700525370.post-37761391786482279342010-04-29T07:14:54.366-05:002010-04-29T07:14:54.366-05:00WOW!!! that is supercool, worked like charm!
I us...WOW!!! that is supercool, worked like charm! <br />I usually don't get this excited... anyway big ups!Ariushttps://www.blogger.com/profile/03682502410308488884noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-87320887706752735092010-04-24T18:45:52.615-05:002010-04-24T18:45:52.615-05:00Thank you!
Just what I was looking for.Thank you!<br /><br />Just what I was looking for.Future Primitivehttps://www.blogger.com/profile/17911308975444898748noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-25837300416010987032010-02-25T20:24:25.487-06:002010-02-25T20:24:25.487-06:00You do this through the terminal application of OS...You do this through the terminal application of OSX. You need to know a little bit about the unix command line.mohrthttps://www.blogger.com/profile/12160903071209543914noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-8151967839251719872010-02-25T20:10:00.374-06:002010-02-25T20:10:00.374-06:00Hey,
completely noob question, but where do i eve...Hey,<br /><br />completely noob question, but where do i even start with using this file?! no idea what 'Copy (this) file "renameXcodeProject.sh" to your file system, and invoke:' even means !<br /><br />thanksUnknownhttps://www.blogger.com/profile/07364157648867965533noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-45843362041704602962009-11-27T11:04:55.235-06:002009-11-27T11:04:55.235-06:00work like a charm!work like a charm!Eric.Whttps://www.blogger.com/profile/04666464440750793659noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-56851063981036795532009-10-29T17:41:45.854-05:002009-10-29T17:41:45.854-05:00Thanks mate, amazing!Thanks mate, amazing!Matthewhttps://www.blogger.com/profile/14374396359650729853noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-60207480648575277092009-09-09T13:14:46.014-05:002009-09-09T13:14:46.014-05:00thanks!!thanks!!Dr Bourbonhttps://www.blogger.com/profile/04352922712642682092noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-22216227560851246042009-08-02T20:27:26.910-05:002009-08-02T20:27:26.910-05:00Huge thanks!!!!! You just saved me a HUGE amount o...Huge thanks!!!!! You just saved me a HUGE amount of hassle.Unknownhttps://www.blogger.com/profile/09255277750805253148noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-28323274996416051922009-07-20T11:07:38.902-05:002009-07-20T11:07:38.902-05:00renameXcodeProject.sh is a lifesaver, thank you !renameXcodeProject.sh is a lifesaver, thank you !wolfscliffhttps://www.blogger.com/profile/04151070861742116636noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-41940506951463098612009-07-13T15:53:05.195-05:002009-07-13T15:53:05.195-05:00Too good !! Worked very well !! Thanks a ton for w...Too good !! Worked very well !! Thanks a ton for writing it :) !!Kukihttps://www.blogger.com/profile/09442506635693067405noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-23692040499130631682009-06-20T19:21:46.321-05:002009-06-20T19:21:46.321-05:00This is awesome. Thanks a lot for doing this!This is awesome. Thanks a lot for doing this!Matthttps://www.blogger.com/profile/13193551237511176827noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-23691666339182127712009-06-11T08:19:31.520-05:002009-06-11T08:19:31.520-05:00This is outstanding work! Worked perfectly, thank...This is outstanding work! Worked perfectly, thanks.Mikey Ceehttps://www.blogger.com/profile/11674346693470567161noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-91924067732601348072009-05-29T15:04:21.062-05:002009-05-29T15:04:21.062-05:00@tehZoe did you delete the build directory?@tehZoe did you delete the build directory?mohrthttps://www.blogger.com/profile/12160903071209543914noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-34955434196654316012009-05-29T15:02:19.683-05:002009-05-29T15:02:19.683-05:00Everything worked fine except that one of my two x...Everything worked fine except that one of my two xib files won't load in Interface Builder.<br /><br />Building target “PQR” of project “PQR” with configuration “Release” — (1 error)<br /> cd /Users/tehZoe/Desktop/PQR<br /> setenv PATH "/Developer3.1.3Beta5/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer3.1.3Beta5/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"<br /> /Developer3.1.3Beta5/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/holbrook/Desktop/PQR/build/Release-iphonesimulator/PQR.app/PQRView.nib /Users/tehZoe/Desktop/PQR/PQRView.xib<br />/* com.apple.ibtool.errors */<br />Internal Error:<br /> Description: The document "PQRView.xib" could not be opened. An instance of IBUIPQRView could not be decoded.<br />Recovery Suggestion: Ensure all plug-ins used to create this document have been loaded.<br />Build failed (1 error)tehZoehttps://www.blogger.com/profile/04709505099139570397noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-88898605895168961012009-05-24T08:44:15.004-05:002009-05-24T08:44:15.004-05:00If your project has spaces, use quotes around the ...If your project has spaces, use quotes around the names.<br /><br />./renameXcodeProject "old name" "new name"mohrthttps://www.blogger.com/profile/12160903071209543914noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-25537906666002595412009-05-24T06:33:12.339-05:002009-05-24T06:33:12.339-05:00This sounds amazing. I have to rename my project a...This sounds amazing. I have to rename my project as I used a name containing spaces which Apple doesn't really seem to like...<br /><br />How do I use your tool if my filename contains spaces?<br /><br />Cause looking at your example:<br /><br />renameXcodeProject.sh MyStuff MyNewStuff<br /><br />a space in the first part could cause problems?<br /><br />Thanks a lot!<br />ingo.Ingo Schrufhttps://www.blogger.com/profile/18223875558950708077noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-37749348914012729262009-04-23T23:12:00.000-05:002009-04-23T23:12:00.000-05:00It works perfectly, and is a great help. Very many...It works perfectly, and is a great help. Very many thanks.Lhttps://www.blogger.com/profile/04727505055999197772noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-12036028552257912462009-04-17T09:19:00.000-05:002009-04-17T09:19:00.000-05:00@Sebastian I rename XCode projects without spaces ...@Sebastian I rename XCode projects without spaces all the time. I'm not sure why you needed to adjust something to make it work.mohrthttps://www.blogger.com/profile/12160903071209543914noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-41464211214037135962009-04-17T07:34:00.000-05:002009-04-17T07:34:00.000-05:00I tried it, but it only works if the projectnames ...I tried it, but it only works if the projectnames contain spaces. Mine did not, so there I propose a little patch.<br /><br />Replace the sed for eliminating the spaces with the following code:<br /><br />OLDNAMEU=${OLDNAME}<br />NEWNAMEU=${NEWNAME}<br /><br /># create name with underscores<br />echo "${OLDNAME}" | grep " " > /dev/null<br />if [ $? -eq 0 ]; then<br /> OLDNAMEU = `echo "${OLDNAME}" | sed -e "s/ /_/g"`<br />fi<br /><br />echo "${NEWNAME}" | grep " " > /dev/null<br />if [ $? -eq 0 ]; then<br /> NEWNAMEU = `echo "${NEWNAME}" | sed -e "s/ /_/g"`<br />fi<br /><br />It is then doing some duplicate sedding, and grepping and finding, but that did not matter for me.<br /><br />Great work and many thanks<br /><br />SebastianSebastianhttps://www.blogger.com/profile/17389877891353515368noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-6512126500484164912009-04-15T12:43:00.000-05:002009-04-15T12:43:00.000-05:00Cheers dude! That worked like a charm. Thanks very...Cheers dude! That worked like a charm. Thanks very much! :)Girishhttps://www.blogger.com/profile/00373427571156793001noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-41435359085846777652009-04-15T07:34:00.000-05:002009-04-15T07:34:00.000-05:00Hey Man,
You are amazing. You saved my whole day....Hey Man,<br /><br />You are amazing. You saved my whole day. I was trying to rename one very very big project.<br /><br />Thank you very much..<br /><br />// Ganesh PisalMobile Developerhttps://www.blogger.com/profile/13680889027841883675noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-10797801822927182632009-02-24T11:03:00.000-06:002009-02-24T11:03:00.000-06:00Worked for me too. Thank you!Worked for me too. Thank you!Frankhttps://www.blogger.com/profile/14483559889975349100noreply@blogger.comtag:blogger.com,1999:blog-8861470730700525370.post-46941033294133581402009-02-16T14:50:00.000-06:002009-02-16T14:50:00.000-06:00Thank you, thank you, THANK YOU!Thank you, thank you, THANK YOU!Troy McDhttps://www.blogger.com/profile/09734797053304048457noreply@blogger.com