This question has been asked before, but digging into the documentation for the various development tools it seems like this is possible, just not obvious.
Moti
XCode BuildSetting can do this! 1. Set Perform Single-Object Prelink to YES 2. Set Exported Symbols File to path_for_symbols_file
Perform Single-Object Prelink
YES
Exported Symbols File
path_for_symbols_file
maybe you should remove -static, -exported_symbols_list can not work static lib, but can take effect on object file.
-static
-exported_symbols_list