mixpanel-flutter
mixpanel-flutter copied to clipboard
2.0.0 compile error. instanceName argument order.
Running into an issue building:
Swift Compiler Error (Xcode): Argument 'instanceName' must precede argument 'trackAutomaticEvents' /Users/justinzaun/.pub-cache/hosted/pub.dartlang.org/mixpanel_flutter-2.0.0/ios/Classes/SwiftMixpanelFlutterPlugin.swift:159:40
Swift Compiler Error (Xcode): Argument 'instanceName' must precede argument 'trackAutomaticEvents' /Users/justinzaun/.pub-cache/hosted/pub.dartlang.org/mixpanel_flutter-2.0.0/ios/Classes/SwiftMixpanelFlutterPlugin.swift:174:102
Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code
Could not build the application for the simulator. Error launching application on iPhone 13 Pro.
Pubspec.yaml: mixpanel_flutter: ^2.0.0
Flutter 3.0.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision f1875d570e (10 weeks ago) • 2022-07-13 11:24:16 -0700 Engine • revision e85ea0e79c Tools • Dart 2.17.6 • DevTools 2.12.2
Running on an Apple M1 Pro.
I'm encountering this as well, happened when I attempted to upgrade to flutter 3.3.0 sdk and had to update dependencies. Same details as the OP.