应用拒绝:Google Analytics(分析)ios sdk 2.0 [英] App reject : Google Analytics ios sdk 2.0

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

问题描述

我在我的项目中使用了最新的 Google分析iOS SDK 2.0 ,并在几分钟内拒绝了无效二进制。我收到了苹果审查小组发来的一封电子邮件,其中应用程序不允许访问UDID,也不能使用UIDevice的uniqueIdentifier方法:。我用终端命令搜索了所有的应用程序,并且手动地搜索了UDID。我在没有Google Analytic的情况下上传应用,并在6天内获得批准,但通过Google分析,它会遭到拒绝。请分享更多相同的细节。



我搜查了

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



在研发及以下答案是我发现苹果建议。 otool& nm工具检查私人API,但我无法检查UDID。



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

解决方案

不幸的是,唯一可用的SDK目前(16/05/2013)是2.0beta4。
从9/05/2013开始,Apple似乎会自动拒绝所有参考uniqueIdentifier的应用程序,其中包括Google AnalyticsSDK。



2.0的问题beta4(以及更早的版本)位于 libGoogleAnalytics.a 以及其他地方,代码是可打开和可修改的。






编辑



看起来,UDID引用是<在 libGoogleAnalytics.a 但在 libGoogleAnalytics_debug.a


中,

完全从XCode项目中删除它(并确保从文件系统中删除该文件)不会自动拒绝该应用程序。 (如果没有它,你将无法进行调试)。



(在20/05/2013测试过)


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.

I have searched

App rejected, but I don't use 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.

How does Apple know you are using private API?

解决方案

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.

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


EDIT

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

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).

(Tested this on 20/05/2013)

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

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