求各位大神指導!!!!我上周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審核問題