Xcode log message "flock failed to lock list file"

Viewed 2306

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?

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>
Related