File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Sources/swift-bundler/Bundler Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -107,9 +107,11 @@ enum XcodeSupportGenerator {
107107 let packagePath = " ${WORKSPACE_PATH}/../../../ "
108108
109109 // Commands to put in the scheme
110+ let fixPath = " export PATH=`zsh --login -c '[ -f /etc/zshrc ] && . /etc/zshrc; [ -f ~/.zshrc ] && . ~/.zshrc; echo $PATH'` "
110111 let command = " swift-bundler bundle "
111112 let arguments = " \( app) -d \( packagePath) --products-directory ${BUILT_PRODUCTS_DIR} -o ' \( escapedOutputPath) ' --skip-build --built-with-xcode "
112- let createBundle = " \( command) \( arguments) "
113+ let createBundle = " \( fixPath) ; \( command) \( arguments) "
114+ . replacingOccurrences ( of: " & " , with: " & " )
113115
114116 // Create the scheme's contents from a massive template
115117 return . success( """
You can’t perform that action at this time.
0 commit comments