I’m having numerous compiling issues trying to test my apps on my phone that all seem to be random and intermitent (I just retry to fix them). The most annoying is an endless Loading… screen on my IPhone. Xcode (4.1) will say build succeeded and the app attempts to launch on my phone and just never does. The frustrating part is that I never do any thing to fix it, it just works after 4 or 5 tries. No amount of waiting will make it work (30+minutes of waiting did nothing). I didn’t see anything under FAQ’s or known issues. Anyone seen this? It’s really slowing progress now that I’m trying to fine tune controls on the device.
I think I may have found the pattern. If I compile over the same directory name as a previous one (even if the directory is deleted) it seems to cause this issue. Perhaps Xcode caches it or something. Just thought I’d share that.
I got in the habit of doing a make clean
This issue has not really gone away completely and as my app gets bigger it seems to be more and more frequent. This morning I had to do 5 builds in order to get one that would launch. This is really starting to get frustrating.
In Xcode I get 3 warnings. I get one message that some of the code can be updated. This doesn’t change anything eitherway. It seems to successfully update the code but that doesn’t make it runable. The other 2 messages are the same which is reporting a missing directory, but it’s the root directory of the whole app and it’s definietly there.
Sometimes the app will pop-up the Unity screen for a second then leave (on the iphone), other times it will stay up forever. Is there any diagonstic advice for this? It’s especially frustrating that it appears to be random and for no reason as I do nothing different. I always build to a new directory name.