提交应用程序时出现广告标识符 (IDFA) 问题

Advertising Identifier (IDFA) issue when submitting the app

当我尝试将我的 iOS 应用程序提交到 Appstore 时,我在 itunesConnect 中收到此错误消息。

Your app is using the Advertising Identifier (IDFA). You must either provide details about the IDFA usage or remove it from the app and submit your binary again.

所以我试图在我的终端中以这种方式找到它们。

grep -lr "advertisingIdentifier" * | grep -v .svn | grep -v .md

输出为

MyProj/FacebookSDK.framework/FacebookSDK
MyProj/amigo/FacebookSDK.framework/Versions/A/FacebookSDK
MyProj/FacebookSDK.framework/Versions/Current/FacebookSDK
MyProj/FBAudienceNetwork.framework/FBAudienceNetwork
MyProj/FBAudienceNetwork.framework/Versions/A/FBAudienceNetwork
MyProj/FBAudienceNetwork.framework/Versions/Current/FBAudienceNetwork

我已经集成了G+.FB和twitter logging.So现在我应该怎么做才能解决这个问题?我无法删除这些因为我在我的应用程序中需要它。请帮忙me.Thanks

Facebook Audience Network SDK 使用广告标识符在应用中投放广告。根据iTunes Connect Developer Guide and Facebook Audience Network documentation,当您点击"Submit for Review"时,您需要检查与在您的应用中使用IDFA相关的用途:

This app uses the Advertising Identifier to (select all that apply)?

  • Serve advertisements within the app
  • Attribute this app installation to a previously served advertisement
  • Attribute an action taken within this app to a previously served advertisement.

If you will be using the Audience Network framework, you must select the first option. If you are using our core framework to track install attribution and app events, please select the second and third options. If you are using both, select all three.