I am working in a multi platform app that relies on configuration scripts. For most platforms I can export the linker Map using the flag "-Wl, -Map, file.map" or "-Wl, -Map=file.com" When building through XCode 8, I get an error that -Map is an invalid option. XCode itself supports exporting linker maps in the project settings, so I know the capability is there, but I can't find any documentation anywhere on what the correct option to use is. What invisible flag is XCode setting when you enable exporting a map and assigning a path? What is the correct option to use to enable that from outside of the IDE through scripts or config files? Thanks in advance.