1

我正在使用 SQLite.swift。构建项目时出现错误“未知类型名称'NS_ASSUME_NONNULL_BEGIN'”。

我所做的:

创建一个演示项目“SqlDemo”

在SqlDemo/下,创建Podfile

use_frameworks!

source 'http://git.oschina.net/akuandev/Specs.git'
pod 'SQLite.swift', git:'https://github.com/stephencelis/SQLite.swift.git'
# pod 'SQLite.swift/Cipher', git: ... # instead, for SQLCipher support

~

然后'pod安装'

之后打开 SqlDemo.xcworkspace

构建项目

这可能是一个非常简单的错误。我是 ios 开发新手。

4

0 回答 0