Skip to content

Instantly share code, notes, and snippets.

@abbaswasim
Forked from paulz/xcode-inherit-env.sh
Last active April 5, 2021 00:17
Show Gist options
  • Save abbaswasim/b68599721bee2630f4a2ec382188929e to your computer and use it in GitHub Desktop.
Save abbaswasim/b68599721bee2630f4a2ec382188929e to your computer and use it in GitHub Desktop.
Allow Xcode to access shell environment variables
It was possible to allow Xcode to access shell environment variables like the following:
defaults write com.apple.dt.Xcode UseSanitizedBuildSystemEnvironment -bool NO
This doesn't work anymore unfortunatley for some reason, for me what works is to load xcode project with 'open xcode-project' from command line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment