expo: FBAudienceNetwork 4.99.0 breaks iOS ExpoKit

Facebook released a new version of FBAudienceNetwork yesterday with a bunch of breaking changes. Expo’s ads module depends on the previous version, 4.28.1, but the dependency is listed as ~> 4.24.

  • Short term solution-- pin the dependency to the older version.
  • After that-- need to update our ads module to be compatible with 4.99.0.

Here’s the full changelog.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 18 (5 by maintainers)

Commits related to this issue

Most upvoted comments

Solution for people who saw a build failure

I’ve pushed a new ExpoKit tag which pins our FBAudienceNetwork dependency to 4.28.1.

If you saw something like this: Property ‘title’ not found on object of type ‘FBNativeAd *’ while trying to build ExpoKit, then follow these instructions–

  1. Change your Podfile so that your ExpoKit tag points to ios/2.6.5 instead of 2.6.4.
  2. pod install
  3. Try building again

Note that this will downgrade your FBAudienceNetwork version. If you run into issues during pod install then you might want to nuke Pods and Podfile.lock and try again.

Ditto @MorganDream, if you have older expokit, just modify Podfile.lock directly and change the version to 4.28.1 for FBAudienceNetwork and nuke Pods folder and rerun pod install then it will start working.

@Daadler6 @poptocrack As root reason is FBAudienceNetwork, I found I can fix this by modify the version of FBAudienceNetwork to fixed value in Podfile.lock. 4.28.1 is good for me.

FYI – to anyone who is using Expo SDK 27 or below and is still running into this issue, if you cannot upgrade to a newer SDK, you should be able to get around this issue by editing your Podfile.lock to pin the version to 4.28.1 and then re-running pod install.

is the lastest expo sdk30.0.0? Upgraded and not working

The neweset version of ExpoKit supports FBAudienceNetwork 4.99.0. Happy programming!