我正在开发iPhone OS 3.1.3, 我需要使用投影箱API。
问题是投放箱API至少需要 iOS 4.2.。
我决定保留在3.1.3下使用该方案的可能性,但如果方案4.2及以上,将具有 " 滴箱 " 功能。
要使用我需要的“放箱”框架来连接另一个框架:
- Security.framework
- QuartzCore.framework
我这样做了。
当我链接 Dropbox. framework 到我的项目时, 这个程序在 iPhone 模拟器上效果很好, 但无法在我的 iPhone 3.1.3 上启动。 输出有错误 :
dyld: Symbol not found: _kSecAttrAccessible Referenced from: /var/mobile/Applications/C1FC10E5-0A36-4DEB-BD27-5028C205C89D/Bus Time.app/Bus Time Expected in: /System/Library/Frameworks/Security.framework/Security in /var/mobile/Applications/C1FC10E5-0A36-4DEB-BD27-5028C205C89D/Bus Time.app/Bus Time
所以问题是:
Can I detect the iOS version on the program start and unlink the framework? Or could you offer an another way to use dropbox for 3.1.3?
谢谢你的回答,我很感激