Got this error message when run app in flutter, using IOS simulator:
Error (Xcode):
'RivePlugin' has different definitions in different modules; first difference is definition in module 'rive_common.Swift' found method
/Users/rafaelvazquez/Documents/app/aloha_makeup/build/ios/Debug-iphonesimulator/rive_common/rive_common.framework/Headers/rive_common-Swift.h:309:0
Modules Issue (Xcode):
Definition of 'RivePlugin' must be imported from module 'rive_common.Swift' before it is required
/Users/rafaelvazquez/Documents/app/aloha_makeup/ios/Runner/GeneratedPluginRegistrant.m:113:3
Could not build the application for the simulator. Error launching application on iPhone 16 Plus.
Run flutter clean and then flutter pub get.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With