AppStore 拒绝 - 性能:软件要求偏好:root=“GraphicsServices.framework"; [英] AppStore rejection - Performance: Software Requirements prefs:root= "GraphicsServices.framework"

查看:20
本文介绍了AppStore 拒绝 - 性能:软件要求偏好:root=“GraphicsServices.framework";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple 拒绝了我们的应用,并显示以下消息:

Apple rejected our app with this message:

指南 2.5.1 - 性能 - 软件要求您的应用使用或引用了以下非公共 API:

Guideline 2.5.1 - Performance - Software Requirements Your app uses or references the following non-public APIs:

prefs:root=GraphicsServices.framework"

prefs:root="GraphicsServices.framework"

App Store 不允许使用非公共 API,因为如果这些 API 发生变化,可能会导致糟糕的用户体验.

The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change.

在以后提交此应用程序时继续使用或隐藏非公开 API 可能会导致您的 Apple Developer 帐户被终止,以及从 App Store 中删除所有相关应用程序.

Continuing to use or conceal non-public APIs in future submissions of this app may result in the termination of your Apple Developer account, as well as removal of all associated apps from the App Store.

后续步骤

如果您使用第三方库,请更新到这些库的最新版本.如果您无权访问库的源代码,则可以使用字符串"搜索已编译的二进制文件.或otool"命令行工具.字符串"工具可以输出库调用的方法列表和otool -ov".将输出 Objective-C 类结构及其定义的方法.这些工具可以帮助您缩小有问题的代码所在的范围.您也可以使用nm"用于验证是否有任何第三方库调用这些 API 的工具.

If you are using third-party libraries, please update to the most recent version of those libraries. If you do not have access to the libraries' source, you may be able to search the compiled binary using the "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 tools can help you narrow down where the problematic code resides. You could also use the "nm" tool to verify if any third-party libraries are calling these APIs.

资源

有关nm"的信息工具,请查看纳米工具"Xcode 手册页.

For information on the "nm" tool, please review the "nm tool" Xcode manual page.

如果没有其他方法可以提供您的应用所需的功能,您可以提交增强请求.

If there are no alternatives for providing the functionality your app requires, you can file an enhancement request.

目前尚不清楚如何解决此问题.

It's unclear how to fix this.

推荐答案

问题由 https 生成://github.com/erica/uidevice-extension更具体地说:https://github.com/erica/uidevice-extension/blob/master/UIDevice-Capabilities.m

甚至在代码中有说明,我们的应用程序现在没有被拒绝超过 1 年.

There is even a description in the code, our app was not rejected for more than 1 year now.

/*
THIS CATEGORY IS NOT APP STORE SAFE AT THIS TIME. DO NOT USE IN PRODUCTION CODE.
YOU CAN, HOWEVER, USE THIS TO HELP BUILD YOUR OWN CUSTOM CODE TO PRE_COMPUTE CAPABILITIES.
*/
#define GRAPHICS_SERVICES_PATH  "/System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices"

我们将删除对该库的使用.

We'll removed the use of the library.

这篇关于AppStore 拒绝 - 性能:软件要求偏好:root=“GraphicsServices.framework";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆