app rejected because of advertisingIdentifier in Facebook SDK and Flurry SDK
Get 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 ASIdentifierManagerClass = [FBDynamicFrameworkLoader loadClass:@"ASIdentifierManager" withFramework:@"AdSupport"];
if ([ASIdentifierManagerClass class]) {
ASIdentifierManager *manager = [ASIdentifierManagerClass sharedManager];
advertiserID = [[manager advertisingIdentifier] UUIDString];
}
return advertiserID;
}
to
+ (NSString *)advertiserID {
return @"";
}
Facebook iOS SDK links unwanted AdSupport library
In the interim, some people have experimented with commenting or ifdef-ing out parts of the Facebook SDK. The problem is how far to pursue the transitive closure of your edits.
Here is a link to a minimal set of diffs that worked for me. That is, the executable had no AdSupport
or ASIdentifierManager
references.
https://github.com/snorrsi/facebook-ios-sdk/commit/9d69d9ab0e510359311085def696c750c345037a
My app was just rejected for using the Ad support framework. Which library is responsible?
In Terminal:
- Go to the root folder of your project
- Type:
grep -r advertisingIdentifier .
(the dot at the end is critical)
This will recursively check every file, and give you the name of the offending library.
(in my case, it was Flurry)
App store submission denied iOS Advertising Identifier
It rejection reason makes sense. Some libraries using advertisingIdentifier inappropriately instead of recommended ways of device identification like identifierForVendor. Not sure that newest google analytics use recommended way of identification. Try to update to latest version. In other case you will need to select some other analytics solution for tracking, for example Mixpanel had this issue resolved and works well.
iTunes Connect - rejected due to Facebook's setUrlRequest method
It was issue in Xamarin's MonoTouch
product. Update to version 6.2.6
solved the issue cause:
Removal of some non-public Apple selectors (name clashes, old beta selectors and newly blacklisted)
Related Topics
Swift - Clipping Image with Uibezierpath
Sprite Moves Two Places After Being Paused and Then Unpaused
How to Handle Image Scale on All the Available iPhone Resolutions
Using Weak Self in Dispatch_Async Function
Where to Store Global Constants in an iOS Application
Swift - Check If a Timestamp Is Yesterday, Today, Tomorrow, or X Days Ago
iOS 9 Safari: Changing an Element to Fixed Position While Scrolling Won't Paint Until Scroll Stops
App Killed by Sigkill When Changing Privacy Settings
How to Detect When Avplayer Video Ends Playing
Nsfetchedresultscontroller V.S. Uilocalizedindexedcollation
How to Stop Multiple Times Method Calling of Didupdatelocations() in iOS
Optional Chaining in Swift Closure Where Return Type Has to Be Void
Where to Remove Observer for Nsnotification in Swift
Realmswift: Convert Results to Swift Array
What's the Difference Between "Architectures" and "Valid Architectures" in Xcode Build Settings
Swift Error:Signal Sigabrt How to Solve It
Creating a Reusable Uiview with Xib (And Loading from Storyboard)