This is driving me insane.
My device is an iPod Touch latest generation, running iOS 6. I’ve just done the update – just now.
I make a ‘hello world’ XCode app, and it deploys to my iOS device perfectly.
(NOTE that I have just a couple of days back, with this version of Unity / XCode / …, successfully deployed to the device FROM UNITY, but now as I will show it will FAIL)
I now make a HelloWorld UNITY app.
I set the BUNDLE IDENTIFIER to ‘com.foo.bar’ in player-settings Inspector window, iPhone tab. (I’ve learned that one must do this otherwise errors will come).
‘Build Run’
Unity brings up and starts manipulating Xcode. It appears to get all the way through the process right to the point of loading the app to the device…
And then:
It lies:
(BASH PROMPT)
$ cd /Users/sunfish7/Library/Developer/Xcode/DerivedData/__XCodeBuilds/Products/unitydeploytest.app/
$ pwd
/Users/sunfish7/Library/Developer/Xcode/DerivedData/__XCodeBuilds/Products/unitydeploytest.app
$ ls -la un*
-rwxr-xr-x 1 sunfish7 staff 26416080 1 Nov 01:00 unitydeploytest
I’ve been getting this problem intermittently for ages now. Maybe since I started using Unity? And always after some amount of random faffing about it fixes itself.
Faffing about = trying every suggestion on this Stack Overflow answer
But now it is impenetrable. I can’t get it running on the device. I can’t get past this error.
I’ve just installed fresh iOS6 on my iPod Touch latest gen. Started a fresh Unity Project. Very first run. It FAILS.
So all conversation I see from Google searching is not relevant to my case. Everyone is saying that some setting gets messed up, but in my case even on the INITIAL RUN it is failing.
I do not know what to. What the hell is this brokenness?