does the simulator work with unity? Game builds fine to the iphone and i touch but i want to capture video for the game play and i’m trying to think of ways to do this. Can anyone help?
You can’t use the simulator, as Unity games are only compiled for ARM. Most people record the screen of the game window in the editor. Some people record the game playing on the device. You could possibly add TV out support to your game and record it that way.
how to you record it on the device? with another app?
With a video camera
I capture videos of my Unity iPhone projects by running the project with remote in unity and using Snapz Pro X to capture
We use ScreenFlow, it works pretty well.
You CAN run the Xcode simulator with a Unity project.
I know this thread is really old but it’s the first google hit for “unity xcode simulator” so I thought I’d clear up any confusion.
If you want to run a Unity project in a simulator you need a separate Xcode project. When Unity builds a project it compiles it either for a device or for the simulator specifically.
To set Unity to build to the Xcode simulator follow these steps.
- Open your Unity project
- Go to Edit – Project Settings - Player
- In the inspector change SDK version to “iOS Simulator latest”
- Go to File – Build Settings and select iOS as your build platform then click Build
Now open the Xcode project you just built.
In the build settings for the Unity iPhone-simulator target:
- make sure that architectures says “i386”
- Base SDK should say “iphonesimulator”
Now choose where to build the project. A the top of the window next to the stop button you should choose to build to the simulator and then choose which platform you wish to simulate.
Your project should now start in the Xcode simulator.
(I had to figure this out this morning because we wanted to record footage from an app)
Hope that helps!
Good post. I never bothered with the sim because it frankly takes just as long to device what with all the fiddling extra you need to do between unity builds.
Only one problem with this method… If I build an xcode project with some name, say, myGame. Build and Run works fine. Say, I go into Unity, make some changes in script/editor and then export it under the same name, then xcode shoots 12-13 errors. Look at the attached image.
Can anyone help with this? Thanks in advance.
Nice post thank you… I wanted to see effect of different target resolutions on each device and that will help to see just that…
You probably chose “Unity-iPhone > iPhone Simulator” instead of “Unity-iPhone-simulator > iPhone Simulator”… may be?
Yes that was it. Thanks!
Hello! I’m having problems with simulator. Here is my config:
and here is my linker error:
Unity 3.5.5 Xcode 4.5
i have the same error, in addition iphonesimulator (no sdk found) warning…did you manage to make this to work
i need to get the screenshot for retina 4 inch display which i do not own so i need to do it through simulator
any ideas about this?
I’m having the same issue. I also have no “Unity-iPhone-simulator” in my list of targets.
I’m using an older version of xcode but this thread helped me: http://forum.unity3d.com/threads/128134-Weird-problems-on-building