diff --git a/CI/ios/post_pack.sh b/CI/ios/post_pack.sh deleted file mode 100755 index 8fc66bd3d..000000000 --- a/CI/ios/post_pack.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -"$1/ios/zip2ipa.sh" "$2" diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a71610aa..f736ce6d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -621,6 +621,7 @@ elseif(APPLE_MACOS AND NOT ENABLE_MONOLITHIC_INSTALL) add_subdirectory(osx) elseif(APPLE_IOS) set(CPACK_GENERATOR ZIP) + set(CPACK_ARCHIVE_FILE_EXTENSION ipa) set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF) set(CPACK_INSTALL_CMAKE_PROJECTS "${CMAKE_CURRENT_BINARY_DIR};${CMAKE_PROJECT_NAME};app;/") else() diff --git a/ios/zip2ipa.sh b/ios/zip2ipa.sh deleted file mode 100755 index 2c37459d1..000000000 --- a/ios/zip2ipa.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash - -generatedZip="$1" -if [[ -z "$generatedZip" ]]; then - echo 'generated zip not provided as param' - exit 1 -fi - -mv "$generatedZip" "$(basename "$generatedZip" .zip).ipa"