Hi! I plan to develop for the iPhone, using Unity iOS. I have both Windows PCs and Macs available. My question is - can I develop for the iPhone and 'build' the Xcode project on the Windows PC, and then copy the resulting Xcode project to a mac for final compilation/testing/publishing? Or is it the case that the windows version of Unity does not even have a build option targeting iOS?
The reason being that my PCs have significantly more hardware power and peripherals, so developing on the PC would be much more convenient in my case. Obviously for final publishing I would need the mac, but for most of the work I'd like to use the PC.
Is this doable? (I've seen people ask if they can just do everything in windows, and obviously they cant, cause you need a mac to build/run/publish the xcode project; my question is a bit different).
I suspect the answer is no, but I'm not certain. You could look into the Hacintosh option, and enable your PC to boot OS X. (I haven't done that either, but I know people who have used this approach for iPhone development.)
Answer by Thom Denick
Mar 04, 2011 at 05:16 PM
You cannot; Xcode doesn't run on Windows, so you don't even get the option in the Windows version of Unity. The build process is actually fairly complicated, and Unity needs direct access to XCode to create an iOS build.
However, you can develop on Windows, and then eventually move to Mac. It might be too cumbersome to do more than once, as you'll have to copy the entire project over to Mac, load it up on Mac Unity, and build from there. For my next game, it was 90% developed on Windows, then I moved it to Mac to start the optimization for iOS devices.
Just keep in mind that as long as you are on PC you have no way to test one of the most important variables with iOS development: performance.
Well, you can still test on android devices, which should give you a good indication.
Answer by giannii
Jul 27, 2012 at 05:02 PM
Have you tried using dropbox for your project files?
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
2 People are following this question.
I can run the Unity3D Game through XCode, but can't run it directly through iPad.
xcode fails to build a very simple scene (201 errors)
Can I use unity as a portable editor by copying it from my windows computer to use it on a Mac thats in my college?
xcode build fail - Mach-o linker error
Can I develop an iphone app on UnityPro3d (for windows) and then transport it to Unity (iphone version for mac)?