简体   繁体   中英

References Non-Public Selectors in iOS App

I submitted an app update and it successfully uploaded, but gave validation warnings of:

The app references non-public selectors in Payload/path.app/App:read, setCountry:, setTimeStamp:, timeStamp, updateMessage:

I have never seen this before, and I have added nothing to the app from the last time it was submitted. I use Xtify for Push Notifications, but have put in the latest version that doesn't use the UDID that prior SDKs had used. Any thoughts where this may be coming from?

UPDATE:

The code comes from the Xtify library, specifically found in the Xlhmsupport.h file. What is weird is that I didn't get this message just last Wednesday when submitted a different app with the same Xtify library in it. Did Apple change something?

Apple has in it's private API methods with the same names. So static code analyzer warns about it. I had the same issue with base64Encoding two years ago. But Apple approved my app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM