From 7caa1a6d92603bdc42dc676bcdf9bef08f59a211 Mon Sep 17 00:00:00 2001 From: Rustam Gamidov Date: Fri, 3 Jul 2026 15:11:04 +0300 Subject: [PATCH 1/3] Set APPLE_IOS_VERSION_MIN to 12.0 in toolchain Prevents errors like - iOS 26.1 Platform Not Installed. - 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 26.1.99. Relates-To: MINOR Signed-off-by: Rustam Gamidov --- cmake/toolchains/iOS.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/toolchains/iOS.cmake b/cmake/toolchains/iOS.cmake index 43bc03bff..67bb7878d 100644 --- a/cmake/toolchains/iOS.cmake +++ b/cmake/toolchains/iOS.cmake @@ -251,7 +251,7 @@ set (CMAKE_OSX_ARCHITECTURES ${APPLE_ARCH} CACHE STRING "Build architecture for if (VERACODE) set (APPLE_IOS_VERSION_MIN "10.0" CACHE STRING "Minimum supported Apple iOS version.") else () - set (APPLE_IOS_VERSION_MIN "11.0" CACHE STRING "Minimum supported Apple iOS version.") + set (APPLE_IOS_VERSION_MIN "12.0" CACHE STRING "Minimum supported Apple iOS version.") endif () set (APPLE_WATCH_VERSION_MIN "2.0" CACHE STRING "Minimum supported Apple Watch version.") set (APPLE_TV_VERSION_MIN "11.0" CACHE STRING "Minimum supported Apple TV version.") From 57034c2c8eda4740498a07d2b978f92c219f4023 Mon Sep 17 00:00:00 2001 From: Rustam Gamidov Date: Fri, 3 Jul 2026 15:39:28 +0300 Subject: [PATCH 2/3] sadsd --- olp-cpp-sdk-authentication/src/AuthenticationClient.cpp | 2 +- olp-cpp-sdk-authentication/tests/AuthenticationClientTest.cpp | 2 +- olp-cpp-sdk-core/src/http/ios/OLPHttpClient.mm | 1 + olp-cpp-sdk-core/src/http/ios/OLPHttpTask.h | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/olp-cpp-sdk-authentication/src/AuthenticationClient.cpp b/olp-cpp-sdk-authentication/src/AuthenticationClient.cpp index fdcc517a7..3cc7afbbc 100644 --- a/olp-cpp-sdk-authentication/src/AuthenticationClient.cpp +++ b/olp-cpp-sdk-authentication/src/AuthenticationClient.cpp @@ -21,7 +21,7 @@ #include -#include "AuthenticationClientImpl.h" +#include "AuthenticationClientImpl.h" #include "olp/authentication/AuthorizeRequest.h" #include "olp/core/client/ApiError.h" #include "olp/core/client/CancellationToken.h" diff --git a/olp-cpp-sdk-authentication/tests/AuthenticationClientTest.cpp b/olp-cpp-sdk-authentication/tests/AuthenticationClientTest.cpp index bcec8173f..341d95448 100644 --- a/olp-cpp-sdk-authentication/tests/AuthenticationClientTest.cpp +++ b/olp-cpp-sdk-authentication/tests/AuthenticationClientTest.cpp @@ -23,7 +23,7 @@ #include -#include "AuthenticationClientImpl.h" +#include "AuthenticationClientImpl.h" #include "AuthenticationClientUtils.h" #include "mocks/NetworkMock.h" diff --git a/olp-cpp-sdk-core/src/http/ios/OLPHttpClient.mm b/olp-cpp-sdk-core/src/http/ios/OLPHttpClient.mm index 9388eaafe..3dabdb100 100644 --- a/olp-cpp-sdk-core/src/http/ios/OLPHttpClient.mm +++ b/olp-cpp-sdk-core/src/http/ios/OLPHttpClient.mm @@ -19,6 +19,7 @@ #import "OLPHttpClient+Internal.h" + #import #import diff --git a/olp-cpp-sdk-core/src/http/ios/OLPHttpTask.h b/olp-cpp-sdk-core/src/http/ios/OLPHttpTask.h index 0879c28e8..93a0c2835 100644 --- a/olp-cpp-sdk-core/src/http/ios/OLPHttpTask.h +++ b/olp-cpp-sdk-core/src/http/ios/OLPHttpTask.h @@ -17,6 +17,7 @@ * License-Filename: LICENSE */ + #pragma once #import From fdbf94d8ad164b17511d6c37c18a3fd69efbafd0 Mon Sep 17 00:00:00 2001 From: Rustam Gamidov Date: Fri, 3 Jul 2026 16:01:18 +0300 Subject: [PATCH 3/3] Add line breaks to clang-format filter This excludes cmake files. clang-format is not able to format cmake scripts and makes them ugly Relates-To: MINOR Signed-off-by: Rustam Gamidov --- scripts/misc/clang_format_ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/misc/clang_format_ci.sh b/scripts/misc/clang_format_ci.sh index 645e222c4..8372338b5 100755 --- a/scripts/misc/clang_format_ci.sh +++ b/scripts/misc/clang_format_ci.sh @@ -40,7 +40,7 @@ git fetch origin master git branch --all # Get affected files and filter source files FILES=$(git diff-tree --no-commit-id --name-only --diff-filter=d -r origin/master "$CURRENT_BRANCH" \ - | grep '\.c\|\.cpp\|\.cxx\|\.h\|\.hpp\|\.hxx\|\.mm') + | grep '\.c\b\|\.cpp\b\|\.cxx\b\|\.h\b\|\.hpp\b\|\.hxx\b\|\.mm\b') if [ -z "$FILES" ]; then printf "No affected files, exiting.\n"