Hi flutter community,
I recently got a 2020 MacBook Pro with the M1 chip (Silicon Valley), and I can't get the simulator to work with apps using Firebase.
Interestingly, when I clone github projects that don't use Firebase, the simulator runs fine-- but I get the following output when I try to run my project, as well as others', that are connected to Firebase:
Could not build the application for the simulator.
Error launching application on iPhone 11.
A more detailed description of this error is:
Error output from Xcode build:
↳
objc[57483]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1f47f78f0) and ?? (0x1171bc2b8). One of the two will be used. Which one is undefined.
objc[57483]: Class AMSupportURLSession is implemented in both ?? (0x1f47f7940) and ?? (0x1171bc308). One of the two will be used. Which one is undefined.
** BUILD FAILED **
Finally, Xcode's output:
↳
error: Multiple commands produce 'APPPATH/Runner':
1) Target 'Runner' has copy command from 'APPPATH/ios/Runner/Runner' to 'APPPATH/build/ios/Debug-iphonesimulator/Runner.app/Runner'
2) Target 'Runner' has link command with output 'APPPATH/build/ios/Debug-iphonesimulator/Runner.app/Runner'
Also, flutter doctor returns no errors when ran, just in case.
Is anyone else with a MacBook m1 chip facing the same issues? Any guidance would be greatly appreciated.
Thanks, and best,
Andrew V.