简体   繁体   中英

Error (Xcode): unable to attach DB: error: accessing build database(Flutter)

Every time I run my Flutter Project which is connected to Firebase this error appears.

I've tried:

  • flutter clean
  • flutter build iOS

But nothing worked.

This is my pubspec.yaml

name: pay_app
description: A new Flutter project.


publish_to: 'none' 

version: 1.0.0+1

environment:
  sdk: ">=2.16.2 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  firebase_core: ^1.16.0
  firebase_auth: ^3.3.17
  cloud_firestore: ^3.1.14
  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^1.0.0


flutter:

  uses-material-design: true

I faced the similar issue in react native and solved this by doing following things, let's give it a try may be it can work for you guys too!

rm -rf ~/Library/Developer/Xcode/DerivedData/
pod deintegrate
pod update

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM