diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 50f478d..e6bd179 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -5,6 +5,9 @@ on: branches: - main +env: + DEVELOPER_DIR: /Applications/Xcode_16.1.0.app + jobs: all_tests: runs-on: macos-latest diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 3e49d35..6828f27 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.1.0.app jobs: main_tests: diff --git a/Samples/Gemfile.lock b/Samples/Gemfile.lock index b910344..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.957.0) - aws-sdk-core (3.201.3) + 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-sigv4 (~> 1.8) + aws-partitions (~> 1, >= 1.992.0) + aws-sigv4 (~> 1.9) + base64 jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.88.0) - aws-sdk-core (~> 3, >= 3.201.0) + aws-sdk-kms (1.98.0) + aws-sdk-core (~> 3, >= 3.216.0) aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.156.0) - aws-sdk-core (~> 3, >= 3.201.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.9.0) + aws-sigv4 (1.11.0) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) base64 (0.2.0) @@ -33,13 +34,13 @@ 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) - faraday (1.10.3) + excon (0.112.0) + faraday (1.10.4) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) faraday-excon (~> 1.1) @@ -58,17 +59,17 @@ 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-net_http (1.0.1) + 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) 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) + 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) @@ -126,7 +130,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,23 +151,23 @@ GEM os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) highline (2.0.3) - http-cookie (1.0.6) + http-cookie (1.0.8) domain_name (~> 0.5) httpclient (2.8.3) jmespath (1.6.2) - json (2.7.2) - jwt (2.8.2) + 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,11 +175,10 @@ GEM trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) retriable (3.1.2) - rexml (3.2.9) - strscan - 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) @@ -185,7 +188,7 @@ GEM simctl (1.6.10) CFPropertyList naturally - strscan (3.1.0) + sysrandom (1.0.5) terminal-notifier (2.0.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) @@ -195,17 +198,17 @@ 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.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.2.4) - 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) @@ -216,4 +219,4 @@ DEPENDENCIES fastlane BUNDLED WITH - 2.3.26 + 2.3.27 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.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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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/ParameterizedTest.swift b/Samples/Xcode16.0/xcode16Tests/ParameterizedTest.swift new file mode 100644 index 0000000..e44a829 --- /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 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) + } +} diff --git a/Samples/Xcode16.0/xcode16Tests/SampleTest.swift b/Samples/Xcode16.0/xcode16Tests/SampleTest.swift new file mode 100644 index 0000000..aa8b2f4 --- /dev/null +++ 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 +} 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) + } +} diff --git a/Samples/fastlane/Fastfile b/Samples/fastlane/Fastfile index 2698309..0ea566f 100644 --- a/Samples/fastlane/Fastfile +++ b/Samples/fastlane/Fastfile @@ -3,7 +3,8 @@ 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" ] ] all_arhive_target = [ @@ -21,6 +22,7 @@ platform :ios do run_tests( project: project, scheme: scheme, + device: "iPhone 16", result_bundle: true, xcargs: command, )