last day (17 days later) » 

6:16 PM
10
A: app rejected because of advertisingIdentifier in Facebook SDK and Flurry SDK

AndrewGet the source code from https://github.com/facebook/facebook-ios-sdk , instead of the compiled framework. Just deleting the framework and pasting in the source code should do it. Go to FBUtility.m and modify this method: + (NSString *)advertiserID { NSString *advertiserID = nil; Class ...

 
It really depends on Apple's review team. They do miss things from time to time, but the short answer is probably yes. If you display ads - you'll be fine, though.
No, it doesn't. It uses the advertiser identifier only if the setting in Settings isn't limiting its use and even then it's using it for what I assume are valid reasons (like install tracking). The issue here is that Apple wants this identifier used only for the purposes of advertising and if you don't have ads in your app, that means that you're not using it for its intended purpose, hence your app is rejected.
Yeah, that's right. Although it's against the Appstore rules, this rule wasn't enforced up until a week ago, so from Facebook's point of view (and a lot of other SDK providers) it was perfectly fine to use it. I do expect them to update their code fairly soon, though.
Yeah, that should do it as well. To make sure you can set a symbolic breakpoint on advertisingIdentifier and see if it gets hit.
Sure, get the ios sdk source code from my answer (make sure to go to the 3.11 release, since that's the on the Unity sdk is based on), go through the procedure to remove the identifier, then compile the iOS library (the .a), it'll generate a libfacebook_ios_sdk.a file, rename it to FacebookSDK.a and replace the one from the Unity package with the new one. Let me know if it works or if you need help with it.
One of my apps got approved yesterday using this method.
After changing the code in FBUtility? Either use the raw source code or use Facebook's project that has a scheme that compiles the library.
 
I'm having trouble on compiling the library with the modified class. Does anyone that has it fixed could please send me a download link to it?
 
My bad. I freaking missed it :P Thanks a lot! That did the trick.
That lib is meant to work with any architecture (device/simulator) ?
 
I haven't touched FB's settings, so it should be, are you having any issues?
Hey
 
6:18 PM
It won't compile
 
What's the error
 
This is the error it gives
 
I don't see it
 
The same happens on both simulator and device
I think the link had not been sent
Did you see it now?
 
7:09 PM
you there?
 

  last day (17 days later) »