Open Valeryn4 opened 4 years ago
Your SDK version is too old for ARKit support (and for publishing any game on the current App Store).
Your SDK version is too old for ARKit support (and for publishing any game on the current App Store).
This is the latest version of the SDK.
ARKit success:
[100%] /home/valeryn/dev/iostoolchain/usr/bin/arm-apple-darwin11-ar rc bin/libgodot_arkit_module.iphone.opt.arm64.a modules/arkit/register_types.iphone.opt.arm64.o modules/arkit/arkit_interface.iphone.opt.arm64.o modules/arkit/arkit_session_delegate.iphone.opt.arm64.o
[100%] /home/valeryn/dev/iostoolchain/usr/bin/arm-apple-darwin11-ranlib bin/libgodot_arkit_module.iphone.opt.arm64.a
The problem with the main module.
[100%] can't set the modifiy times in output file: [100%] can't set the modifiy times in output file: /home/valeryn/dev/godot/bin/libgodot.iphone.opt.arm64.a.RzuwDG (No such file or directory)
[100%] scons: *** Error 1
You're targeting SDK 9 here:
IPHONE_SDK="${HOME}/dev/IPhoneSDK/iPhoneOS9.1.sdk"
Application\Xcode.app\Developer\Platforms\iPhoneOS.platform\Developer\SDKs\iPhoneOS.sdk* Application\Xcode.app\Developer\Toolchains\XcodeDefault.xctoolchain\usr\include\c++* I copied from the last Xcode. I copied it directly from the macbook
I acted according to the instructions, targeting IOS 9.1 In the last build, I disabled Arkit: module_arkit_enabled=no But the problem persists
ARKit is going to a separate module. This module are not part of the main library.
I am now rebuilding SDK for version 13.0. I’ll tell you exactly in an hour. But there is a problem in the documentation, it is too old.
ERROR:
fatal error: /home/valeryn/dev/iostoolchain_13.0_arm64/usr/bin/arm-apple-darwin11-libtool: can't set the modifiy times in output file: /home/valeryn/dev/godot/bin/libgodot.iphone.opt.arm64.a.91AfEM (No such file or directory)
scons: *** Error 1
[100%] scons: done building targets.
If you just rename this file, everything seems to work ... (need testing)
build.sh ~/dev/IPhoneSDK/iPhoneOS13.0.sdk.tar.xz arm64 cp bin to iostoolchain_13.0_arm64/usr/
build script:
#!/bin/bash
GODOT_FOLDER=$1
echo "GODOT_FOLDER = $1"
TARGET=$2
echo "TARGET = $2"
THREADS=$3
echo "THREADS = $3"
IPHONE_SDK="${HOME}/dev/IPhoneSDK/iPhoneOS13.0.sdk"
echo "IPHONE_SDK=${IPHONE_SDK}"
IPHONE_PATH_ARM64="${HOME}/dev/iostoolchain_13.0_arm64"
echo "IPHONE_PATH_ARM64=${IPHONE_PATH_ARM64}"
FLAGS="tools=no game_center=no store_kit=no debug_symbols=no module_arkit_enabled=no disable_3d=yes disable_advanced_gui=yes no_editor_splash=yes deprecated=no optimize=size"
echo "${FLAGS}"
cd $GODOT_FOLDER
scons -j ${THREADS} platform=iphone arch=arm64 target=$TARGET IPHONESDK="${IPHONE_SDK}" IPHONEPATH="${IPHONE_PATH_ARM64}" ios_triple="arm-apple-darwin11-" ${FLAGS}
Presumably can be closed?
Godot version: 3.2+
OS/device including version: iPhone all and Linux Ubuntu 18 LTE
Issue description: Apple does not provide a “DMG” file. They provide a "XIP" file. Need instructions on how to unpack XIP
I asked a friend from his MacBook, the source code of the SDK Xcode. Build error:
This file on this path is available: /home/valeryn/dev/godot/bin/libgodot.iphone.opt.arm64.a.RzuwDG
Other modules are built without error.
I use such a script:
$ ~/dev/build.sh ~/godot release 4