Setting up Unity Remote with Macbook wi-fi sharing

In case anyone needs help, here’s how I setup Unity Remote with my Macbook running Unity iPhone Basic.

  1. Assuming you’ve already created the provisioning profile, and succesfully installed iPhone apps on your device, you just need to double-click the UnityRemote.xcodeproj in the UnityRemote folder of your Unity iPhone install directory.

  2. This will launch xcode where you then click “Build and Go”. The app should then be installed to your iPhone.

  3. Create a shared wireless network on your Macbook by clicking the Airport icon and choosing “Create Network…”. Here you can give it a name and password, then click “OK”

  4. On your iPhone, choose Settings > Wi-Fi and choose the new wi-fi network you just created.

  5. Now click the Unity Remote app on the iPhone, and you should see your Macbook name listed. Click the machine name, and then on your Macbook, with Unity iPhone running, press Play.

Now you’ll be able to control the application with the iPhone wirelessly. You’ll also see a low-res version of the app on the iPhone itself.

Good luck and happy iPhone developing!

iBrent

wow thats awesome, I purchased an iPhone ↔ USB cable, didn’t know you could do it wirelessly!

I’ve created a provisioning profile but when I try to build the Remote app in XCode, I get an error dialog (see below).

Any idea what I’m doing wrong here?

Do I need to specifically provision the Remote app somehow? And if so, how? :slight_smile:

98434--3820--$untitled_115_131.jpg

You probably haven’t set your provisioning correctly.

Change the setting from com.youcompanyname to whatever you used in provisioning.

My domain name is digitalcodworks.com and my provisioning is 123456.com.digitalcodeworks.*

Drop the numbers from the front that apple adds.

I feel like I’m close to understanding you, but not quite there. :wink:

In detail, could you tell me how your provisioning is set up and how your wildcard application ID is set up?

TIA!

First have you created and installed all you certs from Apple?

Yes, I have done that.

(Thanks for helping, BTW!)

Is your provisioning profile showing up in the xcode Organizer? Double check that when your device is connected, it shows up under Devices in the organizer and that the Provisioning profile you created in your iPhone Developer Portal is installed and showing up under the Provisioning section.

Yes, my iPhone shows up in the Devices pane on the left and my Provisioning Profile is listed and enabled (checked) on the right.

(Thanks to you too, iBrent!)

Normally you only have to do what is pointed out there:

Disconnect your iPhone / iTouch
power it down
power it up again
once totally powered up, reconnect it to your mac

By power up and down, does it mean a complete cold restart or just warm (i.e. power button) restart?

This error frequently happens to iPhone developers. There are various causes. Mine will produce this if I’ve left my iPod touch plugged in and then someone else opens their account and iTunes pops open. Other times, it’ll happen if you somehow corrupt the build file. There are a number of explanations and no good cause.

If the usual instructions don’t work and they usually don’t for me, the ONLY thing you can do is to go to Setting → General → Reset and reset all settings.

Then have to mess around to rearrange all your icons.

Still not working, but thanks for the suggestion DaveyJJ!

I’m getting a new error now when I build, indicating that it cannot find a provisioning file - even though XCdoe shows one in the Provisioning list.

Ugh.

This means: press 5 seconds on the power button and totally shut it down, restarting the whole operating system.

otherwise you are not shutting it down at all, you just disable the screen.

Well, I did the restart (thanks, Dreamora) but now I’m back to the same error as before after the build finishes (see below).

It looks like it’s compiling but not able to verfiy the app in order to put it on the iPhone. I’m guessing it’s a provisioning setup problem.

I’ve attached a screenshot of my provisioning setup from the IPhone Dev Portal - does it look okay?

Thanks, all.


98434--3820--$untitled_115_131.jpg

Did you set up your profile with a wildcard?

com.gigaplay.*

I know I can get you running but I need my MacBook in front of me to do so. I’ll be home and online around 7:00 EST. Until then, use the google. I found a web page with pictures showing what to setup and how. All the text instructions I’ve seen online are fine but I needed pictures to really get running properly.

Hang in there! You’ll have it working soon.

Marty,
You need to right-click the file in Targets and select Info.
Then make sure the com.gigaplay is the Identifier. (See my screenshot where my provision Identifier is com.inpsiredones).

–Randy

I also had this problem and tried the above suggestion. It didn’t work until I gave a name to the identifier. In the screenshot case, I would’ve written “com.inspiredones.UnityRemote”

Hey, I got the UnityRemote app to build and install on my iPhone - woohoo!

Thanks everyone. Turns out I needed to change a few entries for the object file (build file) in the XCode project to match each other.

Now, let’s see if I can build that demo game and get it on my iPhone!

BTW, does anyone know how to delete AppID’s that they aren’t using? I made a lot of garbage ones figuring this out and it looks (i.e. from googling) like they might not be delete-able. Ugh!

Hi everyone!

As far as I know, I have all my provisioning certificates etc set up correctly - and indeed I was able to build and install the sample application on my iPhone, but I am experiencing the same errors as Marty while trying to install the Remote application.

I changed my identifier to com.aubreyfalconer.marsxplr as suggested by Randy, and the build error changed to “Your mobile device has encountered an unexpected error (0xE8000036) during the install phase: PreflightingApplication”.

Any ideas?