Update 2: August 17, 2011 The TechExxpert guide has been updated to fully allow Xcode 4.1 to work. Sorry that the past fixes did not work. Thanks for the comments! Please let me know if this guide works/doesn't work.

Update: This guide has been modified to the latest updates as of August 2, 2011 including the latest Xcode 4.1 and OS X Lion 10.7.

Apple has been adamantly refusing to create an iPhone SDK support for Windows-based machines. Luckily, there is a work around to be able to fully run the iOS SDK and Xcode support for most all PC's.

The following steps involve installing a virtual machine on your PC, updating the virtual machine to 10.7 , then running the machine and downloading and installing the iOS SDK and Xcode on to the virtual machine.

There are other ways to install OS X on your machine but they involve creating a new partition and installing the Operating System directly to your hard drive. Those ways are much harder and have more confusing steps that could potentially damage your computer. This method is easier and safer to use.

The process will take 2-3 hours, but most of the time is consumed by large downloads. There's no software to buy or developer fees to pay.Instructions

2. If you don't have a free Apple Dev Account, create one here. You'll need this to be able to download Xcode 4.1 for free. In OS X, open the App Store and download Xcode. You can view progress of the download under the Purchases tab.

3. Once the progress bar is finished, it will say it is installed but it really isn't. Open the Applications folder from Finder. Double-click on the Install Xcode icon.

4. Follow the on-screen directions then wait for the installation to finish.

6. Once it's done, it should open by itself. If it doesn't, you will NOT find the iPhone SDK in your dock. You will need to open your hard drive. Then Click on Developer, then on Applications.

7. You will now see an icon for Xcode, click it and you can start coding applications.

If the icons don't show up, you may not have enough virtual hard drive space to fit the program. Make sure you have at least 10 GB of free memory in the virtual machine. Restarting your machine may be another way to make the icon appear.

Now you can start coding an app for your personal use. The language you will be coding in is Objective-C. If you don't have any experience with Objective-C, TheNewBoston provides free tutorials on Xcode and Xcode iPhone development. I recommend following the Objective-C tutorials
first.

You will be able to test your app on the iPhone simulator in Xcode but you will not be able to add the app to your own device. To add an app that you've created to your device, see the two options below.

Option 1: If you want to submit your app to the App Store, you will need to pay Apple $100 for an official Developers Certificate. This will allow you to sell your app to a very large audience but Apple does place large restrictions on its approval of submissions.

Option 2: If you don't want to pay the $100, you can develop your application for Cydia (similar to the App Store). This option will also allow you to place your app on to your iPhone, not just only in the Xcode simulator.

Cydia is the unofficial App Store for users who have jailbroken and want to sell/share their apps. There are almost no restrictions as to what kind of apps that can be added to Cydia.

After a period of inactivity inside the virtual machine, I can't get the mouse to appear inside it (the whole OS freezes). Once i got it back somehow, does anybody know a solution to this bug. It happens quite often and restarting the OS every time it happens is not an option.

I realized that i was installing the update and reseting , so it couldn't boot for some reason. so i had to start it over again. So after that i installed both of them and boom, it was worse, it didn't even show os. So i just did what was told told to "xcode" :

""@xcode. Try to remove the darwin.iso from the Settings window, start the machine, power off the machine, put the darwin.iso back and now try to power on the machine.""

i always hated apple but now it's even worse. I have the same problem as the first guy. After the update i restarted it and since then at the boot screen it says that I need to restart it again. I restarted like a 100 times already. Tried to add and to remove the iso file. Didn't work. Please help

Hi. I virtualize OS X and it goes perfectly, but after I install the two updates it gives me a lot of problems. The first time it froze after the update, so I restarted it by VMware, but at the restart it gave me a 'panic error cpu...'. I deleted the virtual machine and created a new one. This time after installing the updates it didn't froze, but after I restarted it VMware says 'Operating System not found'.Please help me since I don't want to virtualize it again for the third time and I really need Xcode.

i always hated apple but now it's even worse. I have the same problem as the first guy. After the update i restarted it and since then at the boot screen it says that I need to restart it again. I restarted like a 100 times already. Tried to add and to remove the iso file. Didn't work. Please help

Hi Guys I'm having the same issue with updaing to 10.6.7 using the instructions. Installed the update, installed the 10.7.0.1 kernel update, reboots to get panic error. I've taken a screenshot if that helps.

I can install Xcode & iOS SDK. The Xcode starts properly, but once you shut down the machine, the Xcode throws an error on restarting the machine. The error report am adding below. Would be glad if any one can assist. Thanks in advance--------------------------------------------------------------------------Process: Xcode [137]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.XcodeVersion: ??? (???)Build Info: DevToolsIDE-18070000~38Code Type: X86-64 (Native)Parent Process: launchd [101]

Ok I tried updating the mac software, but it doesnt work when it finishes installing the new updates, it pops up with a screen saying I have to restart my computer, I did, but nothing worked. I Really want an app and I cant jailbreak, please help!

Hi Guys, When I try toi download Xcode via the above link in step 3, I cannot get access unless I pay for an iOS developer subscription. Is there something I overlooked, since you stated in the beginning that we didn't have to buy any software or pay any developer fees.

hii installed vmware 7.1.4 on windows 7 64bit as host and snwo leopard 10.6.7 as guest.Everything works great except that SL guest doesn`t recognize my iDevices (iPhone/iPad) although i disconnected it from host and connect to SL guest.The iphone icon on the bottom of the screen indicate that VM has connected correctly to the iphone but the iphone is not detected by iTunes or the OSX?

i have tried to install the sdk four times and each time the files don't appear in the directory at all. I have plenty of space left over after the install (about 3 times more than i need t install). Everything else works up to this pint and i have tried repeating the same steps over and over and over but can't get this working. the installer literally does nothing at all eveyr single time i have ever run it. And I have run it many times. Please get back to me with something usefull. This is completely bunk.

THis does not work. Xcode does not install. The installer runs and says that it succeeeded but nothing appears in the described directory \Developer\Applications. I have tried just about everything I can including including repeating any and all o the steps in various combinations starting from the very beginning. Everything works up until xcode install. Nothing is installed even though I wait for an hour while the scrollbar moves. It isn't being placed somehwere else on disk either since after the installation states that it has finished successfully the disk has the same amount of space. Please help

You have provided a vital knowledge. i am feeling glad to swing with the music. thanks for posting.The information i found here has a great sound. i hope it will help many people. looking for more from your side. Top Songs for 2011 it is a vital information you shared. keep going good work.

When installing xCode it is stuck at around the same percentage as shown in your installation screenshot. The installation bar hasn't moved in over 2 hours. Is this normal or am i doing something incorrect?

i got osX running with the latest snow-leopard (10.6.7) but i am not able to install xcode, during installation i am getting a kernel error, i tried with both xcode 4 (official paid version) and the old xcode 3.

I had vmworkstation running osx 10.6.8 , then i install ios4 sdk , xcode start and everything look fine. I then create a project with a hello world label only, compile and run, and its ok in iphone simulator. I then close the iphone simulator and compile and run again, it hang....i am stuck now. anyone had advice... ?

I have done the Terminal uninstall, and reinstalled on the new Admin account, but it still crashes with an error that looks like the original expected error.

By the way, I was unable to do the uninstall on the terminal at first, because it prompted for a user password. The default Lion User account doesn't actually have a password on it, so I was unable to proceed until I created a password for the Lion User. Then the terminal uninstall procedure went fine. A shame the reinstall on the new account didn't work.

""I have done the Terminal uninstall, and reinstalled on the new Admin account, but it still crashes with an error that looks like the original expected error.

By the way, I was unable to do the uninstall on the terminal at first, because it prompted for a user password. The default Lion User account doesn't actually have a password on it, so I was unable to proceed until I created a password for the Lion User. Then the terminal uninstall procedure went fine. A shame the reinstall on the new account didn't work.

The blog isn't working... I've gotten hold of multiple versions of Lion and trying the administrator part gives the same error when trying it as Administrator. I've used Lion 10.7 + the latest XCode. It doesn't work.

Hey guys, thanks for the comments! The guide is being updated right now to fix that nasty Xcode 4.1 crashing problem. After it's done please leave comments about your experience to help everyone else :D

Can those posting as "Anonymous" please leave a fake name or something to differentiate their posts. Too many comments from Anonymous saying it works great then next post saying "Still crashing" etc etc. Great work Deadfire55. I am going to try this.

I download Xcode with this link : http://developer.apple.com/downloads/index.action . It never works for me with the AppStore.XCode works very well for me (vmware workstation / virtual box 4.1.4 ; windows 7 ; sony vaio vpcsb2m9e).I put 2048Mo for RAM in vmware, and the installation of Xcode (with ios sdk, and all stuff) takes me about 10Go.

I successfully installed OS X and am waiting for Xcode to download (I had to use the link developer.apple.com/downloads/index.action because the app store wouldn't work).However, the performance is somewhat lacking.. opening the launchpad and resizing windows is pretty slow, and there is some keyboard and mouse lag occasionally. Any tips for improving performance? In VMware, I allocated as many cores and as much memory as the OS would support. I'm also running it from a SSD.

The virtual OS X Lion works perfectly for me but I am having issues installing xcode. When using the install assistant, it gets all the way to the installation step before becoming stuck on "Waiting for other installations to complete..." forever. Any known fixes?

Nice post. Here’s a free developer program you can join to increase your knowledge and credibility in cloud application development. Get certified and bid on Caspio-specific projects to earn more money http://blog.caspio.com/news/announcing-caspio-certification-and-developer-network/

Hey there, everything went well, twice... But after I install Xcode it asks me to update Itunes as well, because my phone wont work with a lower version of Itunes. When thats done and the virtual computer restarts I cant get into iOs again. It just loads till it shows a stopsign. It seems that this breaks the install. Anything I can do or should I just NOT update iTunes...?

Hi is there anyone successfully uses xCode in windows7 among guys here now aside of the moderator of this tutorial.. I really need a concise lecture on how to start this in may windows 7, because a lot here experienced hard time on installing VM's , Kernels. IDE and the SDK.. I really like to learn coding for iOS platform.. so as the cross platforms and android.. But this iOS will be tough for non mac users.. Thanks!

Love how these guides endorse piracy - just say'n (first step contains a link to a torrent and a comment on searching for pirated software - flame on?) i'm a M$ wdow$ user cause Apple Hardware is Over priced - and UI is annoying as hell (not bad - just annoying). Thanks for the guides though <3

hey, i recently installed trial VMware workstation 8.0.3 and Lion 10.7, its working fine!Then i installed Xcode 4.1, which didnt run at all, i then installed its updates but again got an Internal error!i need to develop ipad apps, plz help!

Cydia is very dangous when your just want to allow people to get your app. I used to use for my developing and then I got hacked from it. If you want to give your apps out in a safe mannner I found a cydia alternative called openappmktyou can get it here. http://www.openappmkt.com/

I installed at first, works perfectly.Then need to do software update in order to install xcode. Now I have to wait approximately 25min every singe time to load because it waits on the apple logo. any help?

I have a problem with my apple dev account. When I try to download XCode it requires my credit card information since I have never used my account in the apple store. But I don't have a credit card. What should I do now ?

install the system well but righ after I update it from IOS 10.7 to IOS 10.7.5 the system just stuck after installed the new component then restart. The apple logo turn into a grey stop sign and keep showing loading icon without actually running..Can anyone help? freedomkwok@hotmail.com

Thanks for sharing this post I also share with you some tip hope you like. I have the exact same issue on my iPod Touch 1st generation. Only difference is the perfectly round spot is in a different position on the screen. I also thought I had looked after mine... perhaps there is a manufacturing defect?iphone repairs bondi junction

Apple just teamed up with this promoter and are hooking you up with software and app advertising service at for only $49(Bucks): http://adf.ly/4727968/ebusinessassociates-apps once the seconds count down to zero click on the "Skip Ad" on the top right, Check it out there is a small presentation about the software and what it could do. Thank you for this software devs.!

" You will not be able to add the app to your own device" what does this mean? Am I able to add the app that’s I build by myself for personal use. As an example I make the calculator apps and I just want to use it by myself and install it on my iPhone. It that possible?