I'm new to Swift and I'm trying to implement a Native google ad inside my Flutter project. I followed step by step documentation to create the native ad in swift but now I'm not able to link the outlet with my factory.
I tried to link the view by drag it to the factory class :
But I'm getting this error :
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<NSObject 0x28140cd90> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key advertiserView.'
terminating with uncaught exception of type NSException
It seems that the first outlet is causing crash because it doesn't recognize it.
According the documentation I followed to implement this, there are no IBOutlet in the code but only linked inside the .xib file.
How can I correctly do this ?

Check if you have the
GADNativeAdheader file in your Runner folder.To create the header file, simply right click on the Runner folder => new File... and then choose Header.
Name it
GADNativeAdand copy the code below inside. You will now be able to bind your outlets.