File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -3375,6 +3375,7 @@ function build_and_test_installable_package() {
3375
3375
COMPATIBILITY_VERSION=2
3376
3376
COMPATIBILITY_VERSION_DISPLAY_STRING=" Xcode 8.0"
3377
3377
DARWIN_TOOLCHAIN_CREATED_DATE=" $( date -u +' %a %b %d %T GMT %Y' ) "
3378
+ TOOLCHAIN_PLUGIN_PATH_DESCRIPTOR=' $(TOOLCHAIN_DIR)/usr/lib/swift/host/plugins'
3378
3379
3379
3380
SWIFT_USE_DEVELOPMENT_TOOLCHAIN_RUNTIME=" YES"
3380
3381
if [[ " ${DARWIN_TOOLCHAIN_REQUIRE_USE_OS_RUNTIME} " -eq " 1" ]]; then
@@ -3409,6 +3410,7 @@ function build_and_test_installable_package() {
3409
3410
call ${PLISTBUDDY_BIN} -c " Add OverrideBuildSettings:SWIFT_LINK_OBJC_RUNTIME string 'YES'" " ${DARWIN_TOOLCHAIN_INFO_PLIST} "
3410
3411
call ${PLISTBUDDY_BIN} -c " Add OverrideBuildSettings:SWIFT_DEVELOPMENT_TOOLCHAIN string 'YES'" " ${DARWIN_TOOLCHAIN_INFO_PLIST} "
3411
3412
call ${PLISTBUDDY_BIN} -c " Add OverrideBuildSettings:SWIFT_USE_DEVELOPMENT_TOOLCHAIN_RUNTIME string '${SWIFT_USE_DEVELOPMENT_TOOLCHAIN_RUNTIME} '" " ${DARWIN_TOOLCHAIN_INFO_PLIST} "
3413
+ call ${PLISTBUDDY_BIN} -c " Add OverrideBuildSettings:OTHER_SWIFT_FLAGS string '\$ (inherited) -plugin-path ${TOOLCHAIN_PLUGIN_PATH_DESCRIPTOR} '" " ${DARWIN_TOOLCHAIN_INFO_PLIST} "
3412
3414
3413
3415
call chmod a+r " ${DARWIN_TOOLCHAIN_INFO_PLIST} "
3414
3416
You can’t perform that action at this time.
0 commit comments