调试 MonoTouch 时 iOS 模拟器出错 - 仅安装 4.3 时出现 3.2 SDK 错误?
当尝试在新的 Lion 10.7.1/MonoTouch 4.0.7/MonoDevelop 2.6/XCode 4.1 (4B110) 安装上调试正在运行的 iOS 应用程序时,我收到有关 libsqlite3 的错误:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/lib/libsqlite3.dylib :解析文件:/Users/ben/Library/Application Support/iPhone 模拟器/4.3.2/应用程序/BB35EEFB-5700-466F-BD50-FF296D308FE6/文档/数据库文件 未将对象引用设置为对象的实例
,该文件似乎不存在:
ls /开发者/平台/iPhoneSimulator.platform/开发者/SDKs/iPhoneSimulator3.2.sdk/ LS: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/: 没有这样的文件或目录
我只安装了iPhoneSimulator4.3.sdk。任何人都知道什么会尝试挂钩此文件?
When attempting to debug a working iOS app on a new Lion 10.7.1/MonoTouch 4.0.7/MonoDevelop 2.6/XCode 4.1 (4B110) install, I get an error regarding libsqlite3:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/lib/libsqlite3.dylib
: parsing file : /Users/ben/Library/Application Support/iPhone
Simulator/4.3.2/Applications/BB35EEFB-5700-466F-BD50-FF296D308FE6/Documents/databasefile
Object reference not set to an instance of an object
I checked, this file does not appear to exist:
ls
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/
ls:
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/:
No such file or directory
I only have the iPhoneSimulator4.3.sdk installed. Anyone have any ideas what would be attempting to hook this file?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个已知问题,已在 MonoTouch 4.2 中修复。如果您无法立即更新,可以使用解决方法。
This is a known issue that is fixed in MonoTouch 4.2. There is a workaround if you cannot update immediately.