Linker error: Unable to insert branch island when trying to activate Script Debugging

When I try to turn on script debugging for IOS using Unity 4 the XCode project won’t link giving the error: Unable to insert branch island.

I’m using:

  • Mountain Lion 10.8.2
  • XCode 4.5.2
  • Unity 4.0.0f7
  • Scaleform IOS
  • Vuforia 2.0
  • Run target: iPhone 5 IOS 6.0.2

I’ve tried:

  • Fiddling with OS settings
  • Rebuilding to a completely blank project
  • Reinstalling XCode
  • Re provisioning the iPhone

Any ideas?

Cross posted on Unity Answers: IOS Script Debugging gives XCode Error: Unable to insert branch island - Questions & Answers - Unity Discussions

Here is some information I’ve gathered: http://forum.unity3d.com/threads/un…h-island-no-insertion-point-available.239200/
Hope it’ll help

Anyone have any fixes for this? Currently have to debug something on device but I can’t due to this error.

Did you check his own answer? http://answers.unity3d.com/questions/369405/index.html