应用拒绝:Google Analytics ios sdk 2.0 [英] App reject : Google Analytics ios sdk 2.0

查看:29
本文介绍了应用拒绝:Google Analytics ios sdk 2.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目和应用程序中使用最新的 Google 分析 iOS SDK 2.0 在几分钟内被拒绝说无效的二进制.我收到了来自苹果审核团队的一封电子邮件,内容是应用程序不得访问 UDID,并且不得使用 UIDevice: 的 uniqueIdentifier 方法".我使用终端命令和手动搜索所有应用程序以及 UDID.我在没有 Google Analytic 的情况下上传应用程序,并在 6 天内获得批准,但使用 Google 分析却被拒绝.请分享更多细节.

I am using latest Google analytic iOS SDK 2.0 in my Project and app get rejection in few minute saying invalid binary. I received a email from apple review team that "Apps are not permitted to access the UDID and must not use the uniqueIdentifier method of UIDevice:". I searched all the app with terminal command and manualy as well for UDID. I upload app without Google Analytic and it get approval in 6 days, But with Google analytic it get rejection. Please share more details on the same.

我已经搜索过

应用被拒绝,但我不使用 UDID

在 R&D 和下面的答案之后,我发现 Apple 建议.otool &用于检查私有 API 的 nm 工具,但我无法检查 UDID.

After R&D and below Answer's I found that Apple suggest. otool & nm tool for checking private API, But I am unable to check for UDID.

Apple 如何知道您正在使用私有 API?

推荐答案

遗憾的是,目前 (16/05/2013) 唯一可用的 SDK 是 2.0beta4.似乎自 2013 年 9 月 5 日起,Apple 会自动拒绝所有参考 uniqueIdentifier 的应用,其中包括 Google Analytics SDK.

Unfortunately, the only available SDK at the moment (16/05/2013) is 2.0beta4. It appears that since 9/05/2013, Apple is automatically rejecting all apps with reference to uniqueIdentifier and this includes Google Analytics SDK.

2.0beta4(当然还有更早的版本)的问题在 libGoogleAnalytics.a 中,而其他地方的代码是开放的和可修改的.

Trouble with the 2.0beta4 (and definitely earlier versions) is in libGoogleAnalytics.a and nowhere else where the code is open and modifiable.

编辑

看起来 UDID 引用在 libGoogleAnalytics.aNOT 但在 libGoogleAnalytics_debug.a

It appears that the UDID reference is NOT in libGoogleAnalytics.a but in libGoogleAnalytics_debug.a

从 XCode 项目中完全删除它(并从文件系统中删除文件只是为了确定)不会自动拒绝应用程序.(问题是没有它你将无法调试).

Removing it entirely from the XCode project (and delete the file from the filesystem just to be sure) does not auto-reject the app. (The catch is that without it you will not be able to debug).

(在 20/05/2013 测试过)

(Tested this on 20/05/2013)

这篇关于应用拒绝:Google Analytics ios sdk 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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