常见的内容:SDK包含私有API(UITabBarSwappableImageView)被拒,Apple审核被拒,请问是否使用了热修复功能?
举例 1:SDK包含私有API(UITabBarSwappableImageView)被拒。
检查阅读 Apple 发回的被拒理由;
发现被拒理由:
说明Your app also uses or references the following non-public APIs:UITabBarSwappableImageView. 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.
尝试将SDK更新至3.2.0或者更高版本,该版本已经移除私有 API。
举例 2:Apple审核被拒,请问是否使用了热修复功能?
检查阅读 Apple 发回的被拒理由;
被拒邮件内容如下:
说明Guideline 2.5.2 - Performance - Software Requirements Your app, extension, or linked framework appears to contain code designed explicitly with the capability to change your app’s behavior or functionality after App Review approval, which is not in compliance with App Store Review Guideline 2.5.2 and section 3.3.2 of the Apple Developer Program License Agreement. This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it has the potential to load private frameworks, private methods, and enable future feature changes. This includes any code which passes arbitrary parameters to dynamic methods such as dlopen(), dlsym(), respondsToSelector:, performSelector:, method_exchangeImplementations(), and running remote scripts in order to change app behavior and/or call SPI, based on the contents of the downloaded script. Even if the remote resource is not intentionally malicious, it could easily be hijacked via a Man In The Middle (MiTM) attack, which can pose a serious security vulnerability to users of your app. Important Information As a result of violating this guideline, your app’s review has been delayed. Future submissions of this app, and other apps associated with your Apple Developer account, will also experience a delayed review. Deliberate disregard of the App Store Review Guidelines and attempts to deceive users or undermine the review process are unacceptable and is a direct violation Section 3.2(f) of the Apple Developer Program License Agreement. Continuing to violate the Terms & Conditions of the Apple Developer Program will result in the termination of your account, as well as any related or linked accounts, and the removal of all your associated apps from the App Store. We want to provide a safe experience for users to get apps and a fair environment for all developers to be successful. If you believe we have misunderstood or misinterpreted the intent of your app, you may submit an appeal for consideration or provide additional clarification by responding directly to this message in Resolution Center in iTunes Connect.
这个条款是在禁止使用到了上述API,同时使用了热更新功能,并非针对API即使包含API也是属于Apple的误判.Feedback iOS SDK项目中未使用到热更新功能,也未集成JSPatch、Rollout.js等热更新框架,如果 App端、或者App端集成的其他SDK也未使用的话,建议向APPlE申诉,表明未使用热更新功能。
问题仍未解决,可以加入钉钉群以咨询,群号:35248489。