AppStore 拒绝 - 性能:软件要求 prefs:root= "GraphicsServices.framework"

AppStore rejection - Performance: Software Requirements prefs:root= "GraphicsServices.framework"

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

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

prefs:root="GraphicsServices.framework"

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.

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.

Next Steps

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.

Resources

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.

不清楚如何解决这个问题。

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

代码里也有说明,我们的app已经1年多没被拒了

/*
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"

我们将删除对库的使用。