- Home /
Can Unity 3 build for the iOS Simulator?
I thought it was possible for iPad from Unity 1.7 but I can't build for the Simulator with Unity 3.
I'm getting a million errors and I've added the same files in all the build phases of both targets (device and simulator).
Answer by Mantas-Puida · Sep 21, 2010 at 04:29 PM
Yes, you can build for iOS Simulator with Unity 3.0.
You need to select appropriate "SDK Version" (Simulator 3.2/4.0 for building for simulator or iPhone OS 4.0 for building for device) in Player Settings and hit Build & Run.
Note: Every time you switch between device and simulator you should change "SDK Version" in "Player Settings". Changing "Device"<->"Simulator" only inside Xcode won't work.
I was able to build for simulator with Unity 3.3 with some tweaks, but with 3.4 simulator builds stopped working.
Answer by BinaryCore · Sep 20, 2010 at 07:15 PM
Unity does not support builds for the Simulator targets. You must build for Device only.
They want you to use Unity Remote instead so you can still simulate correct input (swipes and multi-tap) which can only be accomplished on the real device.
Unity Remote is a nice idea, but has its own bugs and problems, but that's just the state of things.
Yeah I'm aware of the Unity Remote but I thought they enabled building for Simulator at some point, I was probably mistaken. The thing is that Unity is only a small part of my project, the main features are in cocoa so it's quite time consu$$anonymous$$g testing every little change on the device. Anyway, if that's the case, I will just remove the Unity bit until the end...
How do i test gamecenter-related stuff without building it on the device?