Boyer
(布衣男儿)
1
2. use MyLibrary
import MyLibrary
struct ContentView: View {
var body: some View {
MyLibrary(image: .init(systemName: "star.slash.fill"))
.offset(x: 0, y: -130)
.padding(.bottom, -130)
}
}
build error:
Showing Recent Messages
Undefined symbol: nominal type descriptor for MyLibrary.MyLibrary
Undefined symbol: type metadata for MyLibrary.MyLibrary
Undefined symbol: MyLibrary.MyLibrary.init(image: SwiftUI.Image, borderColor: SwiftUI.Color, shadowRadius: CoreGraphics.CGFloat) -> MyLibrary.MyLibrary
Undefined symbol: protocol conformance descriptor for MyLibrary.MyLibrary : SwiftUI.View in MyLibrary