Can you run unity directly to the iPhone or iPad. I am new to mac and want to know how to run my first simple game on iPhone, i have the Pro iOS license.
can i connect my iPhone to unity and run it or is there another way?
Can you run unity directly to the iPhone or iPad. I am new to mac and want to know how to run my first simple game on iPhone, i have the Pro iOS license.
can i connect my iPhone to unity and run it or is there another way?
hmmm looking around i see that unity must link up with xcode to run the app on the iPhone. How do you link Xcode and Unity?
just do build and run and it will open xcode (finds it automatically)
If he’s starting from scratch, it’s a little more complicated than that.
First, you’ve got to be a licensed developer with Apple. If that’s taken care of, go to the iOS Provisioning Portal and read the various docs. Ultimately, you’ll need to add your device’s app id and install various certificates and provisioning profiles.
Second, install the latest version of Xcode, if you haven’t already.
Third, make sure your build settings are for iOS and change various Player Settings if needed (at the very least, change Company Name, Product Name, and Bundle identifier).
Fourth, choose build, not build and run, as it’s been broken for some time now (might be fixed in 3.5 beta, not sure).
Fifth, click on Xcode Project to open in Xcode and connect your iOS device if it’s not already connected.
Sixth, at the top of Xcode window, manually change Unity-iPhone > iOS Simulator to iOS device (should show name of your device).
Finally, click Run to install app on device. If it fails, it should give you error messages.
This is all from memory, so I might have missed a step.
Also, I’ll add that if you just want to test touch controls, you can set up Unity Remote:
http://unity3d.com/support/documentation/Manual/unity-remote.html
But it won’t look pretty.
ha ha
yeah tonyd is right there!
The reason the Unity Remote doesn’t look pretty is because it sends a compressed jpeg to the screen on your device, this has the added bonus of a slow frame rate. The result looks very choppy and very compressed. But be assured this is only really meant for testing your touch interactions with, not to see how good it will look. So get your interactions working well and deploy to the device.
When you deploy to the device it should look great, and as you would expect it to.
IPete2.