Search code examples
iphoneios4xcode4ios-simulator

xcode 4 error: ld: library not found for -lSystem.B


Hi I am getting the following error ld: library not found for -lSystem.B, and I am not sure what to do to fix this. I have tried other StackOverflow message steps to see if that resolved it but I still get it, and in fact doing some other changes gave me another error or two along with this one. Any help would be much appreciated.

EDIT:

ld: warning: directory not found for option '-L/Users/MACOXIRIS/Documents/xCode Projects/barupay 1.3/Libraries/RestKit/Build/Debug-iphonesimulator'
ld: warning: directory not found for option '-L/Users/MACOXIRIS/Documents/xCode'
ld: warning: directory not found for option '-LProjects/barupay'
ld: warning: directory not found for option '-L1.3/Libraries/Build/Debug-iphonesimulator'
ld: library not found for -lSystem.B
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1

Ben


Solution

  • You've probably fixed the issue long time ago, but whoever stumbles upon this issue, can have a look at my answer here. Happy hacking!