Skip to content

Instantly share code, notes, and snippets.

@hackjutsu
Last active February 21, 2017 03:06
Show Gist options
  • Select an option

  • Save hackjutsu/0d9ef7c1e794889b3571bc12ab49c2cb to your computer and use it in GitHub Desktop.

Select an option

Save hackjutsu/0d9ef7c1e794889b3571bc12ab49c2cb to your computer and use it in GitHub Desktop.
[Env in Xcode] Open Xcode from terminal so that env defined in .bash_profile could be inherited.
# Xcode should be the default application for .xcodeproj files, so this should work:
open a.xcodeproj
# If that opens a different application, you can force it to use xcode:
open -a Xcode a.xcodeproj
@hackjutsu

Copy link
Copy Markdown
Author

I would love to know if there is a better way to let Xcode to inherit env.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment