Oh! Apple

My experience of using iPod Touch, iPod Classics, Mac OSX, Coding in XCode, or anything generally related to Apple

Saturday, July 13, 2013

Hackintosh, XCode 5 (Beta 3), Subversion on Windows, oh my ....

Constantly switching between 2 OS could be a pain.  Mixing that with VM, single machine, version control, .... great serious headache.  Yet it's still possible to make them all work with each other.

So I have this hackintosh VM running XCode 5 beta environment, hosting on a Windows 8 machine.  And here's my mission: to have subversion running on Win8, and then allow XCode 5 beta 3 to check-in/out code using subversion.

I already figured out the machine in XCode 4.5, but XCode 5 created a new problem: they changed the version control setting in a way that I CANNOT FIND A WAY to import my XCode project (created by XCode 5) into subversion.

How I work around the problem?  Simply, do the dumbest way: copy the whole project directory (the one that I newly created in XCode 5 beta 3) to the Windows environment.  I then use TortoiseSVN to add the whole project directory to a subversion folder.  Later, on XCode 5, I use [Source Control][Check out ...] to open the check out that URL (in my case, it's svn://{my Windows IP}/trunk/XCode/2013-07-13-FunWithIOS7Stuff ), check out to a local path (somehow the UI shows the word "Trunk" but it had no effect).  And from there, XCode 5's subversion awareness kicks, and I can check in and out code from there.

I also found the in my VM environment, it recognize my iPad 2 with iOS 7 beta 3, and I can use the device for testing and debugging.  Very nice.

So my next challenge is to sort out my priority, in order to find time to continue study on iOS 7.

0 Comments:

Post a Comment

<< Home