From 24902f4d8dfab8771643b60bbe482f0593dfba54 Mon Sep 17 00:00:00 2001 From: Vladimir Kaltyrin Date: Fri, 29 Mar 2024 22:33:47 +0300 Subject: [PATCH] chore: fixed running of tests --- .github/workflows/run_tests.yml | 2 +- SDDSCore/SDDSCore.xcodeproj/project.pbxproj | 8 ++ SDDSIcons/SDDSIcons.xcodeproj/project.pbxproj | 8 ++ .../SDDSSwiftUI.xcodeproj/project.pbxproj | 8 ++ SDDSUIKit/SDDSUIKit.xcodeproj/project.pbxproj | 8 ++ .../xcshareddata/xcschemes/SDDSUIKit.xcscheme | 79 +++++++++++++++++++ 6 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 SDDSUIKit/SDDSUIKit.xcodeproj/xcshareddata/xcschemes/SDDSUIKit.xcscheme diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 2d3f1f3b0..facc96450 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -23,4 +23,4 @@ jobs: - name: Run Unit Tests run: | set -o pipefail - xcodebuild test -workspace SDDS.xcworkspace -scheme ${{ matrix.scheme }} -destination 'platform=iOS Simulator,name=iPhone 13,OS=latest' | xcpretty + xcodebuild test -workspace SDDS.xcworkspace -scheme ${{ matrix.scheme }} -destination 'platform=iOS Simulator,name=iPhone 15,OS=latest' | xcpretty diff --git a/SDDSCore/SDDSCore.xcodeproj/project.pbxproj b/SDDSCore/SDDSCore.xcodeproj/project.pbxproj index 6bbab51aa..5c7feb012 100644 --- a/SDDSCore/SDDSCore.xcodeproj/project.pbxproj +++ b/SDDSCore/SDDSCore.xcodeproj/project.pbxproj @@ -446,6 +446,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.sd.SDDSCoreTests; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -462,6 +466,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.sd.SDDSCoreTests; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/SDDSIcons/SDDSIcons.xcodeproj/project.pbxproj b/SDDSIcons/SDDSIcons.xcodeproj/project.pbxproj index 1d0c5661c..06922c2d4 100644 --- a/SDDSIcons/SDDSIcons.xcodeproj/project.pbxproj +++ b/SDDSIcons/SDDSIcons.xcodeproj/project.pbxproj @@ -448,6 +448,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.sd.SDDSIconsTests; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -464,6 +468,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.sd.SDDSIconsTests; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/project.pbxproj b/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/project.pbxproj index 49dcee140..504be000a 100644 --- a/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/project.pbxproj +++ b/SDDSSwiftUI/SDDSSwiftUI.xcodeproj/project.pbxproj @@ -446,6 +446,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.sd.SDDSSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -462,6 +466,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.sd.SDDSSwiftUITests; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/SDDSUIKit/SDDSUIKit.xcodeproj/project.pbxproj b/SDDSUIKit/SDDSUIKit.xcodeproj/project.pbxproj index e2c8a5bc6..71ee85668 100644 --- a/SDDSUIKit/SDDSUIKit.xcodeproj/project.pbxproj +++ b/SDDSUIKit/SDDSUIKit.xcodeproj/project.pbxproj @@ -448,6 +448,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.sd.SDDSUIKitTests; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -464,6 +468,10 @@ MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.sd.SDDSUIKitTests; PRODUCT_NAME = "$(TARGET_NAME)"; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_EMIT_LOC_STRINGS = NO; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/SDDSUIKit/SDDSUIKit.xcodeproj/xcshareddata/xcschemes/SDDSUIKit.xcscheme b/SDDSUIKit/SDDSUIKit.xcodeproj/xcshareddata/xcschemes/SDDSUIKit.xcscheme new file mode 100644 index 000000000..70410293c --- /dev/null +++ b/SDDSUIKit/SDDSUIKit.xcodeproj/xcshareddata/xcschemes/SDDSUIKit.xcscheme @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +