ios 该应用程序在 payload/appname.app/appname: _terminateWithStatus 中引用非公共选择器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21423971/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
the app references non-public selectors in payload/appname.app/appname: _terminateWithStatus
提问by Mashhadi
I am uploading my iOS application on app store and it is having some warning when i upload the app. warning is the app references non-public selectors in payload/appname.app/appname: _terminateWithStatus
I am using facebook sdk"facebook-ios-sdk-3.8" and parse sdk "parse-library-1.2.18". can anybody guide me what should i do to remove this warning?
我正在应用商店上传我的 iOS 应用程序,当我上传应用程序时它有一些警告。警告是app references non-public selectors in payload/appname.app/appname: _terminateWithStatus
我正在使用 facebook sdk"facebook-ios-sdk-3.8" 并解析 sdk "parse-library-1.2.18"。任何人都可以指导我我该怎么做才能删除此警告?
回答by Mani
You can't remove this warning. You may get this warning just for using a selector in your own code or third party code(may be because of facebook sdk) 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.
So you won't worry about this warning. See this Ref., Ref2
您无法删除此警告。您可能会因为在您自己的代码或第三方代码(可能是因为 facebook sdk)中使用与某些标记为非公开的选择器同名的选择器而收到此警告。一直发生在我身上。Never got rejected for it.
所以你不会担心这个警告。请参阅此参考文献。,至Ref2
And also see this stack questionto avoid rejection, find and remove unwanted framework.
并查看此堆栈问题以避免拒绝,查找和删除不需要的框架。
回答by Mashhadi
First time i got this error and then app was uploaded but with warnings but when i submitted the second version of the app at that time Apple didn't let me upload the app and was giving me error repeatedly "Your app contains non-public API usage. Please review the error, correct them and resubmit your app"
after that i found my solution in this question Finding Private API Call _terminateWithStatusAnswer was not very useful for me but solution in question was very useful for me. I just removed the GHUnitIOS.framework and it worked for me. May be this info can help someone else
我第一次遇到这个错误然后应用程序被上传但有警告但是当我提交应用程序的第二个版本时Apple没有让我上传应用程序并且"Your app contains non-public API usage. Please review the error, correct them and resubmit your app"
在我找到我的解决方案之后反复给我错误问题寻找私有 API 调用 _terminateWithStatus答案对我来说不是很有用,但有问题的解决方案对我来说非常有用。我刚刚删除了 GHUnitIOS.framework 并且它对我有用。可能是这个信息可以帮助别人