Hello, would like to add that https://scaleway.com/ offers pretty cheap mac m1 (2.4 euro per 24 hours minimal, than machine can be deleted) to extract sdk from. VNC works very slow(almost unusable) but SSH works well and good for getting SDK.
Btw, you mentioned good way to get sdk from file. So it's theoretically possible to get sdk from xcode image files without mac?
I've researched a bit and found following:
1. here the list of xcode downloads (updateble and permanent )
https://stackoverflow.com/questions/10335747/how-to-download-xcode-dmg-or-xip-file
2. i've downloaded and extracted xip...but as i understand inside xip file there'is tricky container with pbzx signature...i've found some ways to extract(may be wrong) but didn't tried
https://gist.github.com/bruienne/ec5205408b9e52bd5cfc
= but is it really possible to extract sdk from this big file?
:: @Sokharev added on 19 Jan ’22 · 08:51
Here another more clean try to unpack xip file (but in linux!)
https://gist.github.com/phracker/1944ce190e01963c550566b749bd2b54