-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core functionality breaking following an app upgrade #121
Comments
As of 25/03/2025, I think the best next step is to contact Apple developer technical support, checking if there's any progress on this issue in their internal bug tracker, as a post on the forum would imply it's been recorded there. |
[preview](https://coder.com/docs/@121-desktop-troubleshoot/user-guides/desktop) relates to coder/coder-desktop-macos#121 --------- Co-authored-by: EdwardAngert <[email protected]> Co-authored-by: Ethan <[email protected]>
apparently marking it as done in any one project (like docs) marks the issue done :-/ sorry |
This is now consistently reportable for me after each upgrade. No workspaces appear following each upgrade. I upgrade using the .pkg installer and do not use Homebrew. |
Many users, including myself, have noticed the core functionality of the app breaks when the app is upgraded, be it via homebrew, or via the
.pkg
installer.This issue is identified in two ways:
Both of these issues have the same root cause - the System Network Extension process is unable to communicate with the Coder Desktop application over macOS'
XPC
.In the first case, no XPC connection exists to communicate the list of connected workspaces.
In the second case, no XPC connection exists to instruct the app to prompt the user for
sudo
, in order to mark the.dylib
downloaded from the Coder server as safe to execute.Multiple users on the Apple developer forums have reported this issue in recency:
https://developer.apple.com/forums/thread/711713
https://developer.apple.com/forums/thread/667597
https://developer.apple.com/forums/thread/742992
https://developer.apple.com/forums/thread/728063
Attempts to fix, based off thread responses:
.pkg
installer from a.dmg
(fix(build): switch to pkg based installer #92).pkg
preinstall: Stopping Coder Connect, shutting down the app, deleting the app (which deletes the network extension).pkg
postinstall: Forcing macOS to ingest the App bundle's notarization ticket usingspctl --assess
. (chore(pkgbuild): delete existing app during preinstall,spctl --assess
during postinstall #112)NSXPCListener.resume()
is called afterautoreleasepool { NEProvider.startSystemExtensionMode() }
Apple Feedback Assistant
https://feedbackassistant.apple.com/feedback/17032197
(Private link, I believe)
Workaround
However, if a user encounters this issue on upgrade, the fix is relatively straightforward. Unfortunately, due to macOS security decisions, it's not possible for the app to automate these steps in totality.
macOS <=14
/Applications
macOS 15+
(i)
for Network Extensions(...)
next to Coder Desktop, select Delete Extension, and follow the prompts.This issue is a successor to #83.
The text was updated successfully, but these errors were encountered: