Skip to content

Instantly share code, notes, and snippets.

@abhishekbedi1432
Last active September 19, 2020 10:40
Show Gist options
  • Save abhishekbedi1432/c52abef187b376239b8ef3a38a70f77e to your computer and use it in GitHub Desktop.
Save abhishekbedi1432/c52abef187b376239b8ef3a38a70f77e to your computer and use it in GitHub Desktop.
Script to install pods in the project directory using Apple Script and Terminal
#!/bin/sh
osascript <<END
tell application "Terminal"
if not (exists window 1) then reopen
activate
do script "cd `pwd`;pod install" in window 1
end tell
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment