pubspec.yaml中的
1 2 3 4 5 6 7 8 9 | dependencies: flutter: sdk: flutter # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^0.1.2 rxdart: ^0.22.1+1 firebase_auth: ^0.14.0+ |
如果添加
和" firebase_auth",则它不会永远以"正在运行Xcode build ..."结尾。
方法
当我检查Firebase flutter-setup时,它说要将GoogleService-Info.plist放在ios / Runner中,但是要小心,因为即使将其直接放在文件夹中也会发生相同的现象。
除非从xcode添加GoogleService-Info.plist,否则似乎无法识别它,因此,如果执行此过程,则可以正常构建。
综上所述
你明白吗!我沉迷了两个小时。所以本地人是(ry