该应用程序在Payload /< Appname> .app /< App name> ;:解码器中引用非公开选择器 [英] The app references non-public selectors in Payload/<Appname>.app/<App name>: decoder
问题描述
该应用程序引用了非公开选择器的有效载荷/ .app /:decoder
如果我们在应用程序中使用任何第三方API,我们知道我们会收到此警告。我已经在应用程序中使用 SOCKETIO-ObjC 库进行聊天功能。也使用Facebook iOS sdk为fb实现。所以我没有得到确切的原因这个警告。请附上 ScreenShot ,以便更好地了解
您可能会收到此警告,只是在您自己的代码中使用选择器或与标记为非公开的某个选择器具有相同名称的第三方代码。一直发生在我身上从来没有被拒绝。
通过同名我的意思是简单的东西,你有一个对象与这个选择器:
- (id)XYZKMyClass doSomethingFancy:(id)toThis
...并且有一个这样的内部Apple功能的选择器
- (id)ApplesClass doSomethingFancy :(id)toSomething
所以:他们正在寻找的是签名 - (id) doSomethingFancy:(ID)。您可以看到它是如何非常容易地意外地反对这一点。
大概他们在App Store警察总部进行更深入的检查,并确定标记的选择器在你的代码,因此OK。
I am getting this warning while submitting app to the Apps store through organizer.
The app references non-public selectors in Payload/.app/: decoder
i know we get this warning if we use any Third Party API in our application. I have used SOCKETIO-ObjC library for chat functionality in application. Also used facebook iOS sdk for fb implementation.So i am not getting exactly what causes this warning.! Please find attached ScreenShot for better understanding
You may get this warning just for using a selector in your own code or third party code that has the same name as some selector that is marked as non-public. Happens to me all the time. Never got rejected for it.
By "same name" i mean just something as simple as you having an object with this selector:
-(id) XYZKMyClass doSomethingFancy:(id) toThis
...and there being a selector like this for an internal Apple functionality
-(id) ApplesClass doSomethingFancy:(id) toSomething
So: What it seems they are looking for is the signature -(id) doSomethingFancy:(id). You can see how it's very easy to accidentally bump up against this.
Presumably they perform a deeper check at the App Store Police HQ, and determine that the flagged selector is in your code, and hence OK.
这篇关于该应用程序在Payload /< Appname> .app /< App name> ;:解码器中引用非公开选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!