How to use cocoapods with a Flutter plugin? How to use cocoapods with a Flutter plugin? dart dart

How to use cocoapods with a Flutter plugin?


Add your pod dependency modifying your ios/flutter_vlc_kit.podspec

s.dependency 'MobileVLCKit'

or with the wanted version

s.dependency 'MobileVLCKit', '3.2'

References:

Then go to your example/ios folder and run pod install.

Then open your Runner.xcworkspace and build your plugin from there.

Note: probably you could encounter this issue - tl;dr (not the best choice) change the build system of XCode to the legacy one.