iOS开发遇到的坑之七--上传app Stroe被拒绝:The app references non-public symbols in : _UICreateCGImageFromIOSurface

这是上学期遇到的问题了,突然查阅邮箱的时候发现了,遂在这里记录下来,希望大家以后注意这个问题

我上传App Store的时候,apple给我发的邮件原文:

Dear developer,

We have discovered one or more issues with your recent delivery for "***". To process your delivery, the following issues must be corrected:

Non-public API usage:

The app references non-public symbols in ***: _UICreateCGImageFromIOSurface
If method names in your source code match the private Apple APIs listed above, altering your method names will help prevent this app from being flagged in future submissions. In addition, note that one or more of the above APIs may be located in a static library that was included with your app. If so, they must be removed.

If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app's nine-digit Apple ID, along with detailed information about why you believe the above APIs were incorrectly flagged, toappreview@apple.com. For further information, visit the Technical Support Information page.

Once these issues have been corrected, you can then redeliver the corrected binary.

Regards,

The App Store team

我反反复复的在工程里面寻找_UICreateCGImageFromIOSurface这个相关的方法,我实在是不知道我调用了这个私有的API,

所以上网求助,最终还是在Stackoverflow

解决方案是把reveal.framework 相关的去除掉就ok 了,第一次就遇见了这种坑! =_=!!

开始春招了,各位找工作的童鞋都要加油呵!,希望都能找到自己心仪的公司

原文地址:https://www.cnblogs.com/WayneLiu/p/5251565.html