godotengine/build-containers

OSX build error missing MacOSX14.2.sdk.tar.xz

ajlennon opened this issue · 7 comments

Hi everybody. I'm trying to create some build containers here and getting an error trying to build the OSX container (I have the XCode in there etc. but can't see what I'm doing wrong. Can anybody help? Thanks!

VirtualBox_Fedora r39_06_05_2024_11_58_16

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 and files/iPhoneOS17.2.sdk.tar.xz. If not, there should be errors in the logs.

No I don't have those...

Really odd ownership problem

VirtualBox_Fedora r39_06_05_2024_15_39_24

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!

Done! Thanks for the help will close this off!

VirtualBox_Fedora r39_06_05_2024_20_03_16

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.