diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 33d0918..3684dc5 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -6,11 +6,11 @@ on: - main env: - DEVELOPER_DIR: /Applications/Xcode_16.1.0.app + DEVELOPER_DIR: /Applications/Xcode_16.3.0.app jobs: all_tests: - runs-on: macos-latest + runs-on: macos-15 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Cache bundle directory diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 811b2be..96f4b9b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -5,11 +5,11 @@ on: branches: - main env: - DEVELOPER_DIR: /Applications/Xcode_16.1.0.app + DEVELOPER_DIR: /Applications/Xcode_16.3.0.app jobs: main_tests: - runs-on: macos-latest + runs-on: macos-15 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Cache bundle directory diff --git a/Samples/Xcode16.3/README.md b/Samples/Xcode16.3/README.md new file mode 100644 index 0000000..7a82617 --- /dev/null +++ b/Samples/Xcode16.3/README.md @@ -0,0 +1,12 @@ +# Xcode 16.3 + - [Release Note](https://developer.apple.com/documentation/xcode-release-notes/xcode-16_3-release-notes) + +## Testing +おもに次の4つがトピックになります。 +- (1)XCUIAutomationの誕生 +- (2)環境変数の追加 +- (3)confirmation +- (4)Test Scoping Traits + +## 参考資料 + - https://note.com/tarappo/n/n3a3787e090a1 diff --git a/Samples/Xcode16.3/xcode16.3.xcodeproj/project.pbxproj b/Samples/Xcode16.3/xcode16.3.xcodeproj/project.pbxproj new file mode 100644 index 0000000..7dd8919 --- /dev/null +++ b/Samples/Xcode16.3/xcode16.3.xcodeproj/project.pbxproj @@ -0,0 +1,468 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXContainerItemProxy section */ + DA1593732DD073E500E80016 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DA15935C2DD073E300E80016 /* Project object */; + proxyType = 1; + remoteGlobalIDString = DA1593632DD073E300E80016; + remoteInfo = xcode16.3; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + DA1593642DD073E300E80016 /* xcode16.3.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = xcode16.3.app; sourceTree = BUILT_PRODUCTS_DIR; }; + DA1593722DD073E500E80016 /* xcode16.3Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = xcode16.3Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + DA1593662DD073E300E80016 /* xcode16.3 */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = xcode16.3; + sourceTree = ""; + }; + DA1593752DD073E500E80016 /* xcode16.3Tests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = xcode16.3Tests; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + DA1593612DD073E300E80016 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DA15936F2DD073E500E80016 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + DA15935B2DD073E300E80016 = { + isa = PBXGroup; + children = ( + DA1593662DD073E300E80016 /* xcode16.3 */, + DA1593752DD073E500E80016 /* xcode16.3Tests */, + DA1593652DD073E300E80016 /* Products */, + ); + sourceTree = ""; + }; + DA1593652DD073E300E80016 /* Products */ = { + isa = PBXGroup; + children = ( + DA1593642DD073E300E80016 /* xcode16.3.app */, + DA1593722DD073E500E80016 /* xcode16.3Tests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + DA1593632DD073E300E80016 /* xcode16.3 */ = { + isa = PBXNativeTarget; + buildConfigurationList = DA1593862DD073E500E80016 /* Build configuration list for PBXNativeTarget "xcode16.3" */; + buildPhases = ( + DA1593602DD073E300E80016 /* Sources */, + DA1593612DD073E300E80016 /* Frameworks */, + DA1593622DD073E300E80016 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + DA1593662DD073E300E80016 /* xcode16.3 */, + ); + name = xcode16.3; + packageProductDependencies = ( + ); + productName = xcode16.3; + productReference = DA1593642DD073E300E80016 /* xcode16.3.app */; + productType = "com.apple.product-type.application"; + }; + DA1593712DD073E500E80016 /* xcode16.3Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = DA1593892DD073E500E80016 /* Build configuration list for PBXNativeTarget "xcode16.3Tests" */; + buildPhases = ( + DA15936E2DD073E500E80016 /* Sources */, + DA15936F2DD073E500E80016 /* Frameworks */, + DA1593702DD073E500E80016 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + DA1593742DD073E500E80016 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + DA1593752DD073E500E80016 /* xcode16.3Tests */, + ); + name = xcode16.3Tests; + packageProductDependencies = ( + ); + productName = xcode16.3Tests; + productReference = DA1593722DD073E500E80016 /* xcode16.3Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + DA15935C2DD073E300E80016 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1630; + LastUpgradeCheck = 1630; + TargetAttributes = { + DA1593632DD073E300E80016 = { + CreatedOnToolsVersion = 16.3; + }; + DA1593712DD073E500E80016 = { + CreatedOnToolsVersion = 16.3; + TestTargetID = DA1593632DD073E300E80016; + }; + }; + }; + buildConfigurationList = DA15935F2DD073E300E80016 /* Build configuration list for PBXProject "xcode16.3" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = DA15935B2DD073E300E80016; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = DA1593652DD073E300E80016 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DA1593632DD073E300E80016 /* xcode16.3 */, + DA1593712DD073E500E80016 /* xcode16.3Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + DA1593622DD073E300E80016 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DA1593702DD073E500E80016 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + DA1593602DD073E300E80016 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DA15936E2DD073E500E80016 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + DA1593742DD073E500E80016 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = DA1593632DD073E300E80016 /* xcode16.3 */; + targetProxy = DA1593732DD073E500E80016 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + DA1593842DD073E500E80016 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + DA1593852DD073E500E80016 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SWIFT_COMPILATION_MODE = wholemodule; + }; + name = Release; + }; + DA1593872DD073E500E80016 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = xcode16.3/xcode16_3.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 18.4; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 15.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "com.tarappo.xcode16-3"; + PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 2.4; + }; + name = Debug; + }; + DA1593882DD073E500E80016 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = xcode16.3/xcode16_3.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphoneos*]" = YES; + "INFOPLIST_KEY_UILaunchScreen_Generation[sdk=iphonesimulator*]" = YES; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphoneos*]" = UIStatusBarStyleDefault; + "INFOPLIST_KEY_UIStatusBarStyle[sdk=iphonesimulator*]" = UIStatusBarStyleDefault; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + IPHONEOS_DEPLOYMENT_TARGET = 18.4; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 15.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "com.tarappo.xcode16-3"; + PRODUCT_NAME = "$(TARGET_NAME)"; + REGISTER_APP_GROUPS = YES; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + XROS_DEPLOYMENT_TARGET = 2.4; + }; + name = Release; + }; + DA15938A2DD073E500E80016 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.4; + MACOSX_DEPLOYMENT_TARGET = 15.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "com.tarappo.xcode16-3Tests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/xcode16.3.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/xcode16.3"; + XROS_DEPLOYMENT_TARGET = 2.4; + }; + name = Debug; + }; + DA15938B2DD073E500E80016 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.4; + MACOSX_DEPLOYMENT_TARGET = 15.4; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "com.tarappo.xcode16-3Tests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = auto; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2,7"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/xcode16.3.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/xcode16.3"; + XROS_DEPLOYMENT_TARGET = 2.4; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DA15935F2DD073E300E80016 /* Build configuration list for PBXProject "xcode16.3" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DA1593842DD073E500E80016 /* Debug */, + DA1593852DD073E500E80016 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DA1593862DD073E500E80016 /* Build configuration list for PBXNativeTarget "xcode16.3" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DA1593872DD073E500E80016 /* Debug */, + DA1593882DD073E500E80016 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DA1593892DD073E500E80016 /* Build configuration list for PBXNativeTarget "xcode16.3Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DA15938A2DD073E500E80016 /* Debug */, + DA15938B2DD073E500E80016 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DA15935C2DD073E300E80016 /* Project object */; +} diff --git a/Samples/Xcode16.3/xcode16.3.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Samples/Xcode16.3/xcode16.3.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Samples/Xcode16.3/xcode16.3.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Samples/Xcode16.3/xcode16.3/Assets.xcassets/AccentColor.colorset/Contents.json b/Samples/Xcode16.3/xcode16.3/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/Samples/Xcode16.3/xcode16.3/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Samples/Xcode16.3/xcode16.3/Assets.xcassets/AppIcon.appiconset/Contents.json b/Samples/Xcode16.3/xcode16.3/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..ffdfe15 --- /dev/null +++ b/Samples/Xcode16.3/xcode16.3/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,85 @@ +{ + "images" : [ + { + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "tinted" + } + ], + "idiom" : "universal", + "platform" : "ios", + "size" : "1024x1024" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Samples/Xcode16.3/xcode16.3/Assets.xcassets/Contents.json b/Samples/Xcode16.3/xcode16.3/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Samples/Xcode16.3/xcode16.3/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Samples/Xcode16.3/xcode16.3/ContentView.swift b/Samples/Xcode16.3/xcode16.3/ContentView.swift new file mode 100644 index 0000000..aaac600 --- /dev/null +++ b/Samples/Xcode16.3/xcode16.3/ContentView.swift @@ -0,0 +1,24 @@ +// +// ContentView.swift +// xcode16.3 +// +// Created by Toshiyuki Hirata on 2025/05/11. +// + +import SwiftUI + +struct ContentView: View { + var body: some View { + VStack { + Image(systemName: "globe") + .imageScale(.large) + .foregroundStyle(.tint) + Text("Hello, world!") + } + .padding() + } +} + +#Preview { + ContentView() +} diff --git a/Samples/Xcode16.3/xcode16.3/xcode16_3.entitlements b/Samples/Xcode16.3/xcode16.3/xcode16_3.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/Samples/Xcode16.3/xcode16.3/xcode16_3.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/Samples/Xcode16.3/xcode16.3/xcode16_3App.swift b/Samples/Xcode16.3/xcode16.3/xcode16_3App.swift new file mode 100644 index 0000000..6dc30b9 --- /dev/null +++ b/Samples/Xcode16.3/xcode16.3/xcode16_3App.swift @@ -0,0 +1,17 @@ +// +// xcode16_3App.swift +// xcode16.3 +// +// Created by Toshiyuki Hirata on 2025/05/11. +// + +import SwiftUI + +@main +struct xcode16_3App: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/Samples/Xcode16.3/xcode16.3Tests/xcode16_3Tests.swift b/Samples/Xcode16.3/xcode16.3Tests/xcode16_3Tests.swift new file mode 100644 index 0000000..affa96b --- /dev/null +++ b/Samples/Xcode16.3/xcode16.3Tests/xcode16_3Tests.swift @@ -0,0 +1,46 @@ +// +// xcode16_3Tests.swift +// xcode16.3Tests +// +// Created by Toshiyuki Hirata on 2025/05/11. +// + +import Testing +import Foundation + +struct xcode16_3Tests { + @Test("環境変数") + func environmentTest() { + // テストプラン名、テストスキーム名の取得が可能 + print(ProcessInfo.processInfo.environment["XCODE_TEST_PLAN_NAME"]!) + print(ProcessInfo.processInfo.environment["XCODE_SCHEME_NAME"]!) + } + + @Test("非同期テスト") + func confirmationTest() async { + await confirmation("", expectedCount: 2, { event in + for _ in 0..<2 { + event.confirm() + } + }) + } + + @Test("TestScoping Traitのサンプルテスト", .sampleTestCaseTrait) + func example() { + print("run example") + } +} + +struct SampleTestCaseTrait: TestTrait, TestScoping { + func provideScope(for test: Test, testCase: Test.Case?, performing function: @Sendable () async throws -> Void) async throws { + print("事前に行う処理") + try await function() + print("事後に行う処理") + } +} + +extension Trait where Self == SampleTestCaseTrait { + static var sampleTestCaseTrait: Self { + Self() + } +} diff --git a/Samples/fastlane/Fastfile b/Samples/fastlane/Fastfile index 96e6bfa..6bf1990 100644 --- a/Samples/fastlane/Fastfile +++ b/Samples/fastlane/Fastfile @@ -2,7 +2,8 @@ default_platform(:ios) platform :ios do all_main_test_target = [ - [ "Xcode16.0", "./Xcode16.0/xcode16.xcodeproj", "xcode16" ] + [ "Xcode16.0", "./Xcode16.0/xcode16.xcodeproj", "xcode16" ], + [ "Xcode16.3", "./Xcode16.3/xcode16.3.xcodeproj", "xcode16.3" ], ] all_arhive_target = [