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
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:
created the app ID and ad hoc provision file with the indentifier: com.unity3d.UnityRemote
installed provision file, set the code signing to look for that provision file, and created a code signing entitlement
when i run it, i get the error: The device doesn’t have the provisioning profile the application was signed with.
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.
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.
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?