I wouldn't do the "Enabling apps from everywhere" step.
If you have an unsigned app, just right click on it and select open. OSX will ask you once and be fine with it from then on.
You can see its value with:
xattr -p com.apple.quarantine <filename>
And remove it with: xattr -d com.apple.quarantine <filename>
Binaries/application bundles that roll out of your linker/xcodebuild do not have that attribute. Hence, no bugging :).