I tried the complete version from documentation but with my current SDK.
sourcekitten complete --text "import UIKit ; UIColor." --offset 22 -- -target arm64-apple-ios16.0-simulator -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk
:0: warning: using sysroot for 'MacOSX' but targeting 'iPhone'
:0: error: unable to load standard library for target 'arm64-apple-ios16.0-simulator'
Error: Loading the standard library failed
I don't know whats wrong. Any ideas?
I tried the complete version from documentation but with my current SDK.
sourcekitten complete --text "import UIKit ; UIColor." --offset 22 -- -target arm64-apple-ios16.0-simulator -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk:0: warning: using sysroot for 'MacOSX' but targeting 'iPhone'
:0: error: unable to load standard library for target 'arm64-apple-ios16.0-simulator'
Error: Loading the standard library failed
I don't know whats wrong. Any ideas?