The app references non-public selectors in Payload

江德润
2023-12-01

在app提交appstore审核时可能会出现这样的错误,app中使用了不公开的私有方法或属性。

Additionally, one or more of the above-mentioned APIs may reside in a static library included with your application. If you do not have access to the library's source, you may be able to search the compiled binary using "strings" or "otool" command line tools. The "strings" tool can output a list of the methods that the library calls and "otool -ov" will output the Objective-C class structures and their defined methods. These techniques can help you narrow down where the problematic code resides.


// 用command line 查看静态库里面的内容

在终端中输入:  otool -ov 加需要查询的静态库完整路径 



在终端上进入你的工程目录,然后输入 grep -Rins 'xxxxxx' *    

xxxxxx是指你要查询的关键字       此方法能快速查询你的项目中得私有api

 类似资料:

相关阅读

相关文章

相关问答