pookjw / SidecarPatcher

Enables Sidecar on old Mac and iPad for macOS 10.15
GNU General Public License v3.0
664 stars 53 forks source link

does not work in iMac Late 2013 running Catalina #140

Closed mhykgyver closed 1 year ago

mhykgyver commented 1 year ago

Got this error when I run main.swift:

[/Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface:21465:21: error: module 'Builtin' has no member named 'convertUnownedUnsafeToGuaranteed' return try body(Builtin.convertUnownedUnsafeToGuaranteed(fakeBase, ^~~ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/lib/swift/Swift.swiftmodule/x8664-apple-macos.swiftinterface:25020:10: error: 'init(:)' is only available in macOS 11.0 or newer self.init(Substring(text)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/lib/swift/Swift.swiftmodule/x86_64-apple-macos.swiftinterface:25020:10: note: add 'if #available' version check self.init(Substring(text)) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/lib/swift/Swift.swiftmodule/x8664-apple-macos.swiftinterface:25018:21: note: add @available attribute to enclosing initializer @inlinable public init?( text: S) where S : Swift.StringProtocol { ^

:0: error: failed to load module 'Swift'](url)
mhykgyver commented 1 year ago

after updating xcode commandline tools, it worked....thanks

Git-MK7 commented 9 months ago

after updating xcode commandline tools, it worked....thanks

how did u update?