awesome-xcode-scripts icon indicating copy to clipboard operation
awesome-xcode-scripts copied to clipboard

Pod install behavior script is not working with folder with space in name in MacOS.

Open Phanquan opened this issue 1 year ago • 0 comments

so, my project parent folder has a space in the name so the script was not running, modify the script like this will fix the problems:

#!/bin/sh
osascript <<END
tell application "Terminal"
if not (exists window 1) then reopen
activate
do script "cd \"`pwd`\";pod install --repo-update" in window 1
end tell
END

Phanquan avatar May 17 '24 09:05 Phanquan