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 @@ -3398,6 +3398,7 @@ function build_and_test_installable_package() {
3398
3398
COMPATIBILITY_VERSION=2
3399
3399
COMPATIBILITY_VERSION_DISPLAY_STRING=" Xcode 8.0"
3400
3400
DARWIN_TOOLCHAIN_CREATED_DATE=" $( date -u +' %a %b %d %T GMT %Y' ) "
3401
+ TOOLCHAIN_PLUGIN_PATH_DESCRIPTOR=' $(TOOLCHAIN_DIR)/usr/lib/swift/host/plugins'
3401
3402
3402
3403
SWIFT_USE_DEVELOPMENT_TOOLCHAIN_RUNTIME=" YES"
3403
3404
if [[ " ${DARWIN_TOOLCHAIN_REQUIRE_USE_OS_RUNTIME} " -eq " 1" ]]; then
@@ -3432,6 +3433,7 @@ function build_and_test_installable_package() {
3432
3433
call ${PLISTBUDDY_BIN} -c " Add OverrideBuildSettings:SWIFT_LINK_OBJC_RUNTIME string 'YES'" " ${DARWIN_TOOLCHAIN_INFO_PLIST} "
3433
3434
call ${PLISTBUDDY_BIN} -c " Add OverrideBuildSettings:SWIFT_DEVELOPMENT_TOOLCHAIN string 'YES'" " ${DARWIN_TOOLCHAIN_INFO_PLIST} "
3434
3435
call ${PLISTBUDDY_BIN} -c " Add OverrideBuildSettings:SWIFT_USE_DEVELOPMENT_TOOLCHAIN_RUNTIME string '${SWIFT_USE_DEVELOPMENT_TOOLCHAIN_RUNTIME} '" " ${DARWIN_TOOLCHAIN_INFO_PLIST} "
3436
+ call ${PLISTBUDDY_BIN} -c " Add OverrideBuildSettings:OTHER_SWIFT_FLAGS string '\$ (inherited) -plugin-path ${TOOLCHAIN_PLUGIN_PATH_DESCRIPTOR} '" " ${DARWIN_TOOLCHAIN_INFO_PLIST} "
3435
3437
3436
3438
call chmod a+r " ${DARWIN_TOOLCHAIN_INFO_PLIST} "
3437
3439
You can’t perform that action at this time.
0 commit comments