Friday, April 1, 2011

XCode4 Debugging Problem - warning: Unable to read symbols libXcodeDebuggerSupport.dylib (file not found)

Hello,

after iOS update to 4.3.1 returned this annoying bug.

warning: Unable to read symbols for /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.1 (8G4)/Symbols/Developer/usr/lib/libXcodeDebuggerSupport.dylib (file not found)

And you cannot debug remotely your apps.
Basically that's happen because directory /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.1 (8G4)/Symbols/Developer does not exist (may be we must wait Xcode update).

To fix this issue you could just execute following command:

$ cd /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.3.1\ \(8G4\)/Symbols/
$ sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/Developer/ Developer