weex 项目打包审核ios被拒!使用私有API

Guideline 2.3.1 - Performance

We continue to find that your app contains hidden features.

The next submission of this app may require a longer review time.

Next Steps

  • Review the Performance section of the App Store Review Guidelines.
  • Ensure your app is compliant with all sections of the App Store Review Guidelines and the Terms & Conditions of the Apple Developer Program.
  • Once your app is fully compliant, resubmit your app for review.

Submitting apps designed to mislead or harm customers or evade the review process may result in the termination of your Apple Developer Program account. Review the Terms & Conditions of the Apple Developer Program to learn more about our policies regarding termination.

If you believe your app is compliant with the App Store Review Guidelines, you may submit an appeal. Alternatively, you may provide additional details about your app by replying directly to this message.

Guideline 2.5.1 - Performance - Software Requirements

Furthermore, we continue to find that your app uses or references the following non-public APIs:

_kIOMasterPortDefault, _IOServiceMatching, _IOServiceGetMatchingService, _IORegistryEntryCreateCFProperties, _IOObjectRelease"

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.

一直被拒绝,恼火的很,可是还是得跟啥都没发生的一样继续解决,继续提交,,,,,

    决定把这次特殊的被拒记录一下,或许可以帮到更多人!

    赶紧进入ios工程目录,grep -r  kIOMasterPortDefault .   “不要忘记最后的  . ”
weex 项目打包审核ios被拒!使用私有API_第1张图片
image.png

发现果然是有的,可是这是weex内部调试的一个工具,咨询weex大神后,说要手动去除这个包的相关引用,可是手动多麻烦呀,直接pod里面整个文件夹干掉之,重新pod下。

    再次grep -r  kIOMasterPortDefault .       挨个检查,发现没有苹果说的那些了,然后重新打包审核之,然后通过之!

    后来weex团队回复的,更新以下 weextoolkit ,重新构建,新工程不再依赖 ATSDK,应该彻底解决了问题了,希望大家全部过。

你可能感兴趣的:(weex 项目打包审核ios被拒!使用私有API)