facebook - App rejected due to AdSupport.framework -


my app has been rejected following message:

pla 3.3.12

we found app uses ios advertising identifier not include ad functionality. not comply terms of ios developer program license agreement, required app store review guidelines.

specifically, section 3.3.12 of ios developer program license agreement states:

"you , applications (and third party whom have contracted serve advertising) may use advertising identifier, , information obtained through use of advertising identifier, purpose of serving advertising. if user resets advertising identifier, agree not combine, correlate, link or otherwise associate, either directly or indirectly, prior advertising identifier , derived information reset advertising identifier."

note: iad not use adsupport framework, asidentifiermanager, or advertising identifier. therefore not required iad implementations , should not included in app iad support.

if app serving ads, please:

  • ensure have tested app on device, not simulator, , have removed previous versions of app prior testing

  • provide steps locate ads in app

if app not serve ads, please check code - including third-party libraries - remove instances of:

class: asidentifiermanager selector: advertisingidentifier framework: adsupport.framework

if planning incorporate ads in future version, please remove advertising identifier app until have included ad functionality.

to locate advertising identifier, use “nm” tool. information on “nm” tool, please see nm man page.

if not have access libraries' source, may able search compiled binary using "strings" or "otool" command line tools. "strings" tool lists methods library calls, , "otool -ov" list objective-c class structures , defined methods. these techniques can narrow down problematic code resides.

my app uses only iad, no other frameworks advertising. tried locate problem, , here found:

  1. in build setting, saw adsupport framework: enter image description here might have included due following tutorial somewhere. problem? iad still work correctly if remove adsupport.framework?

  2. using command line, cd root folder of project ,

grep -r advertisingidentifier .

i got following result:

./pods/fbsdkcorekit/fbsdkcorekit/fbsdkcorekit/internal/appevents/fbsdkappeventsutility.m: result = [[manager advertisingidentifier] uuidstring];

here detailed code in fbsdkappeventutility.m (facebooksdk 4.1.0 - read post problem facebooksdk regarding advertising identifier in fbsdk 3.1. cannot believe problem still exist in fbsdk 4.1.0!):

+ (nsstring *)advertiserid {   nsstring *result = nil;    class asidentifiermanagerclass = fbsdkdfl_asidentifiermanagerclass();   if ([asidentifiermanagerclass class]) {     asidentifiermanager *manager = [asidentifiermanagerclass sharedmanager];     result = [[manager advertisingidentifier] uuidstring];   }    return result; } 

i used pod install facebook sdk in app, , can see, code include related advertisingidentifier.

i see in fbsdkappeventutility.m:

#import <adsupport/adsupport.h> 

and several existences of asidentifiermanagerclass in other functions in fbsdkappeventutility.m

will cause rejected? has been rejected due using advertising identifier using fbsdkcorekit?

as daniel said need resubmit apple review , mention facebook sdk requires adsupport.framework when using app events or when serving ads using facebook audience network sdk. not automatically guarantee approval.

the facebook ios sdk documentation has troubleshooting guide covers parts of sdk require adsupport.framework.

i believe there section in review submission process asks if use idfa, if using app events (this include [fbsdkappevents activateapp]) believe should highlight in submission.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -