Why does linking fail because of duplicate symbols when using -all_load?

Some third party frameworks might require you to add
-all_load
to
Other Linker Flags
. In conjunction with the mPOS SDK, this can lead to linking errors because of duplicate symbols.
Please have a look atthis StackOverflow postfor a solution.