Reputation: 415
I get this error when I build a project in XCODE 5.1. I followed Link and downloaded New command line tools from Apple.But facing same issue. Please guide me. thanks
Upvotes: 1
Views: 2128
Reputation: 367
Have 3 steps u should do to fix it: - Remove -stdc++ in Other Linker Flags - Add -lstdc++ into Other Linker Flags - Add libstdc++6.09.dylib into Link binary with Libraries.
Good luck.
Upvotes: 5
Reputation: 576
Follow this as it's happening because of Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn) :
https://langui.sh/2014/03/10/wunused-command-line-argument-hard-error-in-future-is-a-harsh-mistress/
Upvotes: 1