From 6fca147860a413956bca2ef100f1b6fbefcccf22 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 11 May 2025 15:22:43 +0900 Subject: [PATCH 1/4] =?UTF-8?q?Xcode16.3=E3=81=AE=E3=82=B5=E3=83=B3?= =?UTF-8?q?=E3=83=97=E3=83=AB=E3=82=B3=E3=83=BC=E3=83=89=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Samples/Xcode16.3/README.md | 12 + .../xcode16.3.xcodeproj/project.pbxproj | 468 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 85 ++++ .../xcode16.3/Assets.xcassets/Contents.json | 6 + Samples/Xcode16.3/xcode16.3/ContentView.swift | 24 + .../xcode16.3/xcode16_3.entitlements | 10 + .../Xcode16.3/xcode16.3/xcode16_3App.swift | 17 + .../xcode16.3Tests/xcode16_3Tests.swift | 46 ++ 10 files changed, 686 insertions(+) create mode 100644 Samples/Xcode16.3/README.md create mode 100644 Samples/Xcode16.3/xcode16.3.xcodeproj/project.pbxproj create mode 100644 Samples/Xcode16.3/xcode16.3.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Samples/Xcode16.3/xcode16.3/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 Samples/Xcode16.3/xcode16.3/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 Samples/Xcode16.3/xcode16.3/Assets.xcassets/Contents.json create mode 100644 Samples/Xcode16.3/xcode16.3/ContentView.swift create mode 100644 Samples/Xcode16.3/xcode16.3/xcode16_3.entitlements create mode 100644 Samples/Xcode16.3/xcode16.3/xcode16_3App.swift create mode 100644 Samples/Xcode16.3/xcode16.3Tests/xcode16_3Tests.swift 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() + } +} From c29e65ab9b9a17140c548b718be07f4323d09ead Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 11 May 2025 15:27:03 +0900 Subject: [PATCH 2/4] =?UTF-8?q?Xcode16.3=E3=82=92=E5=AF=BE=E8=B1=A1?= =?UTF-8?q?=E3=83=86=E3=82=B9=E3=83=88=E3=81=AB=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Samples/fastlane/Fastfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = [ From aea1d8abc5a02ef48ca7ed77fc3cc7cff83e81a6 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 11 May 2025 15:33:56 +0900 Subject: [PATCH 3/4] =?UTF-8?q?=E5=88=A9=E7=94=A8=E3=81=99=E3=82=8BXcode?= =?UTF-8?q?=E3=81=AE=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3=E3=82=92?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/merge.yml | 2 +- .github/workflows/pull_request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 33d0918..7ec5427 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -6,7 +6,7 @@ on: - main env: - DEVELOPER_DIR: /Applications/Xcode_16.1.0.app + DEVELOPER_DIR: /Applications/Xcode_16.3.0.app jobs: all_tests: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 811b2be..95b29d0 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -5,7 +5,7 @@ on: branches: - main env: - DEVELOPER_DIR: /Applications/Xcode_16.1.0.app + DEVELOPER_DIR: /Applications/Xcode_16.3.0.app jobs: main_tests: From 7aa4847b171ec2419906b330c82cc669a66e2711 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 11 May 2025 15:41:40 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=E5=88=A9=E7=94=A8=E3=81=99=E3=82=8BmacOS?= =?UTF-8?q?=E3=81=AE=E3=82=A4=E3=83=A1=E3=83=BC=E3=82=B8=E3=82=92=E5=A4=89?= =?UTF-8?q?=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/merge.yml | 2 +- .github/workflows/pull_request.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 7ec5427..3684dc5 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -10,7 +10,7 @@ env: 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 95b29d0..96f4b9b 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -9,7 +9,7 @@ env: jobs: main_tests: - runs-on: macos-latest + runs-on: macos-15 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Cache bundle directory