Hello everybody, this is my first question for the Defold community. I am currently trying to create a native extension for a Lua framework, LÖVE, that I can put into my Defold project directory. I am running WSL 2 on Windows for context. As of right now, I have packaged the SDK’s needed for Android, Windows, HTML5, and Linux, but I am at an impasse for Apple’s XCode. With my “Xcode_15.0.1.xip” file in the local_sdk folder, I have tried unpacking using 7z, giving me header files and a large content file. Overall, my research has lead me to trying to use xar to unzip the .xip file, then PBZX v2 to process the Content file. Am I on the right track here? When I see the output after trying to run “./scripts/package/package_xcode_and_sdks.sh”:
./scripts/package/package_xcode_and_sdks.sh: line 66: pushd: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/: No such file or directory
Would I be able to move the Xcode installation (assuming xar and PBZX v2 work out) into an “Application” directory that I would make through mkdir at the root, allowing the IOS packaging script to run?
P.S.
Also, getting a bit ahead of myself, but once all of the packages are done, in .tar.gz format, and the directory served on a python HTTP server, is that all that is needed to build the Docker image properly? Since I have not built the image and run the container for extender, I am also uncertain about the process of converting the source code for LÖVE into a native extension, I would love a quick overview of the steps after the container is running. Thanks for taking the time to look over this question, I really would love to make a native extension so I can keep using Defold. Please let me know if you need more context to answer the question.