สัญญาณขาดหายบางส่วนshare-external
Cocoapods, Unity, iOS crash
5

When using Cocoapods, I've got crash

Thread 1: "FBAdConfigManager is a final class and cannot be subclassed. FBAdConfigManager"

If I add

!use_frameworks :linkage => :static

to the Podfile, it resolves the issue with FBAudienceNetwork, but other Facebook's pods stop working (FBSDKCoreKit, FBSDKLoginKit).

I discovered that Meta distributes static framework in FBAudienceNetwork pod but doesn't set static_framework = true flag in its podspec. If I change the podspec and set static_framework = true flag then everything works fine.

Any temporary workarounds are welcomed. It would be great, if FBAudienceNetwork.podspec could be fixed, since creating my own FBAudienceNetwork pod and maintaining it is a cumbersome solution.

Victor
ถามแล้ว ประมาณ​ 8 เดือนที่แล้ว
Evgeny

Maan. How have you resolved it?

23 กันยายน เวลา 02:50 น.
Evgeny

or ho do you maintain your own FB pod?

23 กันยายน เวลา 02:51 น.
คำตอบที่เลือก
5

Hi Meta!

It would be great to have the problem fixed in the next version of the FBAudienceNetwork.

9 เมษายน เวลา 01:20 น.
Artur