flutter_udid icon indicating copy to clipboard operation
flutter_udid copied to clipboard

Unable to run application from flutter terminal. Getting Duplicate interface definition for class 'FlutterUdidPlugin' error

Open ravindran-a opened this issue 1 year ago • 7 comments

image

ravindran-a avatar Feb 12 '24 15:02 ravindran-a

This should already be fixed, please upgrade to the latest version of the plugin.

GigaDroid avatar Feb 12 '24 16:02 GigaDroid

image @GigaDroid its not fixed. I am on the latest version of the plugin. please resolve the issue.

ravindran-a avatar Feb 13 '24 09:02 ravindran-a

Please the running flutter clean. Also, which flutter version are you using?

GigaDroid avatar Feb 13 '24 11:02 GigaDroid

image

ravindran-a avatar Feb 13 '24 18:02 ravindran-a

Are you using Objective-C or Swift for the iOS part of your app? Do you have any repo where I could reproduce this?

GigaDroid avatar Feb 13 '24 19:02 GigaDroid

Am using swift and there is no customizations on the iOS side. Its just default runner project created by flutter.

There is no repo yet. Will try to create one.

Another thing to note is, this happens only when i try to run the app from flutter terminal using flutter run.

When I open the runner in xcode and run it, it works fine. No such issues arise from xcode.

ravindran-a avatar Feb 14 '24 13:02 ravindran-a

Okay please let me know once you have a repo for me to check, don't think I'll be able to trace it down with out one.

GigaDroid avatar Feb 14 '24 16:02 GigaDroid