Frustrated with unity remote

I can not get unity remote to build. I am using a test application and I can build and run it fine and it transfers to my iPod Touch without a problem.
I just can’t get Unity Remote to build so I can do a live edit on the iPod from Unity.

I am a Windows developer who just switched to Mac. I am unfamiliar with xcode and iPhone development.

Here is an error message if it helps:
/Applications/Unity iPhone/UnityRemote/build/Debug-iphoneos/Unity Remote.app: object file format invalid or unsuitable

Are you using an Intel Mac (not a G4 or G5?)

Maybe you can start over with a clean copy of the Unity Remote project in case you accidentally changed a setting.

You could also post your OS version, XCode version, and what you selected in the Build Overview pulldown:

Active…
SDK
Configuration
Target
Executable
Architecture

Also you can post the output from the Build Results window.

Thanks for your response mindlube.
I am using new macbook pro with the latest version of os x installed.
xcode is 3.1.

I’m not sure about the other settings as I’m reinstalling right now.

Thanks for any help you can give me.

Did you alter the build target as well as the base sdk (is in the project options) to be a more current version and especially be the same version?

I seem to be having problems with the provisioning. I’ve done this many times before with the other 15 apps I already have up in the store but I think I’m missing something stupid here. Here’s what I’ve done:

  1. created the app ID and ad hoc provision file with the indentifier: com.unity3d.UnityRemote
  2. installed provision file, set the code signing to look for that provision file, and created a code signing entitlement
  3. when i run it, i get the error: The device doesn’t have the provisioning profile the application was signed with.

You guys have any ideas what else I can check?

I’ve had that problem before and had to make a new provisioning profile with a completely new+unique name. Not sure- maybe that will work for you.

What is the exact error code you get? And look in the device’s console (in the XCode organizer window) and see what error it shows.

There’s an obscure error that appears to be a provisioning error but is actually an old copy of the app stuck in the “/private/var/mobile/Media/PublicStaging” directory of the device. You’ll see it in the console as “: mode is 0x41e8”. In that case, you have to do a full restore to clear that directory (or, simpler if you’ve jailbroken the device, ssh in and delete it).

I just ran into that one Friday and wasted the entire day getting to the bottom of it.

Exact error is:

Can’t run “Unity Remote” on the device “iPhone”

The device doesn’t have provisioning profile the application was signed with.

Add the provisioning profile to this device via the Organizer, or check the “Code Signing Identity” build setting.

124617--4665--$unity_error_294.jpg

Sure that you have a current provisioning installed on that phone (drag drop in itunes onto the library) and that you have switched the build target to 2.2+ (and the base sdk as well)

also what you install are the build provisions. Does not sound like you installed the provisioning on the device at all, so that device would not be entitled to be a deployment target. you see that in organizer: red means its not entitled to be deployed as either the provision is not installed or not for the version in question

Yeah, now: go to XCode, open the “Organizer” window, click on the phone in the “Devices” list, and click on the “Console” tab. Reload the console and find the error from the time when you tried to run it. If it’s what I posted above, go to iTunes and do a sync/restore/sync to clear the bad binary out.

I was targeting 2.1 but switched to 2.2 and that didn’t do anything. Checked the install again and it seems to be fine…

124631--4666--$provision_944.jpg

maybe you most change "com.unity3d.UnityRemote " in "com.YOUR COMPANY .UnityRemote "

Nope. Nothing has worked. Created new provision files… all says it installs just fine. Tried completely restoring the iPhone. But basically it’s as if it just doesn’t see any provision file whatsoever.

Correct me if I’m wrong but the remote basically just runs as an app connecting via wi-fi, right? So in theory if someone could compile this correctly, I could just give them my UDID and they can give me a properly compiled version with the provision file, right?

Correct.

And for the record, we’re trying to get the Unity Remote on the AppStore as a free app already.

ah, fantastic. hope it’s available soon!