diff --git a/.github/workflows/iostest.yml b/.github/workflows/iostest.yml index ca2d218..4e20551 100644 --- a/.github/workflows/iostest.yml +++ b/.github/workflows/iostest.yml @@ -52,7 +52,11 @@ jobs: - name: Show available destinations run: xcodebuild -scheme SwiftUI-Notes -showdestinations - - name: Run the Combine test suite + - name: Run the Combine test suite (macOS) + run: | + xcodebuild -scheme SwiftUI-Notes test + + - name: Run the Combine test suite (iOS) run: | xcodebuild -scheme SwiftUI-Notes \ -configuration Debug \ diff --git a/SwiftUI-Notes.xcodeproj/project.pbxproj b/SwiftUI-Notes.xcodeproj/project.pbxproj index 992bdb8..c16246f 100644 --- a/SwiftUI-Notes.xcodeproj/project.pbxproj +++ b/SwiftUI-Notes.xcodeproj/project.pbxproj @@ -3,7 +3,7 @@ archiveVersion = 1; classes = { }; - objectVersion = 52; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ @@ -476,8 +476,9 @@ 1AC8C76D22B1BED80064C1AE /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 1100; - LastUpgradeCheck = 1210; + LastUpgradeCheck = 1540; ORGANIZATIONNAME = "SwiftUI-Notes"; TargetAttributes = { 1A6006DD22D267F10030A471 = { @@ -485,18 +486,15 @@ }; 1A6006F222D267F30030A471 = { CreatedOnToolsVersion = 11.0; - TestTargetID = 1A6006DD22D267F10030A471; }; 1AC8C77422B1BED80064C1AE = { CreatedOnToolsVersion = 11.0; }; 1AC8C78A22B1BED90064C1AE = { CreatedOnToolsVersion = 11.0; - TestTargetID = 1AC8C77422B1BED80064C1AE; }; 1AEA9C2322CD5FE7006709F1 = { CreatedOnToolsVersion = 11.0; - TestTargetID = 1AC8C77422B1BED80064C1AE; }; }; }; @@ -753,7 +751,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = BDV4VC27D3; INFOPLIST_FILE = "UIKit-CombineTests/Info.plist"; @@ -766,7 +763,6 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/UIKit-Combine.app/UIKit-Combine"; }; name = Debug; }; @@ -774,7 +770,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = BDV4VC27D3; INFOPLIST_FILE = "UIKit-CombineTests/Info.plist"; @@ -787,7 +782,6 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/UIKit-Combine.app/UIKit-Combine"; }; name = Release; }; @@ -828,6 +822,7 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -889,6 +884,7 @@ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu11; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -955,7 +951,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = BDV4VC27D3; INFOPLIST_FILE = "SwiftUI-NotesTests/Info.plist"; @@ -968,7 +963,6 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftUI-Notes.app/SwiftUI-Notes"; }; name = Debug; }; @@ -976,7 +970,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = BDV4VC27D3; INFOPLIST_FILE = "SwiftUI-NotesTests/Info.plist"; @@ -989,14 +982,12 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftUI-Notes.app/SwiftUI-Notes"; }; name = Release; }; 1AEA9C2B22CD5FE7006709F1 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = BDV4VC27D3; INFOPLIST_FILE = UsingCombineTests/Info.plist; @@ -1009,14 +1000,12 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftUI-Notes.app/SwiftUI-Notes"; }; name = Debug; }; 1AEA9C2C22CD5FE7006709F1 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = BDV4VC27D3; INFOPLIST_FILE = UsingCombineTests/Info.plist; @@ -1029,7 +1018,6 @@ PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftUI-Notes.app/SwiftUI-Notes"; }; name = Release; }; diff --git a/SwiftUI-Notes.xcodeproj/xcshareddata/xcschemes/SwiftUI-Notes.xcscheme b/SwiftUI-Notes.xcodeproj/xcshareddata/xcschemes/SwiftUI-Notes.xcscheme index 379369f..0648840 100644 --- a/SwiftUI-Notes.xcodeproj/xcshareddata/xcschemes/SwiftUI-Notes.xcscheme +++ b/SwiftUI-Notes.xcodeproj/xcshareddata/xcschemes/SwiftUI-Notes.xcscheme @@ -1,6 +1,6 @@