记录一下,设置以下两步,可以实现隐藏C、C++、Objective-C的符号,亲测有效。 xcode 隐藏符号的方法: 1、Perform Single-Object Prelink YES 2、other c flags