danielemm
danielemm

Reputation: 1696

Cannot upload iOS app with Facebook SDK 3.0 because references non-public selectors

I can't upload my app linked to Facebook SDK 3.0. It was rejected with this kind of false-positive (?) private API usage:

The app references non-public selectors in <appname> setAttribution:

I think it's related to facebook sdk framework: I've found this reference inside framework's binary file https://i.sstatic.net/FbPTs.jpg

I've not used such method and FB.framework is the only thirdy party linked framework in my app.

Any idea?

I've just tried to remove FacebookSDK.framework and all referenced code and it works fine...so I suppose it's a problem with setAttribution: call somewhere inside that code.

Upvotes: 1

Views: 587

Answers (2)

Rahul Singh
Rahul Singh

Reputation: 1229

I too faced this issue today, but I found a good solution for it here. See if it works for you too.

Upvotes: 1

danielemm
danielemm

Reputation: 1696

I've retry to upload it today and everything is fine now. Probability Apple has fixed something.

Upvotes: 0

Related Questions