gpt4 book ai didi

ios - 该应用在 Payload/.app/ : FailWithError: , topMostAlert 中引用非公共(public)选择器

转载 作者:行者123 更新时间:2023-11-29 10:46:24 24 4
gpt4 key购买 nike

在 Apple Application Uploader 上我遇到了这个错误:

The app references non-public selectors in Payload/<Appname>.app/<App name>: FailWithError: , topMostAlert .

我在我的代码中搜索了 FailWithError:topMostAlert .除了 topMostAlert,我没有在我的代码中找到这些用来解雇UIAlertView

Class UIAlertManager = NSClassFromString(@"_UIAlertManager");
UIAlertView *alertView = [UIAlertManager performSelector:@selector(topMostAlert)];
[alertView dismissWithClickedButtonIndex:0 animated:NO];

我知道这个错误是因为在您自己的代码或第三方代码中使用了与标记为非公开(Apple 提供的 API)的某些选择器同名的选择器。

我正在添加我的代码中使用的框架的屏幕截图。

enter image description here

最佳答案

您被拒绝是因为您正在使用私有(private)类 UIAlertManager(通过 _UIAlertManager)。更改您的代码,使其仅使用公共(public) API 并将通过审核流程。

关于ios - 该应用在 Payload/<Appname>.app/<App name> : FailWithError: , topMostAlert 中引用非公共(public)选择器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22219706/

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