Skip to content

Sourcekitten 'complete' resulting in Loading standard library failed. #750

Description

@konrad1977

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions