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

查看:23
本文介绍了不正确的广告标识符 [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 广告的任何人,这可能有助于避免此错误.评论以下 2 个部分:

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天全站免登陆