iOS打包上传错误:non-public selectors setCenterPoints:, setCities:解决办法

释放双眼,带上耳机,听听看~!

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.

解决方案:

你看一下你工程中Build Settings下Other Linker Flags里面有没有加入-ObjC标志,我当时是因为做第三方登录要用到parse的库,但是parse的库文件和这个标志冲突,所以我去掉了-ObjC标志,上传时候就一直报这个警告而且传不上去,后来我删掉了parse库文件加上了-ObjC就上传上去并且审核通过了

人已赞赏
iOS文章

IOS学习之常见问题 UIScrollView 不能滑动(ScrollView has ambiguous scrollable content height)

2019-10-28 10:39:58

iOS文章

iOS 用NSSortDescriptor对数组排序

2019-10-28 11:34:12

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
有新消息 消息中心
搜索