You can use Xcode schemes to add a flag as an argument or environment variables - you can check it with NSProcessInfo - either -arguments or -environment .
In Xcode, go to Product> Schema> Edit Schema in the menu bar, select Run, and in the Arguments tab, add either an argument or an environment variable.
Charlie monroe
source share