2011年2月24日 星期四

Update IP / hostname in SCM of XCode

For anyone who would update / change the IP of their SCM in XCode, you can't finish your task if simply reconfigure the URL in your SCM setting. What you have to do is to update the URL manually in SVN by opening the terminal:

1. Close your projects and XCode

2. Open Terminal and "cd" to your project directory

3. Type "svn sw --relocate [old location] to [new location]"

For example: 

svn sw --relocate http://admin@www.old.com:3690/svn/prj http://admin@www.new.com:3690/svn/prj

4. Launch your project again and your SCM will work properly!



沒有留言:

張貼留言