ios security swift xcode

Swift and Stack smashing protection

How to enable Stack Smashing Protection in pure swift application?

I did try to put “-fstack-protector-all” flag to Other C++ Flags under project build settings tab in xCode, but is seems that, this flag is unused or have no impact on builded application.

To verifie build I’m using otool -Iv AppBinary | grep stack.