From 6f75d39da193dff9c46bd2949de8a31162f2a6a9 Mon Sep 17 00:00:00 2001 From: Toshiyuki Hirata Date: Sun, 29 Sep 2024 13:37:32 +0900 Subject: [PATCH 01/15] 1st Xcode16 project --- Samples/Xcode16.0/README.md | 9 + .../xcode16.xcodeproj/project.pbxproj | 588 ++++++++++++++++++ .../contents.xcworkspacedata | 7 + .../AccentColor.colorset/Contents.json | 11 + .../AppIcon.appiconset/Contents.json | 85 +++ .../xcode16/Assets.xcassets/Contents.json | 6 + Samples/Xcode16.0/xcode16/ContentView.swift | 24 + .../Preview Assets.xcassets/Contents.json | 6 + .../Xcode16.0/xcode16/xcode16.entitlements | 10 + Samples/Xcode16.0/xcode16/xcode16App.swift | 17 + .../Xcode16.0/xcode16Tests/xcode16Tests.swift | 16 + .../xcode16UITests/xcode16UITests.swift | 43 ++ .../xcode16UITestsLaunchTests.swift | 33 + 13 files changed, 855 insertions(+) create mode 100644 Samples/Xcode16.0/README.md create mode 100644 Samples/Xcode16.0/xcode16.xcodeproj/project.pbxproj create mode 100644 Samples/Xcode16.0/xcode16.xcodeproj/project.xcworkspace/contents.xcworkspacedata create mode 100644 Samples/Xcode16.0/xcode16/Assets.xcassets/AccentColor.colorset/Contents.json create mode 100644 Samples/Xcode16.0/xcode16/Assets.xcassets/AppIcon.appiconset/Contents.json create mode 100644 Samples/Xcode16.0/xcode16/Assets.xcassets/Contents.json create mode 100644 Samples/Xcode16.0/xcode16/ContentView.swift create mode 100644 Samples/Xcode16.0/xcode16/Preview Content/Preview Assets.xcassets/Contents.json create mode 100644 Samples/Xcode16.0/xcode16/xcode16.entitlements create mode 100644 Samples/Xcode16.0/xcode16/xcode16App.swift create mode 100644 Samples/Xcode16.0/xcode16Tests/xcode16Tests.swift create mode 100644 Samples/Xcode16.0/xcode16UITests/xcode16UITests.swift create mode 100644 Samples/Xcode16.0/xcode16UITests/xcode16UITestsLaunchTests.swift diff --git a/Samples/Xcode16.0/README.md b/Samples/Xcode16.0/README.md new file mode 100644 index 0000000..fab4400 --- /dev/null +++ b/Samples/Xcode16.0/README.md @@ -0,0 +1,9 @@ +# Xcode 16.0 + - [Release Note](https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes) + +## Testing + + + +## 参考資料 + - https://note.com/tarappo/n/nb33a387d3bbd diff --git a/Samples/Xcode16.0/xcode16.xcodeproj/project.pbxproj b/Samples/Xcode16.0/xcode16.xcodeproj/project.pbxproj new file mode 100644 index 0000000..626ac3f --- /dev/null +++ b/Samples/Xcode16.0/xcode16.xcodeproj/project.pbxproj @@ -0,0 +1,588 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 77; + objects = { + +/* Begin PBXContainerItemProxy section */ + DAC03AC82CA90FFF00AA3D91 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DAC03AAE2CA90FFC00AA3D91 /* Project object */; + proxyType = 1; + remoteGlobalIDString = DAC03AB52CA90FFC00AA3D91; + remoteInfo = xcode16; + }; + DAC03AD22CA90FFF00AA3D91 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DAC03AAE2CA90FFC00AA3D91 /* Project object */; + proxyType = 1; + remoteGlobalIDString = DAC03AB52CA90FFC00AA3D91; + remoteInfo = xcode16; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + DAC03AB62CA90FFC00AA3D91 /* xcode16.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = xcode16.app; sourceTree = BUILT_PRODUCTS_DIR; }; + DAC03AC72CA90FFF00AA3D91 /* xcode16Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = xcode16Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + DAC03AD12CA90FFF00AA3D91 /* xcode16UITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = xcode16UITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFileSystemSynchronizedRootGroup section */ + DAC03AB82CA90FFC00AA3D91 /* xcode16 */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = xcode16; + sourceTree = ""; + }; + DAC03ACA2CA90FFF00AA3D91 /* xcode16Tests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = xcode16Tests; + sourceTree = ""; + }; + DAC03AD42CA90FFF00AA3D91 /* xcode16UITests */ = { + isa = PBXFileSystemSynchronizedRootGroup; + path = xcode16UITests; + sourceTree = ""; + }; +/* End PBXFileSystemSynchronizedRootGroup section */ + +/* Begin PBXFrameworksBuildPhase section */ + DAC03AB32CA90FFC00AA3D91 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DAC03AC42CA90FFF00AA3D91 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DAC03ACE2CA90FFF00AA3D91 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + DAC03AAD2CA90FFC00AA3D91 = { + isa = PBXGroup; + children = ( + DAC03AB82CA90FFC00AA3D91 /* xcode16 */, + DAC03ACA2CA90FFF00AA3D91 /* xcode16Tests */, + DAC03AD42CA90FFF00AA3D91 /* xcode16UITests */, + DAC03AB72CA90FFC00AA3D91 /* Products */, + ); + sourceTree = ""; + }; + DAC03AB72CA90FFC00AA3D91 /* Products */ = { + isa = PBXGroup; + children = ( + DAC03AB62CA90FFC00AA3D91 /* xcode16.app */, + DAC03AC72CA90FFF00AA3D91 /* xcode16Tests.xctest */, + DAC03AD12CA90FFF00AA3D91 /* xcode16UITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + DAC03AB52CA90FFC00AA3D91 /* xcode16 */ = { + isa = PBXNativeTarget; + buildConfigurationList = DAC03ADB2CA90FFF00AA3D91 /* Build configuration list for PBXNativeTarget "xcode16" */; + buildPhases = ( + DAC03AB22CA90FFC00AA3D91 /* Sources */, + DAC03AB32CA90FFC00AA3D91 /* Frameworks */, + DAC03AB42CA90FFC00AA3D91 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + fileSystemSynchronizedGroups = ( + DAC03AB82CA90FFC00AA3D91 /* xcode16 */, + ); + name = xcode16; + packageProductDependencies = ( + ); + productName = xcode16; + productReference = DAC03AB62CA90FFC00AA3D91 /* xcode16.app */; + productType = "com.apple.product-type.application"; + }; + DAC03AC62CA90FFF00AA3D91 /* xcode16Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = DAC03ADE2CA90FFF00AA3D91 /* Build configuration list for PBXNativeTarget "xcode16Tests" */; + buildPhases = ( + DAC03AC32CA90FFF00AA3D91 /* Sources */, + DAC03AC42CA90FFF00AA3D91 /* Frameworks */, + DAC03AC52CA90FFF00AA3D91 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + DAC03AC92CA90FFF00AA3D91 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + DAC03ACA2CA90FFF00AA3D91 /* xcode16Tests */, + ); + name = xcode16Tests; + packageProductDependencies = ( + ); + productName = xcode16Tests; + productReference = DAC03AC72CA90FFF00AA3D91 /* xcode16Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + DAC03AD02CA90FFF00AA3D91 /* xcode16UITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = DAC03AE12CA90FFF00AA3D91 /* Build configuration list for PBXNativeTarget "xcode16UITests" */; + buildPhases = ( + DAC03ACD2CA90FFF00AA3D91 /* Sources */, + DAC03ACE2CA90FFF00AA3D91 /* Frameworks */, + DAC03ACF2CA90FFF00AA3D91 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + DAC03AD32CA90FFF00AA3D91 /* PBXTargetDependency */, + ); + fileSystemSynchronizedGroups = ( + DAC03AD42CA90FFF00AA3D91 /* xcode16UITests */, + ); + name = xcode16UITests; + packageProductDependencies = ( + ); + productName = xcode16UITests; + productReference = DAC03AD12CA90FFF00AA3D91 /* xcode16UITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + DAC03AAE2CA90FFC00AA3D91 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1600; + LastUpgradeCheck = 1600; + TargetAttributes = { + DAC03AB52CA90FFC00AA3D91 = { + CreatedOnToolsVersion = 16.0; + }; + DAC03AC62CA90FFF00AA3D91 = { + CreatedOnToolsVersion = 16.0; + TestTargetID = DAC03AB52CA90FFC00AA3D91; + }; + DAC03AD02CA90FFF00AA3D91 = { + CreatedOnToolsVersion = 16.0; + TestTargetID = DAC03AB52CA90FFC00AA3D91; + }; + }; + }; + buildConfigurationList = DAC03AB12CA90FFC00AA3D91 /* Build configuration list for PBXProject "xcode16" */; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = DAC03AAD2CA90FFC00AA3D91; + minimizedProjectReferenceProxies = 1; + preferredProjectObjectVersion = 77; + productRefGroup = DAC03AB72CA90FFC00AA3D91 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DAC03AB52CA90FFC00AA3D91 /* xcode16 */, + DAC03AC62CA90FFF00AA3D91 /* xcode16Tests */, + DAC03AD02CA90FFF00AA3D91 /* xcode16UITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + DAC03AB42CA90FFC00AA3D91 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DAC03AC52CA90FFF00AA3D91 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DAC03ACF2CA90FFF00AA3D91 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + DAC03AB22CA90FFC00AA3D91 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DAC03AC32CA90FFF00AA3D91 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DAC03ACD2CA90FFF00AA3D91 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + DAC03AC92CA90FFF00AA3D91 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = DAC03AB52CA90FFC00AA3D91 /* xcode16 */; + targetProxy = DAC03AC82CA90FFF00AA3D91 /* PBXContainerItemProxy */; + }; + DAC03AD32CA90FFF00AA3D91 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = DAC03AB52CA90FFC00AA3D91 /* xcode16 */; + targetProxy = DAC03AD22CA90FFF00AA3D91 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + DAC03AD92CA90FFF00AA3D91 /* 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; + }; + DAC03ADA2CA90FFF00AA3D91 /* 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; + }; + DAC03ADC2CA90FFF00AA3D91 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = xcode16/xcode16.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"xcode16/Preview Content\""; + 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.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 14.6; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.tarappo.xcode16; + PRODUCT_NAME = "$(TARGET_NAME)"; + 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.0; + }; + name = Debug; + }; + DAC03ADD2CA90FFF00AA3D91 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_ENTITLEMENTS = xcode16/xcode16.entitlements; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"xcode16/Preview Content\""; + 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.0; + LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; + "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 14.6; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.tarappo.xcode16; + PRODUCT_NAME = "$(TARGET_NAME)"; + 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.0; + }; + name = Release; + }; + DAC03ADF2CA90FFF00AA3D91 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; + MACOSX_DEPLOYMENT_TARGET = 14.6; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.tarappo.xcode16Tests; + 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.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/xcode16"; + XROS_DEPLOYMENT_TARGET = 2.0; + }; + name = Debug; + }; + DAC03AE02CA90FFF00AA3D91 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; + MACOSX_DEPLOYMENT_TARGET = 14.6; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.tarappo.xcode16Tests; + 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.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/xcode16"; + XROS_DEPLOYMENT_TARGET = 2.0; + }; + name = Release; + }; + DAC03AE22CA90FFF00AA3D91 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; + MACOSX_DEPLOYMENT_TARGET = 14.6; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.tarappo.xcode16UITests; + 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_TARGET_NAME = xcode16; + XROS_DEPLOYMENT_TARGET = 2.0; + }; + name = Debug; + }; + DAC03AE32CA90FFF00AA3D91 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; + MACOSX_DEPLOYMENT_TARGET = 14.6; + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.tarappo.xcode16UITests; + 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_TARGET_NAME = xcode16; + XROS_DEPLOYMENT_TARGET = 2.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DAC03AB12CA90FFC00AA3D91 /* Build configuration list for PBXProject "xcode16" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DAC03AD92CA90FFF00AA3D91 /* Debug */, + DAC03ADA2CA90FFF00AA3D91 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DAC03ADB2CA90FFF00AA3D91 /* Build configuration list for PBXNativeTarget "xcode16" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DAC03ADC2CA90FFF00AA3D91 /* Debug */, + DAC03ADD2CA90FFF00AA3D91 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DAC03ADE2CA90FFF00AA3D91 /* Build configuration list for PBXNativeTarget "xcode16Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DAC03ADF2CA90FFF00AA3D91 /* Debug */, + DAC03AE02CA90FFF00AA3D91 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DAC03AE12CA90FFF00AA3D91 /* Build configuration list for PBXNativeTarget "xcode16UITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DAC03AE22CA90FFF00AA3D91 /* Debug */, + DAC03AE32CA90FFF00AA3D91 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DAC03AAE2CA90FFC00AA3D91 /* Project object */; +} diff --git a/Samples/Xcode16.0/xcode16.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Samples/Xcode16.0/xcode16.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..919434a --- /dev/null +++ b/Samples/Xcode16.0/xcode16.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Samples/Xcode16.0/xcode16/Assets.xcassets/AccentColor.colorset/Contents.json b/Samples/Xcode16.0/xcode16/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 0000000..eb87897 --- /dev/null +++ b/Samples/Xcode16.0/xcode16/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Samples/Xcode16.0/xcode16/Assets.xcassets/AppIcon.appiconset/Contents.json b/Samples/Xcode16.0/xcode16/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..ffdfe15 --- /dev/null +++ b/Samples/Xcode16.0/xcode16/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.0/xcode16/Assets.xcassets/Contents.json b/Samples/Xcode16.0/xcode16/Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Samples/Xcode16.0/xcode16/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Samples/Xcode16.0/xcode16/ContentView.swift b/Samples/Xcode16.0/xcode16/ContentView.swift new file mode 100644 index 0000000..0ba544a --- /dev/null +++ b/Samples/Xcode16.0/xcode16/ContentView.swift @@ -0,0 +1,24 @@ +// +// ContentView.swift +// xcode16 +// +// Created by Toshiyuki Hirata on 2024/09/29. +// + +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.0/xcode16/Preview Content/Preview Assets.xcassets/Contents.json b/Samples/Xcode16.0/xcode16/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 0000000..73c0059 --- /dev/null +++ b/Samples/Xcode16.0/xcode16/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Samples/Xcode16.0/xcode16/xcode16.entitlements b/Samples/Xcode16.0/xcode16/xcode16.entitlements new file mode 100644 index 0000000..f2ef3ae --- /dev/null +++ b/Samples/Xcode16.0/xcode16/xcode16.entitlements @@ -0,0 +1,10 @@ + + + + + com.apple.security.app-sandbox + + com.apple.security.files.user-selected.read-only + + + diff --git a/Samples/Xcode16.0/xcode16/xcode16App.swift b/Samples/Xcode16.0/xcode16/xcode16App.swift new file mode 100644 index 0000000..97ef7c6 --- /dev/null +++ b/Samples/Xcode16.0/xcode16/xcode16App.swift @@ -0,0 +1,17 @@ +// +// xcode16App.swift +// xcode16 +// +// Created by Toshiyuki Hirata on 2024/09/29. +// + +import SwiftUI + +@main +struct xcode16App: App { + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/Samples/Xcode16.0/xcode16Tests/xcode16Tests.swift b/Samples/Xcode16.0/xcode16Tests/xcode16Tests.swift new file mode 100644 index 0000000..d63bb82 --- /dev/null +++ b/Samples/Xcode16.0/xcode16Tests/xcode16Tests.swift @@ -0,0 +1,16 @@ +// +// xcode16Tests.swift +// xcode16Tests +// +// Created by Toshiyuki Hirata on 2024/09/29. +// + +import Testing + +struct xcode16Tests { + + @Test func example() async throws { + // Write your test here and use APIs like `#expect(...)` to check expected conditions. + } + +} diff --git a/Samples/Xcode16.0/xcode16UITests/xcode16UITests.swift b/Samples/Xcode16.0/xcode16UITests/xcode16UITests.swift new file mode 100644 index 0000000..42a8116 --- /dev/null +++ b/Samples/Xcode16.0/xcode16UITests/xcode16UITests.swift @@ -0,0 +1,43 @@ +// +// xcode16UITests.swift +// xcode16UITests +// +// Created by Toshiyuki Hirata on 2024/09/29. +// + +import XCTest + +final class xcode16UITests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + + // In UI tests it is usually best to stop immediately when a failure occurs. + continueAfterFailure = false + + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + @MainActor + func testExample() throws { + // UI tests must launch the application that they test. + let app = XCUIApplication() + app.launch() + + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + @MainActor + func testLaunchPerformance() throws { + if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 7.0, *) { + // This measures how long it takes to launch your application. + measure(metrics: [XCTApplicationLaunchMetric()]) { + XCUIApplication().launch() + } + } + } +} diff --git a/Samples/Xcode16.0/xcode16UITests/xcode16UITestsLaunchTests.swift b/Samples/Xcode16.0/xcode16UITests/xcode16UITestsLaunchTests.swift new file mode 100644 index 0000000..a1f8bd8 --- /dev/null +++ b/Samples/Xcode16.0/xcode16UITests/xcode16UITestsLaunchTests.swift @@ -0,0 +1,33 @@ +// +// xcode16UITestsLaunchTests.swift +// xcode16UITests +// +// Created by Toshiyuki Hirata on 2024/09/29. +// + +import XCTest + +final class xcode16UITestsLaunchTests: XCTestCase { + + override class var runsForEachTargetApplicationUIConfiguration: Bool { + true + } + + override func setUpWithError() throws { + continueAfterFailure = false + } + + @MainActor + func testLaunch() throws { + let app = XCUIApplication() + app.launch() + + // Insert steps here to perform after app launch but before taking a screenshot, + // such as logging into a test account or navigating somewhere in the app + + let attachment = XCTAttachment(screenshot: app.screenshot()) + attachment.name = "Launch Screen" + attachment.lifetime = .keepAlways + add(attachment) + } +} From 71b250756d5fe8d87d4d4d396e86217ccc90c721 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 29 Sep 2024 14:02:21 +0900 Subject: [PATCH 02/15] =?UTF-8?q?Parameterized=20Test=E3=81=AE=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xcode16Tests/ParameterizedTest.swift | 23 +++++++++++++++++++ .../Xcode16.0/xcode16Tests/xcode16Tests.swift | 16 ------------- 2 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 Samples/Xcode16.0/xcode16Tests/ParameterizedTest.swift delete mode 100644 Samples/Xcode16.0/xcode16Tests/xcode16Tests.swift diff --git a/Samples/Xcode16.0/xcode16Tests/ParameterizedTest.swift b/Samples/Xcode16.0/xcode16Tests/ParameterizedTest.swift new file mode 100644 index 0000000..b99af9b --- /dev/null +++ b/Samples/Xcode16.0/xcode16Tests/ParameterizedTest.swift @@ -0,0 +1,23 @@ +// +// ParameterizedTest.swift +// xcode16 +// +// Created by Toshiyuki Hirata on 2024/09/29. +// + + +import Testing + +struct ParameterizedTest { + + // Parameterized Test Sample + @Test("Parameterized test", arguments: ["sample", "sample2", "sample3"]) + func parameterizedTest(name: String) { + #expect(name.contains("sample")) + } + + @Test("Parameterized Test using Int", arguments: [1, 2, 3]) + func parameterizedTestUsingInt(number: Int) { + #expect(number < 4) + } +} diff --git a/Samples/Xcode16.0/xcode16Tests/xcode16Tests.swift b/Samples/Xcode16.0/xcode16Tests/xcode16Tests.swift deleted file mode 100644 index d63bb82..0000000 --- a/Samples/Xcode16.0/xcode16Tests/xcode16Tests.swift +++ /dev/null @@ -1,16 +0,0 @@ -// -// xcode16Tests.swift -// xcode16Tests -// -// Created by Toshiyuki Hirata on 2024/09/29. -// - -import Testing - -struct xcode16Tests { - - @Test func example() async throws { - // Write your test here and use APIs like `#expect(...)` to check expected conditions. - } - -} From 663a653e7631c9d07a694cd95770ebb284b529f5 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 29 Sep 2024 14:02:34 +0900 Subject: [PATCH 03/15] =?UTF-8?q?Xcode16.0=E3=82=92=E3=83=86=E3=82=B9?= =?UTF-8?q?=E3=83=88=E3=81=AE=E5=AE=9F=E8=A1=8C=E5=AF=BE=E8=B1=A1=E3=81=AB?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Samples/fastlane/Fastfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Samples/fastlane/Fastfile b/Samples/fastlane/Fastfile index 2698309..3ab6f84 100644 --- a/Samples/fastlane/Fastfile +++ b/Samples/fastlane/Fastfile @@ -4,6 +4,7 @@ platform :ios do all_main_test_target = [ [ "Xcode13.0", "./Xcode13.0/xcode13.0.xcodeproj", "Xcode13.0Tests", "-run-tests-until-failure -test-iterations 3" ] + [ "Xcode16.0", "./Xcode16.0/xcode16.0.xcodeproj", "Xcode16" ] ] all_arhive_target = [ From 423fa9e60cf6d990546025e9a59b78fd6ad69a3d Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 29 Sep 2024 14:17:35 +0900 Subject: [PATCH 04/15] =?UTF-8?q?=E3=83=91=E3=82=B9=E3=81=AE=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Samples/Xcode16.0/xcode16Tests/SampleTest.swift | 0 Samples/fastlane/Fastfile | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 Samples/Xcode16.0/xcode16Tests/SampleTest.swift diff --git a/Samples/Xcode16.0/xcode16Tests/SampleTest.swift b/Samples/Xcode16.0/xcode16Tests/SampleTest.swift new file mode 100644 index 0000000..e69de29 diff --git a/Samples/fastlane/Fastfile b/Samples/fastlane/Fastfile index 3ab6f84..bca36c8 100644 --- a/Samples/fastlane/Fastfile +++ b/Samples/fastlane/Fastfile @@ -4,7 +4,7 @@ platform :ios do all_main_test_target = [ [ "Xcode13.0", "./Xcode13.0/xcode13.0.xcodeproj", "Xcode13.0Tests", "-run-tests-until-failure -test-iterations 3" ] - [ "Xcode16.0", "./Xcode16.0/xcode16.0.xcodeproj", "Xcode16" ] + [ "Xcode16.0", "./Xcode16.0/xcode16.xcodeproj", "Xcode16" ] ] all_arhive_target = [ From ab64a24fdbc46d284dd1af4e9d443fd79ee5cd77 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 29 Sep 2024 14:18:00 +0900 Subject: [PATCH 05/15] =?UTF-8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88?= =?UTF-8?q?=E3=81=AE=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Samples/Xcode16.0/xcode16Tests/ParameterizedTest.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Samples/Xcode16.0/xcode16Tests/ParameterizedTest.swift b/Samples/Xcode16.0/xcode16Tests/ParameterizedTest.swift index b99af9b..e44a829 100644 --- a/Samples/Xcode16.0/xcode16Tests/ParameterizedTest.swift +++ b/Samples/Xcode16.0/xcode16Tests/ParameterizedTest.swift @@ -9,13 +9,13 @@ import Testing struct ParameterizedTest { - - // Parameterized Test Sample + // Parameterized Test Sample String @Test("Parameterized test", arguments: ["sample", "sample2", "sample3"]) func parameterizedTest(name: String) { #expect(name.contains("sample")) } - + + // Parameterized Test Sample Int @Test("Parameterized Test using Int", arguments: [1, 2, 3]) func parameterizedTestUsingInt(number: Int) { #expect(number < 4) From 162306252e85989c67f4ea9dfcf31ac2d3850a03 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 29 Sep 2024 14:22:13 +0900 Subject: [PATCH 06/15] =?UTF-8?q?=E3=82=BF=E3=82=B0=E3=81=AE=E3=83=86?= =?UTF-8?q?=E3=82=B9=E3=83=88=E3=82=B1=E3=83=BC=E3=82=B9=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 --- .../Xcode16.0/xcode16Tests/SampleTest.swift | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/Samples/Xcode16.0/xcode16Tests/SampleTest.swift b/Samples/Xcode16.0/xcode16Tests/SampleTest.swift index e69de29..aa8b2f4 100644 --- a/Samples/Xcode16.0/xcode16Tests/SampleTest.swift +++ b/Samples/Xcode16.0/xcode16Tests/SampleTest.swift @@ -0,0 +1,35 @@ +// +// SampleTest.swift +// xcode16 +// +// Created by Toshiyuki Hirata on 2024/09/29. +// + + +import Testing + +struct SampleTest { + @Test("テストケース名がつけられます") + func SampleTestCase() { + #expect(1 == 1) + } + + @Test("タグもつかえます", .tags(.sampleTag2)) + func SampleTagTestCase() { + #expect(3 != 4) + } + + + @Suite("階層化ができます", .tags(.sampleTag)) + struct StuiteSampleTest { + @Test("階層のテストケース名") + func SuiteSampleTestCase() async throws { + #expect("sample" == "sample") + } + } +} + +extension Tag { + @Tag static var sampleTag: Self + @Tag static var sampleTag2: Self +} From 40c9d024feb5d01012dce7de2b2b322f87ca9490 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 29 Sep 2024 14:23:02 +0900 Subject: [PATCH 07/15] =?UTF-8?q?,=E3=81=8C=E3=81=AA=E3=81=8B=E3=81=A3?= =?UTF-8?q?=E3=81=9F=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Samples/fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Samples/fastlane/Fastfile b/Samples/fastlane/Fastfile index bca36c8..86a4a64 100644 --- a/Samples/fastlane/Fastfile +++ b/Samples/fastlane/Fastfile @@ -3,7 +3,7 @@ default_platform(:ios) platform :ios do all_main_test_target = [ - [ "Xcode13.0", "./Xcode13.0/xcode13.0.xcodeproj", "Xcode13.0Tests", "-run-tests-until-failure -test-iterations 3" ] + [ "Xcode13.0", "./Xcode13.0/xcode13.0.xcodeproj", "Xcode13.0Tests", "-run-tests-until-failure -test-iterations 3" ], [ "Xcode16.0", "./Xcode16.0/xcode16.xcodeproj", "Xcode16" ] ] From 2ca3b61ce7ba76c5e83e61a1c67f981d9f47cb6b Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 29 Sep 2024 14:31:54 +0900 Subject: [PATCH 08/15] =?UTF-8?q?GitHub=20Actions=E3=81=A7Xcode16=E3=82=92?= =?UTF-8?q?=E6=8C=87=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/merge.yml | 3 +++ .github/workflows/pull_request.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 50f478d..e2fdaa7 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -5,6 +5,9 @@ on: branches: - main +env: + DEVELOPER_DIR: /Applications/Xcode_16.app + jobs: all_tests: runs-on: macos-latest diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 3e49d35..e6c5330 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -4,6 +4,8 @@ on: pull_request: branches: - main +env: + DEVELOPER_DIR: /Applications/Xcode_16.app jobs: main_tests: From bf5b6fb473f5cb130acadf60a06ea37ea9a79ec7 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 29 Sep 2024 14:32:11 +0900 Subject: [PATCH 09/15] =?UTF-8?q?scheme=E5=90=8D=E3=81=AE=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Samples/fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Samples/fastlane/Fastfile b/Samples/fastlane/Fastfile index 86a4a64..dbd3139 100644 --- a/Samples/fastlane/Fastfile +++ b/Samples/fastlane/Fastfile @@ -4,7 +4,7 @@ platform :ios do all_main_test_target = [ [ "Xcode13.0", "./Xcode13.0/xcode13.0.xcodeproj", "Xcode13.0Tests", "-run-tests-until-failure -test-iterations 3" ], - [ "Xcode16.0", "./Xcode16.0/xcode16.xcodeproj", "Xcode16" ] + [ "Xcode16.0", "./Xcode16.0/xcode16.xcodeproj", "xcode16" ] ] all_arhive_target = [ From 78b326e1cba68737fa393b535dcf96e6e6d6b0df Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 29 Sep 2024 15:03:45 +0900 Subject: [PATCH 10/15] update Gemfile.lock --- Samples/Gemfile.lock | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/Samples/Gemfile.lock b/Samples/Gemfile.lock index b910344..c2a2d07 100644 --- a/Samples/Gemfile.lock +++ b/Samples/Gemfile.lock @@ -10,20 +10,20 @@ GEM artifactory (3.0.17) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.957.0) - aws-sdk-core (3.201.3) + aws-partitions (1.981.0) + aws-sdk-core (3.209.1) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) - aws-sigv4 (~> 1.8) + aws-sigv4 (~> 1.9) jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.88.0) - aws-sdk-core (~> 3, >= 3.201.0) + aws-sdk-kms (1.94.0) + aws-sdk-core (~> 3, >= 3.207.0) aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.156.0) - aws-sdk-core (~> 3, >= 3.201.0) + aws-sdk-s3 (1.166.0) + aws-sdk-core (~> 3, >= 3.207.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) - aws-sigv4 (1.9.0) + aws-sigv4 (1.10.0) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) base64 (0.2.0) @@ -39,7 +39,7 @@ GEM dotenv (2.8.1) emoji_regex (3.2.3) excon (0.111.0) - faraday (1.10.3) + faraday (1.10.4) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) @@ -60,15 +60,15 @@ GEM faraday-httpclient (1.0.1) faraday-multipart (1.0.4) multipart-post (~> 2) - faraday-net_http (1.0.1) + faraday-net_http (1.0.2) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) faraday-rack (1.0.0) faraday-retry (1.0.3) - faraday_middleware (1.2.0) + faraday_middleware (1.2.1) faraday (~> 1.0) fastimage (2.3.1) - fastlane (2.221.1) + fastlane (2.223.1) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -126,7 +126,7 @@ GEM google-apis-core (>= 0.11.0, < 2.a) google-apis-storage_v1 (0.31.0) google-apis-core (>= 0.11.0, < 2.a) - google-cloud-core (1.7.0) + google-cloud-core (1.7.1) google-cloud-env (>= 1.0, < 3.a) google-cloud-errors (~> 1.0) google-cloud-env (1.6.0) @@ -147,12 +147,12 @@ GEM os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) highline (2.0.3) - http-cookie (1.0.6) + http-cookie (1.0.7) domain_name (~> 0.5) httpclient (2.8.3) jmespath (1.6.2) json (2.7.2) - jwt (2.8.2) + jwt (2.9.1) base64 mini_magick (4.13.2) mini_mime (1.1.5) @@ -171,8 +171,7 @@ GEM trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) retriable (3.1.2) - rexml (3.2.9) - strscan + rexml (3.3.7) rouge (2.0.7) ruby2_keywords (0.0.5) rubyzip (2.3.2) @@ -185,7 +184,6 @@ GEM simctl (1.6.10) CFPropertyList naturally - strscan (3.1.0) terminal-notifier (2.0.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) @@ -195,15 +193,15 @@ GEM tty-spinner (0.9.3) tty-cursor (~> 0.7) uber (0.1.0) - unicode-display_width (2.5.0) + unicode-display_width (2.6.0) word_wrap (1.0.0) - xcodeproj (1.24.0) + xcodeproj (1.25.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) colored2 (~> 3.1) nanaimo (~> 0.3.0) - rexml (~> 3.2.4) + rexml (>= 3.3.2, < 4.0) xcpretty (0.3.0) rouge (~> 2.0.7) xcpretty-travis-formatter (1.0.1) @@ -216,4 +214,4 @@ DEPENDENCIES fastlane BUNDLED WITH - 2.3.26 + 2.3.27 From ac66e1e82904fb17c868e7b4c5589e52ae786983 Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 16 Feb 2025 14:43:48 +0900 Subject: [PATCH 11/15] update Gemfile.lock --- Samples/Gemfile.lock | 65 ++++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 30 deletions(-) diff --git a/Samples/Gemfile.lock b/Samples/Gemfile.lock index c2a2d07..385a5db 100644 --- a/Samples/Gemfile.lock +++ b/Samples/Gemfile.lock @@ -9,21 +9,22 @@ GEM public_suffix (>= 2.0.2, < 7.0) artifactory (3.0.17) atomos (0.1.3) - aws-eventstream (1.3.0) - aws-partitions (1.981.0) - aws-sdk-core (3.209.1) + aws-eventstream (1.3.1) + aws-partitions (1.1050.0) + aws-sdk-core (3.218.1) aws-eventstream (~> 1, >= 1.3.0) - aws-partitions (~> 1, >= 1.651.0) + aws-partitions (~> 1, >= 1.992.0) aws-sigv4 (~> 1.9) + base64 jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.94.0) - aws-sdk-core (~> 3, >= 3.207.0) + aws-sdk-kms (1.98.0) + aws-sdk-core (~> 3, >= 3.216.0) aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.166.0) - aws-sdk-core (~> 3, >= 3.207.0) + aws-sdk-s3 (1.181.0) + aws-sdk-core (~> 3, >= 3.216.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) - aws-sigv4 (1.10.0) + aws-sigv4 (1.11.0) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) base64 (0.2.0) @@ -33,12 +34,12 @@ GEM commander (4.6.0) highline (~> 2.0.0) declarative (0.0.20) - digest-crc (0.6.5) + digest-crc (0.7.0) rake (>= 12.0.0, < 14.0.0) domain_name (0.6.20240107) dotenv (2.8.1) emoji_regex (3.2.3) - excon (0.111.0) + excon (0.112.0) faraday (1.10.4) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -58,8 +59,8 @@ GEM faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) faraday-httpclient (1.0.1) - faraday-multipart (1.0.4) - multipart-post (~> 2) + faraday-multipart (1.1.0) + multipart-post (~> 2.0) faraday-net_http (1.0.2) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) @@ -67,8 +68,8 @@ GEM faraday-retry (1.0.3) faraday_middleware (1.2.1) faraday (~> 1.0) - fastimage (2.3.1) - fastlane (2.223.1) + fastimage (2.4.0) + fastlane (2.226.0) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -84,6 +85,7 @@ GEM faraday-cookie_jar (~> 0.0.6) faraday_middleware (~> 1.0) fastimage (>= 2.1.0, < 3.0.0) + fastlane-sirp (>= 1.0.0) gh_inspector (>= 1.1.2, < 2.0.0) google-apis-androidpublisher_v3 (~> 0.3) google-apis-playcustomapp_v1 (~> 0.1) @@ -107,8 +109,10 @@ GEM tty-spinner (>= 0.8.0, < 1.0.0) word_wrap (~> 1.0.0) xcodeproj (>= 1.13.0, < 2.0.0) - xcpretty (~> 0.3.0) + xcpretty (~> 0.4.0) xcpretty-travis-formatter (>= 0.0.3, < 2.0.0) + fastlane-sirp (1.0.0) + sysrandom (~> 1.0) gh_inspector (1.1.3) google-apis-androidpublisher_v3 (0.54.0) google-apis-core (>= 0.11.0, < 2.a) @@ -147,23 +151,23 @@ GEM os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) highline (2.0.3) - http-cookie (1.0.7) + http-cookie (1.0.8) domain_name (~> 0.5) httpclient (2.8.3) jmespath (1.6.2) - json (2.7.2) - jwt (2.9.1) + json (2.10.1) + jwt (2.10.1) base64 mini_magick (4.13.2) mini_mime (1.1.5) multi_json (1.15.0) multipart-post (2.4.1) - nanaimo (0.3.0) + nanaimo (0.4.0) naturally (2.2.1) nkf (0.2.0) - optparse (0.5.0) + optparse (0.6.0) os (1.1.4) - plist (3.7.1) + plist (3.7.2) public_suffix (6.0.1) rake (13.2.1) representable (3.2.0) @@ -171,10 +175,10 @@ GEM trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) retriable (3.1.2) - rexml (3.3.7) - rouge (2.0.7) + rexml (3.4.0) + rouge (3.28.0) ruby2_keywords (0.0.5) - rubyzip (2.3.2) + rubyzip (2.4.1) security (0.1.5) signet (0.19.0) addressable (~> 2.8) @@ -184,6 +188,7 @@ GEM simctl (1.6.10) CFPropertyList naturally + sysrandom (1.0.5) terminal-notifier (2.0.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) @@ -195,15 +200,15 @@ GEM uber (0.1.0) unicode-display_width (2.6.0) word_wrap (1.0.0) - xcodeproj (1.25.0) + xcodeproj (1.27.0) CFPropertyList (>= 2.3.3, < 4.0) atomos (~> 0.1.3) claide (>= 1.0.2, < 2.0) colored2 (~> 3.1) - nanaimo (~> 0.3.0) - rexml (>= 3.3.2, < 4.0) - xcpretty (0.3.0) - rouge (~> 2.0.7) + nanaimo (~> 0.4.0) + rexml (>= 3.3.6, < 4.0) + xcpretty (0.4.0) + rouge (~> 3.28.0) xcpretty-travis-formatter (1.0.1) xcpretty (~> 0.2, >= 0.0.7) From 13a2820290da5eaa2fc981533cd253101e46b20e Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 16 Feb 2025 14:50:41 +0900 Subject: [PATCH 12/15] change Xcode version --- .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 e2fdaa7..3036392 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -6,7 +6,7 @@ on: - main env: - DEVELOPER_DIR: /Applications/Xcode_16.app + DEVELOPER_DIR: /Applications/Xcode_16.2.0.app jobs: all_tests: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index e6c5330..6589583 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.app + DEVELOPER_DIR: /Applications/Xcode_16.2.0.app jobs: main_tests: From 30c42da0f411bcea4940918248ccab3b1034487d Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 16 Feb 2025 14:54:20 +0900 Subject: [PATCH 13/15] change Xcode version (Xcode16.2 do not run iOS18.2 simulator) --- .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 3036392..e6bd179 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -6,7 +6,7 @@ on: - main env: - DEVELOPER_DIR: /Applications/Xcode_16.2.0.app + DEVELOPER_DIR: /Applications/Xcode_16.1.0.app jobs: all_tests: diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 6589583..6828f27 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.2.0.app + DEVELOPER_DIR: /Applications/Xcode_16.1.0.app jobs: main_tests: From 2bad2b5be009d80db5f60657e6c33fe7ecb26a6b Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 16 Feb 2025 15:29:06 +0900 Subject: [PATCH 14/15] set Simulator device --- Samples/fastlane/Fastfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Samples/fastlane/Fastfile b/Samples/fastlane/Fastfile index dbd3139..0ea566f 100644 --- a/Samples/fastlane/Fastfile +++ b/Samples/fastlane/Fastfile @@ -22,6 +22,7 @@ platform :ios do run_tests( project: project, scheme: scheme, + device: "iPhone 16", result_bundle: true, xcargs: command, ) From ef5aaa10750533b78755273a6355082a136e6abc Mon Sep 17 00:00:00 2001 From: tarappo Date: Sun, 16 Feb 2025 15:29:20 +0900 Subject: [PATCH 15/15] add sharedata --- .../xcshareddata/xcschemes/xcode16.xcscheme | 102 ++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 Samples/Xcode16.0/xcode16.xcodeproj/xcshareddata/xcschemes/xcode16.xcscheme diff --git a/Samples/Xcode16.0/xcode16.xcodeproj/xcshareddata/xcschemes/xcode16.xcscheme b/Samples/Xcode16.0/xcode16.xcodeproj/xcshareddata/xcschemes/xcode16.xcscheme new file mode 100644 index 0000000..394e1ef --- /dev/null +++ b/Samples/Xcode16.0/xcode16.xcodeproj/xcshareddata/xcschemes/xcode16.xcscheme @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +