2012-03-14 66 views
0

图书馆当我在IPhone模拟器5.1上运行应用程序,我收到错误如何修复这个错误没有找到-lSystem.B

图书馆没有找到-lSystem.B

但是当运行在我iPhone(iOS 5.1),应用程序运行没有错误。

如何解决这个错误?

+0

参见[备用堆栈溢出线索] [1] [1]:http ://stackoverflow.com/questions/5346250/how-can-i-build-in-xcode-4-for-an-ios-3-1-deployment-target-using-libsystem-b – 2012-07-27 16:22:49

回答

3

我解决了这个错误:从

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib

复制libSystem.B.dylib文件

Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/usr/lib

相关问题