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和迦太基做工精細。我真的花了很多時間,不明白我做錯了什麼。希望可以有人幫幫我!