Update: Verified this works in Xcode 8 as well.
In Xcode 7, go into the project build settings and search for “Assert” in the search bar. This shows section “Apple LLVM 7.0 – Preprocessing” section. There is a setting named “Enable Foundation Assertions”.
I have successfully enabled/disabled NSAssert from there.
