求各位大神指导!!!!我上周app打包上传给APPstore准备发布,可是苹果官方发来邮件,说我引用了非公有选择,原文如下:
Non-public API usage:
- The app references non-public selectors in LoveForJorney: authenticate, expires, sendRequest:, setCenterPoints:, setCities:, setClientID:, setCurrentCount:, setDetailType:, setGeometryDelegate:, setObjectID:, setThumbnailData:, setTotalCount:, userID
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.
这是错误的提示部分,可是我在工程中寻找,要么找不到,要么就是百度地图或者shareSDk中的文件和方法,我又不能进行修改,请有经验的大神指导一下改怎么办
解决方案:
- 你看一下你工程中Build Settings下Other Linker Flags里面有没有加入-ObjC标志,我当时是因为做第三方登录要用到parse的库,但是parse的库文件和这个标志冲突,所以我去掉了-ObjC标志,上传时候就一直报这个警告而且传不上去,后来我删掉了parse库文件加上了-ObjC就上传上去并且审核通过了,但是我也不知道是不是因为这个原因,希望能对你有所帮助吧! w9821203 2014-08-08 11:48
转:http://www.cocoachina.com/ask/questions/show/115701/关于iosApp审核问题