quickstart-ios
quickstart-ios copied to clipboard
Undefined symbols
Followed the tutorial to install Firebase and encountered an error,
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
#0 FirebaseCoreHostApi.initializeCore (package:firebase_core_platform_interface/src/pigeon/messages.pigeon.dart:210:7)
<asynchronous suspension>
#1 MethodChannelFirebase._initializeCore (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:29:44)
<asynchronous suspension>
#2 MethodChannelFirebase.initializeApp (package:firebase_core_platform_interface/src/method_channel/method_channel_firebase.dart:73:7)
<asynchronous suspension>
#3 Firebase.initializeApp (package:firebase_core/src/firebase.dart:66:31)
<asynchronous suspension>
#4 main (package:note/main.dart:37:3)
<asynchronous suspension>
Lost connection to device.
then killed the app and reran flutter run.
Launching lib/main.dart on iPhone 12 in debug mode...
Xcode build done. 46.1s
Failed to build iOS app
Error (Xcode): Undefined symbols:
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Could not build the application for the simulator.
Error launching application on iPhone 12.
Exited (1).