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

S__JIP属地: 北京
字数 487阅读 4,312

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 .   “不要忘记最后的  . ”
image.png

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

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

    后来weex团队回复的,更新以下 weextoolkit ,重新构建,新工程不再依赖 ATSDK,应该彻底解决了问题了,希望大家全部过。
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
4人点赞
更多精彩内容,就在简书APP
"欢迎有能力的读者,支持我的创作,谢谢!"
还没有人赞赏,支持一下
总资产2共写了3193字获得25个赞共9个粉丝

被以下专题收入,发现更多相似内容

推荐阅读更多精彩内容