Flutter iOS-在模拟器上运行的应用无法部署到iphone-未找到-lFirebaseCore的库

时间:2019-01-18 13:56:16

标签: ios xcode dart flutter

标题显示我可以在ios模拟器上运行我的应用程序,但是当我尝试通过Xcode将应用程序部署到iphone时,我会收到错误消息

:-1: library not found for -lFirebaseCore

关于我可能做错了什么的任何建议?这是我的pubspec.yaml

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^0.1.0
  http: "^0.11.3+16"

  crypto: any
  validate: "^1.6.0"
  json_annotation: ^0.2.4
  image_picker: "^0.4.1"
  firebase_messaging: ^2.1.0 
  device_info: ^0.2.1
  location: ^1.4.1
  cached_network_image: "^0.4.1"
  mutex: #"^0.0.1"
  logging: "^0.11.3+1"
  uuid: ">=1.0.0"
  web_socket_channel: ^1.0.9

dev_dependencies:
  flutter_test:
    sdk: flutter
  build_runner:
  json_serializable: ^0.5.2

任何建议都值得欢迎。谢谢

2 个答案:

答案 0 :(得分:0)

尝试 spring.profiles.active=dev spring.application.name=Profiles server.servlet.context-path=/tagfact spring.mvc.view.prefix: /view/ spring.mvc.view.suffix: .jsp 进入flutter项目目录的iOS文件夹并运行

cd

答案 1 :(得分:0)

我记不清了,但是您必须在firebase_database中包含firebase_authpubspec.yaml。我将进行测试并稍后进行更新。