Can't debug with Xcode 5

The apps build and can be run manually on the device. However, it always ends up with this error

which prevented me from debugging

I’ve tried restarting xcode and the mac, deleted the deriveddata folder and deleted the apps from the device.

I’m using Unity 3.5.7 with xcode version 5.0.

Any helps are appreciated

Try cleaning Xcode DerivedData folder

Don’t know if it is the same issue, but try to “Build” your project, instead of “Build and run”. Then start Xcode by opening the xcode project built by Unity.

Already tried. Still no go

Tried. No dice.

Finally found out the problem. My minimum deployment os version was set to 4.3 in Unity.