File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1953,16 +1953,14 @@ for deployment_target in "${HOST_TARGET}" "${CROSS_TOOLS_DEPLOYMENT_TARGETS[@]}"
1953
1953
# result, we must copy swift-stdlib-tool ourselves.
1954
1954
copy_swift_stdlib_tool_substitute " $( build_directory_bin ${deployment_target} swift) /swift-stdlib-tool"
1955
1955
1956
- # The Linux build places build products in the
1957
- # XCTEST_BUILD_DIR. This, and installation of XCTest in
1958
- # general, is not supported on OS X.
1959
1956
set -x
1960
1957
xcodebuild \
1961
1958
-workspace " ${XCTEST_SOURCE_DIR} " /XCTest.xcworkspace \
1962
1959
-scheme SwiftXCTest \
1963
1960
SWIFT_EXEC=" ${SWIFTC_BIN} " \
1964
1961
SWIFT_LINK_OBJC_RUNTIME=YES \
1965
- DSTROOT=" ${XCTEST_BUILD_DIR} "
1962
+ SYMROOT=" ${XCTEST_BUILD_DIR} " \
1963
+ OBJROOT=" ${XCTEST_BUILD_DIR} "
1966
1964
{ set +x; } 2> /dev/null
1967
1965
else
1968
1966
FOUNDATION_BUILD_DIR=$( build_directory ${deployment_target} foundation)
@@ -2252,7 +2250,9 @@ for deployment_target in "${STDLIB_DEPLOYMENT_TARGETS[@]}"; do
2252
2250
-workspace " ${XCTEST_SOURCE_DIR} " /XCTest.xcworkspace \
2253
2251
-scheme SwiftXCTestFunctionalTests \
2254
2252
SWIFT_EXEC=" ${SWIFTC_BIN} " \
2255
- SWIFT_LINK_OBJC_RUNTIME=YES
2253
+ SWIFT_LINK_OBJC_RUNTIME=YES \
2254
+ SYMROOT=" ${XCTEST_BUILD_DIR} " \
2255
+ OBJROOT=" ${XCTEST_BUILD_DIR} "
2256
2256
{ set +x; } 2> /dev/null
2257
2257
else
2258
2258
FOUNDATION_BUILD_DIR=$( build_directory ${deployment_target} foundation)
You can’t perform that action at this time.
0 commit comments