0
내 라이브러리를 Swift Package Manager와 통합하려고합니다. 는 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와 카르타고 잘 작동합니다. 나는 정말로 많은 시간을 보냈고 내가 뭘 잘못하고 있는지 이해할 수 없다. 누군가 나를 도울 수 있기를 바랍니다!