【问题标题】:How fix this error Library not found for -lSystem.B如何修复此错误 Library not found for -lSystem.B
【发布时间】:2012-03-30 13:00:27
【问题描述】:
当我在 iPhone 模拟器 5.1 上运行应用程序时收到错误消息
找不到 -lSystem.B 的库
但在我的 iPhone (iOS 5.1) 上运行时,应用程序运行时没有错误。
如何解决这个错误?
【问题讨论】:
标签:
iphone
ios
ios5
ios-simulator
【解决方案1】:
我解决了这个错误:从
复制
libSystem.B.dylib 文件
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/lib
到
Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/usr/lib