iOS 应用程序 - 非公共 API 使用 - 应用程序引用非公共选择器:cancelButtonClicked、setResult: [英] iOS app - Non-Public API usage- app references non-public selectors: cancelButtonClicked, setResult:

查看:37
本文介绍了iOS 应用程序 - 非公共 API 使用 - 应用程序引用非公共选择器:cancelButtonClicked、setResult:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我将应用程序上传到 iTunes 后,我收到邮件说我的应用程序使用非公共 api 方法 - cancelButtonClickedsetResult:

After I have uploaded app to itunes i get mail saying that my app using non public api methods- cancelButtonClicked, setResult:

但是cancelButtonClicked被用作各种按钮和searchBar的IBAction方法.我需要重命名吗?另外,这很常见,请建议..

But cancelButtonClicked is used as IBAction method for various buttons and searchBar. Do I need to rename it? Also, this is very common please suggest..

对于 setResult: Method 我也没有在任何地方使用过这个方法,我还没有在我的完整工作区中找到这个方法.

For setResult: Method I have not used this method any where also, I haven't found this method used in my complete workspace.

我使用了多个第三方 API,其中一些如下:

I have used multiple third party APIs some of them are below:

  • AFNetworking
  • Google 地图 SDK
  • Google 地方信息 SDK
  • 谷歌分析
  • RSK 图像裁剪器
  • Facebook SDK
  • Twitter SDK
  • ASIHTTP
  • MBProgressHud
  • 可达性
  • SDWebImageCache

请建议我能做什么.

此外,我将 Xcode 6.3.2 与部署目标 iOS 8.0 一起使用.在某些 SO 的答案中,建议使用 Xcode 6.0.1,但我不能使用它,因为 Google Maps SDK POD 建议使用 Xcode6.3 或更高版本.

Also, I am using Xcode 6.3.2 with deployment target iOS 8.0. In some SO's answers it was suggested to use Xcode 6.0.1 but I can't use it as Google Maps SDK POD suggested to use Xcode6.3 or later.

感谢任何帮助.

推荐答案

您应该在项目目录中搜索您提到的方法调用.这是在整个项目中搜索的命令行脚本.这将返回调用这些方法的位置,然后您应该修改方法的名称或更新包含调用的库/框架.

You should make a search in your project directory for the method's call that you mentioned. This is a command line script to search in the whole project. This will return where these methods are called, and then you should modify the name of the method or update the library/framework containing the call.

grep -Rnis 'cancelButtonClicked' *
grep -Rnis 'setResult:' *

这篇关于iOS 应用程序 - 非公共 API 使用 - 应用程序引用非公共选择器:cancelButtonClicked、setResult:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆