07-20-2023, 02:47 PM
I'm Integrating Facebook Audience Network for Interstitial and Rewarded types of Ads.
I'm trying to integrate it as a framework and not in the project.
When I'm trying to test it through the Test Cases It failing after this line:
self.fbInterstitialAd = [[FBInterstitialAd alloc] initWithPlacementID:self.placementID];
and giving me this error:
`*** Terminating app due to uncaught exception 'FBFinalClassViolationException', reason: 'FBAdConfigManager is a final class and cannot be subclassed. FBAdConfigManager'
***`
I really do not understand why it is crashing. I am really not able to find what is the issue.
I also integrated this Audience network SDK in separate single view Application, there I'm able to see the ADs and working fine.
I'm trying to integrate it as a framework and not in the project.
When I'm trying to test it through the Test Cases It failing after this line:
self.fbInterstitialAd = [[FBInterstitialAd alloc] initWithPlacementID:self.placementID];
and giving me this error:
`*** Terminating app due to uncaught exception 'FBFinalClassViolationException', reason: 'FBAdConfigManager is a final class and cannot be subclassed. FBAdConfigManager'
***`
I really do not understand why it is crashing. I am really not able to find what is the issue.
I also integrated this Audience network SDK in separate single view Application, there I'm able to see the ADs and working fine.