Closed gery closed 3 years ago
Hello.
SwiftGtk takes advantage of generated code. Have you run .run-gir2swift.sh
(or .build.sh
) script?
I'm closing this for the moment. Let me know if you still have issues after running ./run-gir2swift.sh
(see README.md).
Swift version 5.3.2 (swift-5.3.2-RELEASE)
/home/gery/Downloads/SwiftGtk-main/.build/checkouts/SwiftGLib/Sources/GLib/String.swift:34:18: error: cannot find type 'StringRef' in scope public extension StringRef { ^) {
~~~~ /home/gery/Downloads/SwiftGtk-main/.build/checkouts/SwiftGLib/Sources/GLib/String.swift:42:27: error: cannot find type 'StringType' in scope public class StringClass: StringType { ^~~~~~ /home/gery/Downloads/SwiftGtk-main/.build/checkouts/SwiftGLib/Sources/GLib/String.swift:44:32: error: initializer does not override a designated initializer from its superclass @inlinable override public init(_ op: UnsafeMutablePointer