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?
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.
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.
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
- 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?
This happens when the application is already running, or could not exit gracefully and continues to run in the background.
Try:
$ pkill <yourappname>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With