How to create static library for iOS without making all symbols public

后端 未结 2 2044
借酒劲吻你
借酒劲吻你 2021-02-01 08:02

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

2条回答
  •  余生分开走
    2021-02-01 08:13

    XCode BuildSetting can do this! 1. Set Perform Single-Object Prelink to YES 2. Set Exported Symbols File to path_for_symbols_file

    maybe you should remove -static, -exported_symbols_list can not work static lib, but can take effect on object file.

提交回复
热议问题