From ea17d9679f681cbe4ccc8a58710c3a7f7a9c7357 Mon Sep 17 00:00:00 2001 From: Andrey Frolov Date: Thu, 21 Mar 2024 19:41:04 +0100 Subject: [PATCH] SPT-1998 update make file --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d341f7a8..de6fb5f5 100644 --- a/Makefile +++ b/Makefile @@ -13,11 +13,11 @@ build: ## Used to build target with SPM dependencies. Usually, it is not called manually, it is necessary for the CI to work. spm_build: swift package clean - swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios15.5-simulator" -Xswiftc "-lswiftUIKit" + swift build --sdk "`xcrun -sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "x86_64-apple-ios17.4-simulator" -Xswiftc "-lswiftUIKit" ## Run tests test: - xcodebuild test -scheme NodeKit -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES -destination 'platform=iOS Simulator,name=iPhone 8,OS=15.5' | bundle exec xcpretty -c + xcodebuild test -scheme NodeKit -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -enableCodeCoverage YES -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.4' | bundle exec xcpretty -c ## Created documentation by comments from code doc: