0
我试图将我的库与Swift包管理器集成。 运行swift build
之后,它成功下载的依赖,但后来它也给我下面的错误:未声明类型adter'swift build'
/Users/nikita/Documents/Projects/Projects/TestFramezilla/test/Packages/Framezilla-0.1.1/Sources/UIView+Installer.swift:14:18: error: use of undeclared type 'UIView'
public extension UIView {
^~~~~~
/Users/nikita/Documents/Projects/Projects/TestFramezilla/test/Packages/Framezilla-0.1.1/Sources/UIView+Installer.swift:29:18: error: use of undeclared type 'UIView'
public extension UIView {
^~~~~~
/Users/nikita/Documents/Projects/Projects/TestFramezilla/test/Packages/Framezilla-0.1.1/Sources/UIView+Relations.swift:27:11: error: use of undeclared type 'UIView'
extension UIView {
^~~~~~
/Users/nikita/Documents/Projects/Projects/TestFramezilla/test/Packages/Framezilla-0.1.1/Sources/UIView+Relations.swift:39:18: error: use of undeclared type 'UIView'
public extension UIView {
的CocoaPods和迦太基做工精细。我真的花了很多时间,不明白我做错了什么。希望可以有人帮帮我!