不正确的广告标识符[IDFA]用法,但它没有 [英] improper advertising identifier [IDFA] usage, but it doesn't

查看:709
本文介绍了不正确的广告标识符[IDFA]用法,但它没有的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将应用程序文件上传到itunesconnect时,XCode会说:不正确的广告标识符[IDFA]使用情况等等。
但我不在我的项目中使用此功能。我试图找到任何

While uploading app-file to itunesconnect the XCode says: improper advertising identifier [IDFA] usage...etc. But I do not use this feature in my project. I've tried to find any

[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]

致电。此外,我只修复了我的应用程序的错误,自我第一次发布以来,我没有包含这些功能。第一个版本没有说过IDFA的用法。

calling. Futhermore, I'm just fixing a bug of my app, I hadn't included such features since my first release. The first release didn't said about IDFA-usage.

推荐答案

嗯,这个错误发生在大约15天前,它不是'明白是什么原因直到Apple在同一天发布Xcode更新,之后一切顺利。再次,今天我收到相同的消息,虽然我试图为我8天前提交的应用程序上传相同的版本。
我想我们只需等待几个小时,看看会发生什么。

Well, this error happened about 15 days ago and it wasn't clear what is the reason till Apple released the Xcode update the same day and everything went smooth after that. Again, today I get the same message though I tried to upload the same builds for an app which I submitted 8 days ago. I think we have just to wait for a few hours and see what will happen.

编辑:这是一个链接,显示人们抱怨它时间以及如何在不做任何事情的情况下解决问题: LINK

Here is a link to show people complain about it at that time and how it was solved without doing anything: LINK

更新对于使用PlayHaven广告的任何人,这可能有助于避免此错误。评论以下两个部分:

UPDATE: For anyone who uses PlayHaven ads, this may be helpful to avoid this error. Comment the 2 following sections:

在PHAdRequest.m文件中(第35-44行)

In the file PHAdRequest.m (Lines 35-44)

/*    if (![PHAPIRequest optOutStatus] && [ASIdentifierManager class])
{
    NSUUID *uuid = [[ASIdentifierManager sharedManager] advertisingIdentifier];
    NSString *uuidString = [uuid UUIDString];

    if (0 < [uuidString length])
    {
        theIdentifiers[@"ifa"] = uuidString;
    }
}*/

在PHAPIRequest.m(第379-383行) ):

In PHAPIRequest.m (Lines 379-383):

/*    if ([ASIdentifierManager class])
{
    NSNumber *trackingEnabled = [NSNumber numberWithBool:[[ASIdentifierManager sharedManager] isAdvertisingTrackingEnabled]];
    [combinedParams setValue:trackingEnabled forKey:@"tracking"];
}*/

这是一个临时的解决方法,直到PlayHaven更新他们的SDK。

This is a temporary workaround till PlayHaven updates their SDK.

这篇关于不正确的广告标识符[IDFA]用法,但它没有的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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