OSX build error missing MacOSX14.2.sdk.tar.xz
ajlennon opened this issue · 7 comments
Trying buidling as root user - same error
Did you download Xcode 15.2 and place it in files/Xcode_15.2.xip
?
If yes, does the logs/xcode_packer.log
log show success, or did something fail?
If everything works as it should, you should have files/MacOSX14.2.sdk.tar.xz
and files/iPhoneOS17.2.sdk.tar.xz
. If not, there should be errors in the logs.
Did you download Xcode 15.2 and place it in
files/Xcode_15.2.xip
?
Yes it's there
If yes, does the
logs/xcode_packer.log
log show success, or did something fail?
Error opening xar archive: /root/files/Xcode_15.2.xip
Is it some kind of path prefix issue?
If everything works as it should, you should have
files/MacOSX14.2.sdk.tar.xz
andfiles/iPhoneOS17.2.sdk.tar.xz
. If not, there should be errors in the logs.
No I don't have those...
ok very very very odd there. I changed permissions with no joy. Copied the Xcode...xip file to another file then deleted the original and renamed the copy and now the file permissions as OK. not seen that before. Most odd!
I pushed a small change which should provide a better error message when this happens:
Error: 'files/Xcode_15.2.xip' is required for Apple platforms, but was not found or couldn't be read.
It can be downloaded from https://developer.apple.com/download/more/ with a valid apple ID.