Home > Back-end >  How to integrate ObjectiveC framework (IronSource) into Flutter (iOS Swift)?
How to integrate ObjectiveC framework (IronSource) into Flutter (iOS Swift)?

Time:02-21

I'm trying to integrate IronSource SDK in a iOS Flutter project (Swift project), but I am unable to do that. According to the ObjC bridging header

I am new to iOS development and Im battleing this for about a week now. I cant find anything on the internet that would work so any help will be much appreciated. Thanks

CodePudding user response:

I managed to resolve my issue. It turns out that build paths are not case sensitive and I was using 'ironsource' for my plugin name but IronSourceSDK is using 'IronSource' so it looks like at build time it did not find the correct files. And when this was working, I had to add 'use_frameworks! :linkage => :static' in the pod file of the plugin. Then I could depend on it in my swift flutter app normally as any other plugin.

  • Related