Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode build failed due to concurrent builds

Tags:

flutter

dart

I am using flutter version 1.22.6, I have already published my application and have to make minor changes in my application that is why I do not wish to upgrade flutter sdk in my application. But when I try to build my application it says:

Xcode build failed due to concurrent builds

It pops up till some time and then it displays the error:

unable to attach DB: error: accessing build database
database is locked Possibly there are two concurrent builds running in the same filesystem location.

I have tried the solutions such as closing the Xcode and building only from my VS Code editor, also tried flutter clean and then build. Can someone help me with this if I do not have to upgrade flutter?

like image 549
Ankit Avatar asked Dec 05 '25 21:12

Ankit


1 Answers

open Terminal

top -o command

find "xcodebuild" command PID

kill -9 pid
like image 200
bara batta Avatar answered Dec 08 '25 14:12

bara batta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!