Here和 here (1) 有一个问题建议对二进制文件执行“otool -tv | grep CFUserNotification”。当然,我将 CFUser-6ren">
gpt4 book ai didi

ios - "The app references non-public selectors in Payload"

转载 作者:行者123 更新时间:2023-11-29 02:45:31 25 4
gpt4 key购买 nike

enter image description here

我发现有两个问题可以解决这个问题:

(1) 有一个问题建议对二进制文件执行“otool -tv | grep CFUserNotification”。当然,我将 CFUserNotification 更改为 _deviceInfoForKey。我明白了:

Binary file Lexly.app/Lexly matches

(2) 另一个问题建议对二进制文件执行 otool -L Lexly.app/Lexly 。我得到了我添加的所有框架的列表,对每个架构重复。

这如何帮助我找到使用 3 个有问题的选择器的外部库?

最佳答案

我找到了this blog post其中解释了如何在项目的根目录中创建 shell 脚本来查找有问题的选择器。

这是脚本:

#!/bin/bash
for match in $(grep -lR uniqueIdentifier *); do
printf "File: %s\n****************************************\n\n" "$match"
strings $match | grep --context=15 uniqueIdentifier
printf "\n\n\n"
done

只需将 uniqueIdentifier 替换为您需要查找的任何选择器即可。

事实证明,这三个选择器都来 self 几个月前添加的测试版分析库,但我什至没有使用过。这是我复活的一个旧项目。

关于ios - "The app references non-public selectors in Payload",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25194740/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com