Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug Unity project with iOS simulator?

Tags:

xcode

unity3d

As somebody said, the Unity project must be run on devices, but that is a lot of trouble. Is there any way to run a project in iOS's simulator?

like image 616
user990914 Avatar asked Oct 28 '11 06:10

user990914


1 Answers

Prerequisites:

  • Mac
  • XCode
  • Unity3D for Mac

Guide:

  1. Go to Edit > Player settings > Inspector > iOS tab. Change the Target SDK to Simulator SDK then build the project again.

    Target SDK

  2. Open Build Settings and switch platform to iOS.

  3. In the same window set Run XCode as Debug, check Development Build and Script Debugging.
  4. Click Build and Run, choose a directory for iOS builds (for example, create a new directory named Build.iOS)
  5. Build's a long process, take a break.

Unity3D documentation - Building your Unity game to an iOS device for testing.

like image 178
naXa Avatar answered Nov 08 '22 21:11

naXa