@@ -17,7 +17,8 @@ class XcodeToolsTests: XCTestCase {
1717 try await testArchiving (
1818 projectDirectoryPath: projectDirectoryPath,
1919 scheme: scheme,
20- projectType: . swiftPackage
20+ projectType: . swiftPackage,
21+ platform: . iOS
2122 )
2223 }
2324
@@ -29,7 +30,8 @@ class XcodeToolsTests: XCTestCase {
2930 try await testArchiving (
3031 projectDirectoryPath: projectDirectoryPath,
3132 scheme: scheme,
32- projectType: . xcodeProject( scheme: scheme)
33+ projectType: . xcodeProject( scheme: scheme) ,
34+ platform: . iOS
3335 )
3436 }
3537}
@@ -39,7 +41,8 @@ private extension XcodeToolsTests {
3941 func testArchiving(
4042 projectDirectoryPath: String ,
4143 scheme: String ,
42- projectType: ProjectType
44+ projectType: ProjectType ,
45+ platform: ProjectPlatform
4346 ) async throws {
4447
4548 let archiveResult = " ARCHIVE_RESULT "
@@ -93,7 +96,8 @@ private extension XcodeToolsTests {
9396 let derivedDataPath = try await xcodeTools. archive (
9497 projectDirectoryPath: projectDirectoryPath,
9598 scheme: scheme,
96- projectType: projectType
99+ projectType: projectType,
100+ platform: platform
97101 )
98102
99103 XCTAssertEqual ( derivedDataPath, expectedDerivedDataPath)
0 commit comments