broken_seals_2d/build_ios.sh

20 lines
606 B
Bash
Raw Normal View History

2019-12-19 15:39:59 +01:00
export SCONS_CACHE=~/.scons_cache
export SCONS_CACHE_LIMIT=5000
cd ./engine
2020-07-08 23:25:40 +02:00
scons -j6 p=iphone tools=no target=release_debug arch=arm module_arkit_enabled=no game_center=no
scons -j6 p=iphone tools=no target=release_debug arch=arm64 module_arkit_enabled=no game_center=no
2019-12-19 15:39:59 +01:00
lipo -create bin/libgodot.iphone.opt.debug.arm.a bin/libgodot.iphone.opt.debug.arm64.a -output bin/libgodot.iphone.debug.fat.a
rm bin/ios_xcode/libgodot.iphone.debug.fat.a
cp bin/libgodot.iphone.debug.fat.a bin/ios_xcode/libgodot.iphone.debug.fat.a
rm bin/iphone.zip
cd bin/ios_xcode
zip -r -X ../iphone.zip .
cd ..
cd ..
cd ..