@@ -227,7 +227,7 @@ fileprivate struct UnitTestTaskConstructionTests: CoreBasedTests {
227
227
results. checkTask ( . matchTarget( target) , . matchRule( [ " WriteAuxiliaryFile " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget.LinkFileList " ] ) ) { _ in }
228
228
results. checkTask ( . matchTarget( target) , . matchRuleType( " Ld " ) ) { task in
229
229
task. checkRuleInfo ( [ " Ld " , " \( SRCROOT) /build/Debug/UnitTestTarget.xctest/Contents/MacOS/UnitTestTarget " , " normal " ] )
230
- task. checkCommandLineMatches ( [ " clang " , " -Xlinker " , " -reproducible " , " -target " , " x86_64-apple-macos \( MACOSX_DEPLOYMENT_TARGET) " , " -bundle " , " -isysroot " , . equal( core. loadSDK ( . macOS) . path. str) , " -Os " , " -L \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -L \( SRCROOT) /build/Debug " , " -L \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/usr/lib " , " -F \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -F \( SRCROOT) /build/Debug " , " -iframework " , " \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/Library/Frameworks " , . anySequence, " -filelist " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget.LinkFileList " , " -Xlinker " , " -rpath " , " -Xlinker " , " @loader_path/../Frameworks " , " -Xlinker " , " -object_path_lto " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget_lto.o " , " -Xlinker " , " -dependency_info " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget_dependency_info.dat " , " -fobjc-link-runtime " , " -L \( core. developerPath. str) /Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx " , " -L/usr/lib/swift " , " -Xlinker " , " -add_ast_path " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget.swiftmodule " , " -framework " , " XCTest " , " -lXCTestSwiftSupport " , " -framework " , " FrameworkTarget " , " -o " , " \( SRCROOT) /build/Debug/UnitTestTarget.xctest/Contents/MacOS/UnitTestTarget " ] )
230
+ task. checkCommandLineMatches ( [ " clang " , " -Xlinker " , " -reproducible " , " -target " , " x86_64-apple-macos \( MACOSX_DEPLOYMENT_TARGET) " , " -bundle " , " -isysroot " , . equal( core. loadSDK ( . macOS) . path. str) , " -Os " , " -L \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -L \( SRCROOT) /build/Debug " , " -L \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/usr/lib " , " -F \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -F \( SRCROOT) /build/Debug " , " -iframework " , " \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/Library/Frameworks " , . anySequence, " -filelist " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget.LinkFileList " , " -Xlinker " , " -rpath " , " -Xlinker " , " @loader_path/../Frameworks " , " -Xlinker " , " -object_path_lto " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget_lto.o " , " -Xlinker " , " -dependency_info " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget_dependency_info.dat " , " -fobjc-link-runtime " , " -L \( core. developerPath. str) /Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx " , " -L/usr/lib/swift " , " -Xlinker " , " -add_ast_path " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTarget.build/Objects-normal/x86_64/UnitTestTarget.swiftmodule " , " -Xlinker " , " -needed_framework " , " -Xlinker " , " XCTest " , " -framework " , " XCTest " , " -Xlinker " , " -needed-lXCTestSwiftSupport " , " -lXCTestSwiftSupport " , " -framework " , " FrameworkTarget " , " -o " , " \( SRCROOT) /build/Debug/UnitTestTarget.xctest/Contents/MacOS/UnitTestTarget " ] )
231
231
232
232
// We used to pass the deployment target to the linker in the environment, but this is supposedly no longer necessary.
233
233
task. checkEnvironment ( [ : ] , exact: true )
@@ -519,7 +519,7 @@ fileprivate struct UnitTestTaskConstructionTests: CoreBasedTests {
519
519
results. checkTask ( . matchTarget( target) , . matchRule( [ " WriteAuxiliaryFile " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne.LinkFileList " ] ) ) { _ in }
520
520
results. checkTask ( . matchTarget( target) , . matchRuleType( " Ld " ) ) { task in
521
521
task. checkRuleInfo ( [ " Ld " , " \( SRCROOT) /build/Debug/AppTarget.app/Contents/PlugIns/UnitTestTargetOne.xctest/Contents/MacOS/UnitTestTargetOne " , " normal " ] )
522
- task. checkCommandLineMatches ( [ " clang " , " -Xlinker " , " -reproducible " , " -target " , " x86_64-apple-macos \( MACOSX_DEPLOYMENT_TARGET) " , " -bundle " , " -isysroot " , . equal( core. loadSDK ( . macOS) . path. str) , " -Os " , " -L \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -L \( SRCROOT) /build/Debug " , " -L \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/usr/lib " , " -F \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -F \( SRCROOT) /build/Debug " , " -iframework " , " \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/Library/Frameworks " , . anySequence, " -filelist " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne.LinkFileList " , " -Xlinker " , " -rpath " , " -Xlinker " , " @loader_path/../Frameworks " , " -Xlinker " , " -rpath " , " -Xlinker " , " @executable_path/../Frameworks " , " -bundle_loader " , " \( SRCROOT) /build/Debug/AppTarget.app/Contents/MacOS/AppTarget " , " -Xlinker " , " -object_path_lto " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne_lto.o " , " -Xlinker " , " -dependency_info " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne_dependency_info.dat " , " -fobjc-link-runtime " , " -L \( core. developerPath. str) /Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx " , " -L/usr/lib/swift " , " -Xlinker " , " -add_ast_path " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne.swiftmodule " , " -framework " , " XCTest " , " -lXCTestSwiftSupport " , " -Xlinker " , " -no_adhoc_codesign " , " -o " , " \( SRCROOT) /build/Debug/AppTarget.app/Contents/PlugIns/UnitTestTargetOne.xctest/Contents/MacOS/UnitTestTargetOne " ] )
522
+ task. checkCommandLineMatches ( [ " clang " , " -Xlinker " , " -reproducible " , " -target " , " x86_64-apple-macos \( MACOSX_DEPLOYMENT_TARGET) " , " -bundle " , " -isysroot " , . equal( core. loadSDK ( . macOS) . path. str) , " -Os " , " -L \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -L \( SRCROOT) /build/Debug " , " -L \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/usr/lib " , " -F \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -F \( SRCROOT) /build/Debug " , " -iframework " , " \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/Library/Frameworks " , . anySequence, " -filelist " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne.LinkFileList " , " -Xlinker " , " -rpath " , " -Xlinker " , " @loader_path/../Frameworks " , " -Xlinker " , " -rpath " , " -Xlinker " , " @executable_path/../Frameworks " , " -bundle_loader " , " \( SRCROOT) /build/Debug/AppTarget.app/Contents/MacOS/AppTarget " , " -Xlinker " , " -object_path_lto " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne_lto.o " , " -Xlinker " , " -dependency_info " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne_dependency_info.dat " , " -fobjc-link-runtime " , " -L \( core. developerPath. str) /Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx " , " -L/usr/lib/swift " , " -Xlinker " , " -add_ast_path " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UnitTestTargetOne.build/Objects-normal/x86_64/UnitTestTargetOne.swiftmodule " , " -Xlinker " , " -needed_framework " , " -Xlinker " , " XCTest " , " -framework " , " XCTest " , " -Xlinker " , " -needed-lXCTestSwiftSupport " , " -lXCTestSwiftSupport " , " -Xlinker " , " -no_adhoc_codesign " , " -o " , " \( SRCROOT) /build/Debug/AppTarget.app/Contents/PlugIns/UnitTestTargetOne.xctest/Contents/MacOS/UnitTestTargetOne " ] )
523
523
524
524
// We used to pass the deployment target to the linker in the environment, but this is supposedly no longer necessary.
525
525
task. checkEnvironment ( [ : ] , exact: true )
@@ -2312,7 +2312,7 @@ fileprivate struct UnitTestTaskConstructionTests: CoreBasedTests {
2312
2312
results. checkTask ( . matchTarget( target) , . matchRule( [ " WriteAuxiliaryFile " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget.LinkFileList " ] ) ) { _ in }
2313
2313
results. checkTask ( . matchTarget( target) , . matchRuleType( " Ld " ) ) { task in
2314
2314
task. checkRuleInfo ( [ " Ld " , " \( SRCROOT) /build/Debug/UITestTarget-Runner.app/Contents/PlugIns/UITestTarget.xctest/Contents/MacOS/UITestTarget " , " normal " ] )
2315
- task. checkCommandLineMatches ( [ " clang " , " -Xlinker " , " -reproducible " , " -target " , " x86_64-apple-macos \( MACOSX_DEPLOYMENT_TARGET) " , " -bundle " , " -isysroot " , . equal( core. loadSDK ( . macOS) . path. str) , " -Os " , " -L \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -L \( SRCROOT) /build/Debug " , " -L \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/usr/lib " , " -F \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -F \( SRCROOT) /build/Debug " , " -iframework " , " \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/Library/Frameworks " , . anySequence, " -filelist " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget.LinkFileList " , " -Xlinker " , " -rpath " , " -Xlinker " , " @loader_path/../Frameworks " , " -Xlinker " , " -object_path_lto " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget_lto.o " , " -Xlinker " , " -dependency_info " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget_dependency_info.dat " , " -fobjc-link-runtime " , " -L \( core. developerPath. str) /Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx " , " -L/usr/lib/swift " , " -Xlinker " , " -add_ast_path " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget.swiftmodule " , " -framework " , " XCTest " , " -lXCTestSwiftSupport " , " -Xlinker " , " -no_adhoc_codesign " , " -o " , " \( SRCROOT) /build/Debug/UITestTarget-Runner.app/Contents/PlugIns/UITestTarget.xctest/Contents/MacOS/UITestTarget " ] )
2315
+ task. checkCommandLineMatches ( [ " clang " , " -Xlinker " , " -reproducible " , " -target " , " x86_64-apple-macos \( MACOSX_DEPLOYMENT_TARGET) " , " -bundle " , " -isysroot " , . equal( core. loadSDK ( . macOS) . path. str) , " -Os " , " -L \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -L \( SRCROOT) /build/Debug " , " -L \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/usr/lib " , " -F \( SRCROOT) /build/EagerLinkingTBDs/Debug " , " -F \( SRCROOT) /build/Debug " , " -iframework " , " \( core. developerPath. str) /Platforms/MacOSX.platform/Developer/Library/Frameworks " , . anySequence, " -filelist " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget.LinkFileList " , " -Xlinker " , " -rpath " , " -Xlinker " , " @loader_path/../Frameworks " , " -Xlinker " , " -object_path_lto " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget_lto.o " , " -Xlinker " , " -dependency_info " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget_dependency_info.dat " , " -fobjc-link-runtime " , " -L \( core. developerPath. str) /Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx " , " -L/usr/lib/swift " , " -Xlinker " , " -add_ast_path " , " -Xlinker " , " \( SRCROOT) /build/aProject.build/Debug/UITestTarget.build/Objects-normal/x86_64/UITestTarget.swiftmodule " , " -Xlinker " , " -needed_framework " , " -Xlinker " , " XCTest " , " -framework " , " XCTest " , " -Xlinker " , " -needed-lXCTestSwiftSupport " , " -lXCTestSwiftSupport " , " -Xlinker " , " -no_adhoc_codesign " , " -o " , " \( SRCROOT) /build/Debug/UITestTarget-Runner.app/Contents/PlugIns/UITestTarget.xctest/Contents/MacOS/UITestTarget " ] )
2316
2316
2317
2317
// We used to pass the deployment target to the linker in the environment, but this is supposedly no longer necessary.
2318
2318
task. checkEnvironment ( [ : ] , exact: true )
0 commit comments