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

查看:152
本文介绍了AppStore拒绝-性能:软件要求prefs: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"的信息,请参见工具,请查看"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

The issue was generated by https://github.com/erica/uidevice-extension more specifically: https://github.com/erica/uidevice-extension/blob/master/UIDevice-Capabilities.m

代码中甚至有描述,我们的应用程序已超过一年未被拒绝.

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拒绝-性能:软件要求prefs:root ="GraphicsServices.framework";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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