初学者关于在 Swift 代码中包含 Parse Framework 的问题。
我在“Link Binary With Libraries”中添加了 Parse Framework,但我仍然遇到这些错误:
Undefined symbols for architecture x86_64: "_sqlite3_bind_blob", referenced from: -[PFSQLiteDatabase _bindObject:toColumn:inStatement:] in Parse(PFSQLiteDatabase.o ...
最佳答案
要使用 Parse,您需要从“Link Binary With Libraries”(来自 parse documentation)添加以下框架:
- AudioToolbox.framework
- CFNetwork.framework
- CoreGraphics.framework
- CoreLocation.framework
- QuartzCore.framework
- Security.framework
- StoreKit.framework
- SystemConfiguration.framework
- libz.dylib
- libsqlite3.dylib
If you're using the -ObjC linker flag required by some third-party libraries, add these as well:
- Accounts.framework
- Social.framework
您必须缺少 libz.dylib 和 libslite3.dylib。添加上面列表中缺少的那些。
关于ios - 引用错误包括 Swift Xcode 7 中的解析框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33113017/