diff --git a/.github/workflows/domain_test.yml b/.github/workflows/domain_test.yml index 3c557e9..19b6d12 100644 --- a/.github/workflows/domain_test.yml +++ b/.github/workflows/domain_test.yml @@ -7,7 +7,7 @@ on: jobs: Domain_Test: - runs-on: macos-latest + runs-on: macos-14 steps: # 저장소의 코드를 가져옴 @@ -17,8 +17,10 @@ jobs: # 도메인 테스트 코드 실행 - name: Run Domain module tests run: | + xcrun simctl list devices + xcodebuild \ -workspace AirplaIN.xcworkspace \ - -scheme Domain \ - -sdk iphonesimulator \ - clean test | xcpretty \ No newline at end of file + -scheme DomainTests \ + -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.5' \ + clean test | xcpretty --test --color diff --git a/Domain/Domain.xcodeproj/project.pbxproj b/Domain/Domain.xcodeproj/project.pbxproj index 085bf60..7f56d05 100644 --- a/Domain/Domain.xcodeproj/project.pbxproj +++ b/Domain/Domain.xcodeproj/project.pbxproj @@ -391,12 +391,17 @@ CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = B3PWYBKFUK; GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = kr.codesquad.boostcamp9.DomainTests; 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"; + TARGETED_DEVICE_FAMILY = 1; }; name = Debug; }; @@ -407,12 +412,17 @@ CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = B3PWYBKFUK; GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 17.0; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = kr.codesquad.boostcamp9.DomainTests; 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"; + TARGETED_DEVICE_FAMILY = 1; }; name = Release; }; diff --git a/Domain/Domain.xcodeproj/xcshareddata/xcschemes/Domain.xcscheme b/Domain/Domain.xcodeproj/xcshareddata/xcschemes/Domain.xcscheme index 3f9aa88..5eac70a 100644 --- a/Domain/Domain.xcodeproj/xcshareddata/xcschemes/Domain.xcscheme +++ b/Domain/Domain.xcodeproj/xcshareddata/xcschemes/Domain.xcscheme @@ -1,12 +1,21 @@ + version = "2.2"> + + + +