Could it be caused by this project being built in the unity engine first and then is using a Xcode plugin that has this c++ code?
I'm getting pretty confused and frustrated with this problem as I cannot see why Xcode is not using c++14 or c++17 features.