今天开始收到iOS构建的以下错误。
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/zm/0n9b6r1d0pv73j14vwr1w5s80000gn/T/flutter_tools.EuJlha/flutter_ios_build_temp_dirqOJbPP/temporary_xcresult_bundle
: Error: Member not found: 'FirebaseAppPlatform.verify'.
../…/src/firebase_app.dart:18
FirebaseAppPlatform.verify(_delegate);
^^^^^^
: Error: Member not found: 'DataSnapshotPlatform.verifyExtends'.
../…/src/data_snapshot.dart:9
DataSnapshotPlatform.verifyExtends(_delegate);
^^^^^^^^^^^^^
: Error: Member not found: 'DatabaseEventPlatform.verifyExtends'.
../…/src/database_event.dart:13
DatabaseEventPlatform.verifyExtends(_delegate);
^^^^^^^^^^^^^
: Error: Member not found: 'OnDisconnectPlatform.verifyExtends'.
../…/src/on_disconnect.dart:27
OnDisconnectPlatform.verifyExtends(_delegate);
^^^^^^^^^^^^^
: Error: Member not found: 'TransactionResultPlatform.verifyExtends'.
../…/src/transaction_result.dart:12
TransactionResultPlatform.verifyExtends(_delegate);
^^^^^^^^^^^^^
我在SO -https://stackoverflow.com/a/74580648/13766036上尝试了其他类似问题中的步骤
仍然存在构建问题。
第一次
1条答案
按热度按时间6l7fqoea1#
更新了我的pubspec.yaml以使用最新的firebase可用包
从pubspec.yaml中删除了firebase包的任何 dependency_overrides
最后完成了以下步骤
以上对我起作用了,问题解决了。