From d6f87253614490130564b663bf380e8cb03154a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20=C4=8Eurech?= Date: Thu, 6 Jun 2024 14:23:52 +0200 Subject: [PATCH] Cherry pick pull request #596 from wultra/issues/593-xcode-warnings Xcode 15.x warnings --- proj-xcode/PowerAuth2/PowerAuthLog.h | 4 ++-- scripts/config-apple.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/proj-xcode/PowerAuth2/PowerAuthLog.h b/proj-xcode/PowerAuth2/PowerAuthLog.h index 47b1d1a9..2e843336 100644 --- a/proj-xcode/PowerAuth2/PowerAuthLog.h +++ b/proj-xcode/PowerAuth2/PowerAuthLog.h @@ -33,7 +33,7 @@ // Implementations - PA2_EXTERN_C void PowerAuthLogImpl(NSString * format, ...); + PA2_EXTERN_C void PowerAuthLogImpl(NSString * _Nonnull format, ...); // Macros @@ -79,7 +79,7 @@ PA2_EXTERN_C BOOL PowerAuthLogIsVerbose(void); is used internally in the PowerAuth SDK. This kind of warnings are always printed to the DEBUG console and cannot be supressed by configuration. */ -PA2_EXTERN_C void PowerAuthCriticalWarning(NSString * format, ...); +PA2_EXTERN_C void PowerAuthCriticalWarning(NSString * _Nonnull format, ...); /** Protocol that represents a delegate that can tap into the library logs and use them for example diff --git a/scripts/config-apple.sh b/scripts/config-apple.sh index 8bc83942..aec48d72 100644 --- a/scripts/config-apple.sh +++ b/scripts/config-apple.sh @@ -1,5 +1,5 @@ # Platform CPU architectures -ARCH_IOS="arm64 arm64e" +ARCH_IOS="arm64" ARCH_IOS_SIM="x86_64 arm64" ARCH_CATALYST="x86_64" ARCH_TVOS="arm64"