Unity -> Xcode 'Unknown Error Occurred' after it says running on device

To preface, I am pretty unfamiliar with macs and xcode, that said I was able to successfully build to my iphone 3gs multiple times with my latest app, however recently any build I attempt from any project, even a fresh ios test app results in it compiling but fails to run. It will say its running then eventually say ‘Unknown error has occurred’

I’ve tried:

  • New project
  • Re-adding provisioning profiles
  • Updating iOS to latest 6.x version
  • New devices can receive the app fine

Details:

  • Unity 4.3.4
  • Xcode 5.1 on Snowleopard 10.8 VM
  • iPhone 3GS with latest iOS 6.x

Has anyone experienced anything like this? It’s been extremely frustrating and I can’t seem to find any leads on this. Most error messages usually spit out an actual error message.

Thanks in advance

Jeff

Have you tried simulator? It will let you to jump into problem or reason causing this

After exhausting tons of effort, what finally worked for me was:

  • Archive it from Xcode to create an ipa
  • Get that ipa onto your PC
  • Use iFunBox to install it under Fast Install Mode

Hope that helps someone else in the same situation!

For those experiencing this in 2018, I managed to fix this error by closing all apps on my iPhone (7 Plus) and restarting XCode.