更新到最新的Xcode时出现错误:“无法构建objective-c模块csqlite”

问题描述 投票:0回答:1

更新到最新的xcode版本和swift sdk现在得到错误无法构建objective-c模块'csqlite'我正在使用CocoaPods使用Sqlite库,即pod'SQLite.swift'

enter image description here

swift sqlite xcode9
1个回答
2
投票

在线搜索丢失的材料后,我发现解决方案幸运的是没有在stackoverflow上回答。我只是将导入CSQLite中的三个import语句替换为“import SQLite3”解决了我的问题。

添加答案以帮助其他人遇到同样的问题。谢谢和平

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.