Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode log message "flock failed to lock list file"

Tags:

xcode

macos

swift

I am getting this message logged when running a freshly created macOS app in Xcode (Apple Silicon / Xcode 12).

flock failed to lock list file ([project_path]/com.apple.metal/16777235_322/functions.list): errno = 35

What does it mean? How do I get rid of it?

like image 862
de. Avatar asked Nov 23 '20 07:11

de.


People also ask

How to fix Xcode unable to log in with the account?

You can find the error message by clicking the project name in the Xcode project left side navigator pane, then click one target in the center editor TARGETS list area, then click the General tab and scroll down to Signing area. This article will tell you how to fix it. 1. Xcode Unable To Log In With The Account Error Message.

How do I get logs from Xcode console?

1. The device logs Xcode uses system logging to log its messages to the console. If you open the Console app, find your macOS device in the Devices list and look at the messages.

How to get Xcode diagnostic logs on Mac?

Alternatively, you can actually start Xcode from the terminal (by typing /Applications/Xcode-beta.app/Contents/MacOS/Xcode in the terminal window). If you do that, all the logs will be written to the terminal console. 2. The Diagnostic Reports

What is flock in Unix?

- Unix & Linux Stack Exchange Using flock, several processes can have a shared lock at the same time, or be waiting to acquire a write lock. How do I get a list of these processes?


1 Answers

This happens when the application is already running, or could not exit gracefully and continues to run in the background.

Try:

$ pkill <yourappname>
like image 108
Serge Ivamov Avatar answered Sep 21 '22 12:09

Serge Ivamov