From b7b1b9e92dc34dc4dba0b69c785c887a7086f4b8 Mon Sep 17 00:00:00 2001 From: Nicholas Frechette Date: Thu, 23 Nov 2023 19:19:57 -0500 Subject: [PATCH 1/2] chore: bump iOS deployment target version --- cmake/Toolchain-iOS.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Toolchain-iOS.cmake b/cmake/Toolchain-iOS.cmake index 4bc4c44c..ffa914f8 100644 --- a/cmake/Toolchain-iOS.cmake +++ b/cmake/Toolchain-iOS.cmake @@ -14,4 +14,4 @@ set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "") set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "") set(CMAKE_OSX_SYSROOT iphoneos CACHE STRING "") set(CMAKE_OSX_ARCHITECTURES arm64 CACHE STRING "") -set(CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET 11.0) +set(CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET 17.0) From 78b33cf581b007da21f993f794607de80a982fee Mon Sep 17 00:00:00 2001 From: Nicholas Frechette Date: Thu, 23 Nov 2023 19:35:57 -0500 Subject: [PATCH 2/2] fix: set iOS product bundle identifier --- tests/main_ios/CMakeLists.txt | 3 +++ tools/acl_decompressor/main_ios/CMakeLists.txt | 3 +++ tools/regression_tester_ios/CMakeLists.txt | 3 +++ 3 files changed, 9 insertions(+) diff --git a/tests/main_ios/CMakeLists.txt b/tests/main_ios/CMakeLists.txt index 4fdfc5b0..344ad986 100644 --- a/tests/main_ios/CMakeLists.txt +++ b/tests/main_ios/CMakeLists.txt @@ -57,3 +57,6 @@ endif() # Enable ANSI heap debug checks add_definitions(-DACL_ALLOCATOR_TRACK_NUM_ALLOCATIONS) add_definitions(-DACL_ALLOCATOR_TRACK_ALL_ALLOCATIONS) + +# Set XCode properties +set_property(TARGET ${PROJECT_NAME} PROPERTY XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.acl.acl-unit-tests") diff --git a/tools/acl_decompressor/main_ios/CMakeLists.txt b/tools/acl_decompressor/main_ios/CMakeLists.txt index b669e095..e44f5f47 100644 --- a/tools/acl_decompressor/main_ios/CMakeLists.txt +++ b/tools/acl_decompressor/main_ios/CMakeLists.txt @@ -66,6 +66,9 @@ endif() # Enable SJSON add_definitions(-DACL_USE_SJSON) +# Set XCode properties +set_property(TARGET ${PROJECT_NAME} PROPERTY XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.acl.acl-decompressor") + target_link_libraries(${PROJECT_NAME} PRIVATE "-framework CoreFoundation") set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${PROJECT_SOURCE_DIR}/Info.plist.in) diff --git a/tools/regression_tester_ios/CMakeLists.txt b/tools/regression_tester_ios/CMakeLists.txt index 524cd383..c405c0d7 100644 --- a/tools/regression_tester_ios/CMakeLists.txt +++ b/tools/regression_tester_ios/CMakeLists.txt @@ -67,4 +67,7 @@ endif() # Enable SJSON add_definitions(-DACL_USE_SJSON) +# Set XCode properties +set_property(TARGET ${PROJECT_NAME} PROPERTY XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "com.acl.acl-regression-tester") + target_link_libraries(${PROJECT_NAME} "-framework CoreFoundation")