利用strings 检测iOS ipa包是否调用私有api
在菜单中找到Windows -> Orgainer
1
然后选中其中你要检测的文件那一栏,右键Show in Finder,右键.xcarchive文件显示包内容,在下图路径下找到.app文件,cd到该文件路径下:
2
此时,可以通过两种方式可以检测打包文件是否包含字符串
(1) strings - -a -arch armv7 ".app文件名" | grep canOpenUrl
(2)strings - -a -arch armv7 ".app文件名" > 指定文件名.txt
第二种在指定 "文件名.txt" 文件里去搜索相应字符串。