spotify / XCRemoteCache

Other
838 stars 52 forks source link

Questions: Where could we find all possible values of `--platform`? #29

Closed imWildCat closed 2 years ago

imWildCat commented 2 years ago

Hello,

Looks like there're something missing in the documentation?

xcodebuild -showsdks can show all the SDK installed but I'm not sure what it means for iphonesimulator on M1 Macs? It is x86 or ARM?

$ xcodebuild -showsdks
DriverKit SDKs:
        DriverKit 21.0.1                -sdk driverkit21.0.1

iOS SDKs:
        iOS 15.0                        -sdk iphoneos15.0

iOS Simulator SDKs:
        Simulator - iOS 15.0            -sdk iphonesimulator15.0

macOS SDKs:
        macOS 12.0                      -sdk macosx12.0

tvOS SDKs:
        tvOS 15.0                       -sdk appletvos15.0

tvOS Simulator SDKs:
        Simulator - tvOS 15.0           -sdk appletvsimulator15.0

watchOS SDKs:
        watchOS 8.0                     -sdk watchos8.0

watchOS Simulator SDKs:
        Simulator - watchOS 8.0         -sdk watchsimulator8.0
polac24 commented 2 years ago

Hi! --platform is not defined in the XCRemoteCache itself, but its aim is to correspond to the Xcode's PLATFORM_NAME: iphonesimulator,iphoneosetc. For M1, it is stilliphonesimulator`.

imWildCat commented 2 years ago

Thanks for the answer!