Determine if the action was "Build" or "Build and Run" in XCode? -


I have a custom application that requires a few things to set before running it. I want to add it as a build phase, so even when I "build and run" I can use it, but when I do not "build" it. How do I see it in a shell script, which runs at the end of construction phase

please Do not ask

Do not know whether there is a special trigger "build" vs "build and run "For projects you want to see a different build configuration, projects come with debug and build configurations, perhaps a flag may be set in a" config and build ". If the flag is set, then if you set up your setup, it will be easy to switch the configuration, I do something similar to my debug output and only convert it to debug configuration.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -