有人成功使用 SQLiteCipher.swift 吗?
SQLite.swift 安装并使用 cocoapods。
https://github.com/stephencelis/SQLiteCipher.swift建议安装 cocoapods
使用框架!
pod 'SQLiteCipher.swift', git: 'https://github.com/stephencelis/SQLiteCipher.swift.git '
这导致:
[!] 无法找到“SQLiteCipher.swift”的规范。
然后 doco 建议手动安装:
将 SQLiteCipher.xcodeproj 文件拖到您自己的项目中。 (首先子模块或克隆项目。)
在目标的常规选项卡中,单击链接框架和库下的 + 按钮。
为您的平台选择合适的 SQLiteCipher.framework。
点击添加。
这导致 No such module SQLiteCipher。
我已经尝试了互联网上的每一个“没有这样的模块”修复...... nada
任何见解表示赞赏!提前致谢
最佳答案
看起来“自述”文件已过时。 我遇到了同样的问题,这里是解决方案(它对我有用,但根据讨论,它并不完美):
pod 'SQLiteCipher.swift',
git: 'https://github.com/stephencelis/SQLite.swift.git',
branch: 'swift-2'
关于swift - SQLite.swift 和 SQLiteCipher.swift 有人成功使用过吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35466107/