From c61b2f40e82acb91bf778b959975333bf3719d5d Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 21 Apr 2024 21:44:51 +0200 Subject: [PATCH] Export template setup for ios. --- misc/osx/create_ios_templates.sh | 16 ++++++++++++++++ misc/scripts/pre_release_check_files_present.sh | 7 +++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100755 misc/osx/create_ios_templates.sh diff --git a/misc/osx/create_ios_templates.sh b/misc/osx/create_ios_templates.sh new file mode 100755 index 000000000..3ee4e4b30 --- /dev/null +++ b/misc/osx/create_ios_templates.sh @@ -0,0 +1,16 @@ +cd ../../bin/ + +rm -Rf ios_xcode +rm -f iphone.zip + +cp -r ../misc/dist/ios_xcode ios_xcode + +cp libpandemonium.iphone.opt.arm64.a ios_xcode/libpandemonium.iphone.release.xcframework/ios-arm64/libpandemonium.a +cp libpandemonium.iphone.opt.x86_64.simulator.a ios_xcode/libpandemonium.iphone.release.xcframework/ios-arm64_x86_64-simulator/libpandemonium.a + +cp libpandemonium.iphone.opt.debug.arm64.a ios_xcode/libpandemonium.iphone.debug.xcframework/ios-arm64/libpandemonium.a +cp libpandemonium.iphone.opt.debug.x86_64.simulator.a ios_xcode/libpandemonium.iphone.debug.xcframework/ios-arm64_x86_64-simulator/libpandemonium.a + +cd ios_xcode + +zip -q -r ../iphone.zip * diff --git a/misc/scripts/pre_release_check_files_present.sh b/misc/scripts/pre_release_check_files_present.sh index ac094655b..e5bcd8eb4 100755 --- a/misc/scripts/pre_release_check_files_present.sh +++ b/misc/scripts/pre_release_check_files_present.sh @@ -104,11 +104,14 @@ files=( "pandemonium.frt_sdl.opt.debug.arm32v7" "pandemonium.frt_sdl.opt.debug.arm64v8" - # OSX - Editor + # OSX - final editor "Pandemonium.app.zip" - # OSX - export templates + # OSX - final export templates "osx.zip" + + # IOS - final template + "iphone.zip" ) error=0