2019-11-20 13:38:23 +01:00
|
|
|
|
|
|
|
export SCONS_CACHE=~/.scons_cache
|
|
|
|
export SCONS_CACHE_LIMIT=5000
|
|
|
|
|
|
|
|
cd ./engine
|
|
|
|
|
2020-01-02 23:11:26 +01:00
|
|
|
scons -j6 p=iphone tools=no target=release arch=arm module_arkit_enabled=no game_center=no
|
|
|
|
scons -j6 p=iphone tools=no target=release arch=arm64 module_arkit_enabled=no game_center=no
|
2019-11-20 13:38:23 +01:00
|
|
|
lipo -create bin/libgodot.iphone.opt.arm.a bin/libgodot.iphone.opt.arm64.a -output bin/libgodot.iphone.release.fat.a
|
|
|
|
rm bin/ios_xcode/libgodot.iphone.release.fat.a
|
|
|
|
cp bin/libgodot.iphone.release.fat.a bin/ios_xcode/libgodot.iphone.release.fat.a
|
|
|
|
|
|
|
|
rm bin/iphone.zip
|
|
|
|
cd bin/ios_xcode
|
|
|
|
zip -r -X ../iphone.zip .
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
|
|
cd ..
|