2012-03-14 22 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

相關問題