Skip to content
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

WireGuard not installed on macOS 15.1 #32

Closed
rakuyoMo opened this issue Nov 20, 2024 · 13 comments
Closed

WireGuard not installed on macOS 15.1 #32

rakuyoMo opened this issue Nov 20, 2024 · 13 comments

Comments

@rakuyoMo
Copy link

rakuyoMo commented Nov 20, 2024

I installed wireguard-tools via the command brew install wireguard-tools, but the WireGuardStatusbar still prompts me: "WireGuard not installed!", what should I do?

This app can open multiple tunnels at the same time compared to the official app, which is very useful for me, so I don’t want to switch to the official app.

➜  ~ which wg-quick
/opt/homebrew/bin/wg-quick
➜  ~ sudo defaults write WireGuardStatusbarHelper wgquickBinPath /opt/homebrew/bin/wg-quick

I executed the command above, but when I restarted WireGuardStatusbar, it still couldn't find WireGuard.


EDIT

image

I found that the application issued an implicit notification.

It seems that the command I updated the wg-quick path above took effect, but encountered a new problem: the bash version is too low

But my current bash version is 5.x (bash --version). Does the command line version mentioned in this prompt refer to the version in the software? If so, how can I solve this problem?

@aequitas
Copy link
Owner

Did you also set the brewPrefix value to /opt/local/? What is the Bash version in brew? /opt/local/bin/bash --version

@rakuyoMo
Copy link
Author

Did you also set the brewPrefix value to /opt/local/? What is the Bash version in brew? /opt/local/bin/bash --version

I am using a Mac with an M chip, and there is nothing in the /opt/local/bin directory.

bash-5.2$ /opt/local/bin/bash --version
bash: /opt/local/bin/bash: No such file or directory

@aequitas
Copy link
Owner

But wg-quick was installed to /opt/homebrew/bin as you mentioned in your first comment?
Is there a /usr/local/bin/wg-quick?
What version of macOS are you running?

You can do a sudo defaults delete WireGuardStatusbarHelper wgquickBinPath to remove the previous setting back to default which should be /usr/local/bin/wg-quick.

Can you capture the application logs using log stream --predicate 'process BEGINSWITH "WireGuardStatusbar"' while starting the application?

@rakuyoMo
Copy link
Author

rakuyoMo commented Nov 22, 2024

But wg-quick was installed to /opt/homebrew/bin as you mentioned in your first comment?

➜ which wg-quick
/opt/homebrew/bin/wg-quick

Is there a /usr/local/bin/wg-quick?

I noticed this comment: #25 (comment)

So I created a soft link from /opt/homebrew/bin/wg-quick to /usr/local/bin/wg-quick.
So now /usr/local/bin/wg-quick exists and it points to /opt/homebrew/bin/wg-quick

What version of macOS are you running?

macOS 15.1.1 (24B2091)

You can do a sudo defaults delete WireGuardStatusbarHelper wgquickBinPath to remove the previous setting back to default which should be /usr/local/bin/wg-quick.

I executed the command. When I tried to open the tunnel, I received the notification: Path '/opt/local//bin/wg-quick' for 'wg-quick' binary is invalid!. Emm, why are there two \ after local...🤔

When I try to use the command sudo defaults write WireGuardStatusbarHelper wgquickBinPath /opt/local/bin/wg-quick to temporarily fix the repeated / in the path, I still get an error: Path '/opt/local/bin/wg-quick' for 'wg-quick' binary is invalid!

@rakuyoMo
Copy link
Author

rakuyoMo commented Nov 22, 2024

Can you capture the application logs using log stream --predicate 'process BEGINSWITH "WireGuardStatusbar"' while starting the application?

The following is the log, including the two operations of "starting the application" and "using the application to close a wg tunnel that has been opened through the command line".

Last login: Fri Nov 22 11:03:16 on ttys017
➜  ~ log stream --predicate 'process BEGINSWITH "WireGuardStatusbar"' --info
Filtering the log data using "process BEGINSWITH "WireGuardStatusbar""

Timestamp                       Thread     Type        Activity             PID    TTL
2024-11-22 11:31:36.551964+0800 0xba4236   Activity    0x30b780             86064  0    WireGuardStatusbar: (libsystem_info.dylib) Retrieve User by ID
2024-11-22 11:31:36.554252+0800 0xba4236   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013e4000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon
2024-11-22 11:31:36.554593+0800 0xba4238   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013e0000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.agent
2024-11-22 11:31:36.555485+0800 0xba4236   Activity    0x30b781             86064  0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 11:31:36.557826+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013e40f0] activating connection: mach=true listener=false peer=false name=com.apple.coreservices.launchservicesd
2024-11-22 11:31:36.558143+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] Registering for notification <private> on default queue, to re-boostrap client connection.
2024-11-22 11:31:36.558755+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013ec000] activating connection: mach=true listener=false peer=false name=com.apple.pasteboard.1
2024-11-22 11:31:36.559481+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013e00f0] activating connection: mach=true listener=false peer=false name=com.apple.distributed_notifications@Uv3
2024-11-22 11:31:36.561781+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _NSDisableAutomaticTerminationAndLog(NSString *) No windows open yet
2024-11-22 11:31:36.562838+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013e01e0] activating connection: mach=true listener=false peer=false name=com.apple.analyticsd
2024-11-22 11:31:36.563029+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Daemon status changed from 0 to 1
2024-11-22 11:31:36.563845+0800 0xba422d   Activity    0x30b782             86064  0    WireGuardStatusbar: (TCC) TCCAccessRequest() IPC
2024-11-22 11:31:36.563917+0800 0xba422d   Default     0x30b782             86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013ec0f0] activating connection: mach=true listener=false peer=false name=com.apple.tccd.system
2024-11-22 11:31:36.564025+0800 0xba422d   Info        0x30b782             86064  0    WireGuardStatusbar: (TCC) [com.apple.TCC:access] SEND: 0/7 synchronous to com.apple.tccd.system: request: msgID=86064.1, function=TCCAccessRequest, service=kTCCServiceListenEvent,
2024-11-22 11:31:36.565445+0800 0xba4238   Default     0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Received configuration update from daemon (initial)
2024-11-22 11:31:36.566761+0800 0xba422d   Info        0x30b782             86064  0    WireGuardStatusbar: (TCC) [com.apple.TCC:access] RECV: synchronous reply <dictionary: 0x6000013ec1e0> { count = 5, transaction: 0, voucher = 0x0, contents =
	"prompt_type" => <uint64: 0x7855179df0df156d>: 1
	"auth_value" => <uint64: 0x7855179df0df156d>: 1
	"preflight_unknown" => <bool: 0x7ff855afe660>: true
	"auth_version" => <uint64: 0x7855179df0df156d>: 1
	"auth_reason" => <uint64: 0x7855179df0df556d>: 5
}
2024-11-22 11:31:36.566785+0800 0xba422d   Default     0x30b782             86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013ec0f0] invalidated after the last release of the connection object
2024-11-22 11:31:36.566994+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (SkyLight) [com.apple.SkyLight:default] server port 0x00004307, session port 0x00004307
2024-11-22 11:31:36.570700+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (SkyLight) [com.apple.SkyLight:default] New connection 0x17fd37 main
2024-11-22 11:31:36.570700+0800 0xba4238   Info        0x0                  86064  0    WireGuardStatusbar: (SkyLight) [com.apple.SkyLight:processes] 0[outside of RPC]: First connection id 1572151 mapped to ctx = 0x6000002e1180
2024-11-22 11:31:36.571326+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] SCSession():SCSession( id=100, this=0x0x7fcb2c1057f0 option=65538) created, forUID=501 mach_port_t=0x4603.
2024-11-22 11:31:36.571447+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] SCSession():SCSession( id=101, this=0x0x7fcb2c105e70 option=65538) created, forUID=501 mach_port_t=0x4b07.
2024-11-22 11:31:36.571454+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] connectToCoreServicesD():Instantiating server (coreservicesd based) SCSession, port=0x4603 serverOptions=0x10002.
2024-11-22 11:31:36.572129+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (HIServices) [com.apple.hiservices:processmgr] Checking in with CAS, pid=86064
2024-11-22 11:31:36.572375+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] LSApplicationCheckIn(), app being registered is:"/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar"
2024-11-22 11:31:36.573620+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas]  { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBuild"="18B71", , "DTSDKName"="macosx10.14", , "DTXcode"="1010", , "DTXcodeBuild"="10B61", , "Flavor"=3, , "LSApplicationCategoryType"="public.app-category.utilities", , "LSArchitecture"="x86_64", , "LSBundlePath"="/Applications/WireGuardStatusbar.app", , "<…>
2024-11-22 11:31:36.573660+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.processmanager:front-35286506] CHECKIN: pid=86064
2024-11-22 11:31:36.576207+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.processmanager:front-35286506] CHECKEDIN: pid=86064 asn=0x0-0x2aa2aa foreground=0
2024-11-22 11:31:36.576240+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] Not setting processControlState because current application is not a foreground application.
2024-11-22 11:31:36.576705+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7fcb2b705d50] activating connection: mach=false listener=true peer=false name=(anonymous)
2024-11-22 11:31:36.576722+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7fcb2b705d50] Channel could not return listener port.
2024-11-22 11:31:36.576925+0800 0xba4236   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7fcb2c007d40] activating connection: mach=false listener=false peer=true name=com.apple.xpc.anonymous.0x7fcb2b705d50.peer[420].0x7fcb2c007d40
2024-11-22 11:31:36.583333+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] FRONTLOGGING: version 1
2024-11-22 11:31:36.583355+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] Registered, pid=86064 ASN=0x0,0x2aa2aa
2024-11-22 11:31:36.583654+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.security.LegacyAPICounts" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:36.583843+0800 0xba4236   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7fcb2c105070] activating connection: mach=true listener=false peer=false name=com.apple.lsd.mapdb
2024-11-22 11:31:36.584048+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (HIServices) [com.apple.hiservices:processmgr] _RegisterApplication( pid 86064 => 0x0,0x2aa2aa) type=ui-element
2024-11-22 11:31:36.584070+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7fcb2b705d50] Channel could not return listener port.
2024-11-22 11:31:36.584226+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] CFArrayRef _LSCopyLaunchModifiers(LSSessionID, LSASNRef _Nonnull), result for psn [ kLSCurrentApp ASN, 0x0,0x2]  is 1 items.
2024-11-22 11:31:36.584253+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] BringForward: pid=86064 asn=0x0-0x2aa2aa bringForward=0 foreground=0 uiElement=1 launchedByLS=1 modifiersCount=1 allDisabled=0
2024-11-22 11:31:36.584268+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] BringFrontModifier: pid=86064 asn=0x0-0x2aa2aa Modifier 0 hideAfter=0 hideOthers=0 dontMakeFrontmost=0 mouseDown=0/0 seed=0/0
2024-11-22 11:31:36.584758+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] Current system appearance, (HLTB: 2), (SLS: 1)
2024-11-22 11:31:36.584923+0800 0xba4238   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2aa2aa with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:31:36.586395+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libMobileGestalt.dylib) No persisted cache on this platform.
2024-11-22 11:31:36.587059+0800 0xba4236   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:default] Unable to load Info.plist exceptions (eGPUOverrides)
2024-11-22 11:31:36.587087+0800 0xba4236   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:default] Unable to load Info.plist exceptions (gameModeOverrides)
2024-11-22 11:31:36.587125+0800 0xba4236   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:default] Unable to load Info.plist exceptions (identifiedGameOverrides)
2024-11-22 11:31:36.587234+0800 0xba4236   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:default] Unable to load Info.plist exceptions (SystemHiddenPreferred)
2024-11-22 11:31:36.587823+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libMobileGestalt.dylib) Failed to copy the SysCfgDict MG key with error: 0
2024-11-22 11:31:36.588521+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] Current system appearance, (HLTB: 2), (SLS: 1)
2024-11-22 11:31:36.589314+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] Post-registration system appearance: (HLTB: 2)
2024-11-22 11:31:36.590739+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7fcb2b705d50] Channel could not return listener port.
2024-11-22 11:31:36.590930+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2aa2aa with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:31:36.601008+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7fcb2b705d50] Channel could not return listener port.
2024-11-22 11:31:36.606633+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:36.612875+0800 0xba422d   Activity    0x30b783             86064  0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 11:31:36.613198+0800 0xba422d   Activity    0x30b784             86064  0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 11:31:36.617894+0800 0xba422d   Activity    0x30b785             86064  0    WireGuardStatusbar: (libsystem_info.dylib) Membership API: translate identifier
2024-11-22 11:31:36.621744+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] context (0 -> 3d89ccf9) for window 18f1
2024-11-22 11:31:36.622060+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 0
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x6000002e6b80
 (
    "<NSDarkAquaAppearance: 0x6000002e6a80>",
    "<NSSystemAppearance: 0x6000002e1b80>"
)>
2024-11-22 11:31:36.632538+0800 0xba4238   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013e44b0] activating connection: mach=true listener=false peer=false name=com.apple.dock.fullscreen
2024-11-22 11:31:36.634464+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:36.635147+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010ea100] activating connection: mach=true listener=false peer=false name=com.apple.fonts
2024-11-22 11:31:36.637640+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2aa2aa with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:31:36.638273+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:36.638450+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Intelligence] starting collection observation
2024-11-22 11:31:36.638646+0800 0xba4238   Default     0x0                  86064  0    WireGuardStatusbar: (UIIntelligenceSupport) [com.apple.UIIntelligenceSupport:xpc] establishing connection to agent
2024-11-22 11:31:36.639578+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] context (0 -> 40e52321) for window 18f2
2024-11-22 11:31:36.639583+0800 0xba4238   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:session] [0x600000fed540] Session created.
2024-11-22 11:31:36.639598+0800 0xba4238   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:session] [0x600000fed540] Session created from connection [0x6000013e03c0]
2024-11-22 11:31:36.639662+0800 0xba4238   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013e03c0] activating connection: mach=true listener=false peer=false name=com.apple.uiintelligencesupport.agent
2024-11-22 11:31:36.639726+0800 0xba4238   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:session] [0x600000fed540] Session activated
2024-11-22 11:31:36.641626+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:36.647707+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] Registering for test daemon availability notify post.
2024-11-22 11:31:36.647835+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] notify_get_state check indicated test daemon not ready.
2024-11-22 11:31:36.647937+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] notify_get_state check indicated test daemon not ready.
2024-11-22 11:31:36.648007+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] notify_get_state check indicated test daemon not ready.
2024-11-22 11:31:36.648267+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2aa2aa with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:31:36.649127+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2aa2aa with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:31:36.649161+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013e81e0] activating connection: mach=true listener=false peer=false name=com.apple.coreservices.appleevents
2024-11-22 11:31:36.649460+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] _AEGetRegisteredMachPort() created default port (port:40195/0x9d03 rcv:1 send:1 limit:5) and registered it with server
2024-11-22 11:31:36.650006+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7fcb2b705d50] Channel could not return listener port.
2024-11-22 11:31:36.650142+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2aa2aa with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:31:36.650190+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] SignalReady: pid=86064 asn=0x0-0x2aa2aa
2024-11-22 11:31:36.650383+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.processmanager:front-35286506] SIGNAL: pid=86064 asn=0x0x-0x2aa2aa
2024-11-22 11:31:36.650406+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] Supressing the creation of a 'oapp' event because the server told us to (likely because the aeHintApp() said an event was following.
2024-11-22 11:31:36.650429+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] Removing cached information for app [ 0x0-0x2aa2aa]  "WireGuardStatusbar", as its seed is different from that in shared memory ( 526 vs 528)
2024-11-22 11:31:36.650579+0800 0xba4236   Info        0x0                  86064  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] eEntitlements, for pid 793 sandboxed=NO entitlements={ "com.apple.coreservices.appleeven...llowedtooverridesenderaudittoken"=true }
2024-11-22 11:31:36.650701+0800 0xba4236   Info        0x0                  86064  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] eEntitlements, token 793/1924, designatedCodeReq = { "kTCCCodeIdentityAuditToken"=$F5010000F501000014000000F50100001400000019030000AB86010084070000, "kTCCCodeIdentityAuthority"="kTCCCodeIdentityDesignatedRequirementAuthority", "kTCCCodeIdentityCanSendToAnyTarget"=true, "kTCCCodeIdentityCSFlags"=637631233, "kTCCCodeIdentityDesignatedRequirementData"=$FADE0C000000003C0000000100000006000000020000001E636F6D2E6170706C652E636F726573657276696365732E75696167656E74000000000003, "kTCCCodeIdentityExecutableURL"="file:///System/Library/CoreServi...ntents/MacOS/CoreServicesUIAgent", "kTCCCodeIdentityIdentifier"="com.apple.coreservices.uiagent", "kTCCCodeIdentityIdentifierType"=0, "kTCCCodeIdentityPlatformType"=1, "kTCCCodeIdentityPromptPolicy"=3, "kTCCCodeIdentitySDKVersion"=983296, "kTCCCodeIdentityTeamID"="" }
2024-11-22 11:31:36.650764+0800 0xba4236   Info        0x0                  86064  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] eEntitlements, token 1059/2705, designatedCodeReq = { "kTCCCodeIdentityAuditToken"=$F5010000F501000014000000F50100001400000023040000AB860100910A0000, "kTCCCodeIdentityAuthority"="kTCCCodeIdentityDesignatedRequirementAuthority", "kTCCCodeIdentityCanSendToAnyTarget"=true, "kTCCCodeIdentityCSFlags"=637631233, "kTCCCodeIdentityDesignatedRequirementData"=$FADE0C000000002C0000000100000006000000020000000E636F6D2E6170706C652E646F636B000000000003, "kTCCCodeIdentityExecutableURL"="file:///System/Library/CoreServices/Dock.app/Contents/MacOS/Dock", "kTCCCodeIdentityIdentifier"="com.apple.dock", "kTCCCodeIdentityIdentifierType"=0, "kTCCCodeIdentityPlatformType"=1, "kTCCCodeIdentityPromptPolicy"=3, "kTCCCodeIdentitySDKVersion"=983296, "kTCCCodeIdentityTeamID"="" }
2024-11-22 11:31:36.650864+0800 0xba4236   Info        0x0                  86064  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] findOrCreateCacheable():findOrCreateCacheable(), factoryName=3 cacheableName=<private> fCacheables.size()=0
2024-11-22 11:31:36.650946+0800 0xba4236   Info        0x0                  86064  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] findOrCreateCacheable():findOrCreateCacheable(), result = 0x6000039d7000 (should be non-NULL)
2024-11-22 11:31:36.651071+0800 0xba4236   Info        0x0                  86064  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] Using over-ridden token [sess=100011 pid=1059 uid:501,501,501 g:20,20 pV:2705] from BundleDescriptor header, because sender is entitled, for aevt/oapp.
2024-11-22 11:31:36.651138+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('DefaultAsciiKeyboardLayoutPasteboard' (<CFUUID 0x600002cc1860> 029B8503-3F13-4315-831A-D8606A745D9D) gen: -1 item: 1264739405 flavor: 'DefaultAsciiKeyboardLayoutFlavor')
2024-11-22 11:31:36.651466+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:cache] Rebuilding cache for 'DefaultAsciiKeyboardLayoutPasteboard' (<CFUUID 0x600002cc1860> 029B8503-3F13-4315-831A-D8606A745D9D)
2024-11-22 11:31:36.651512+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: -8 generation: 0 null data flags: 0
2024-11-22 11:31:36.651569+0800 0xba422d   Activity    0x30b786             86064  0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 11:31:36.651695+0800 0xba422d   Activity    0x30b787             86064  0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From System CFPrefsD
2024-11-22 11:31:36.652751+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x600002ccad60> 03A72C05-538A-4F2A-B53D-CA1D8C772B4F) gen: -1 item: 1 flavor: '-32766 1768845414')
2024-11-22 11:31:36.652765+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:cache] Rebuilding cache for 'AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x600002ccad60> 03A72C05-538A-4F2A-B53D-CA1D8C772B4F)
2024-11-22 11:31:36.652832+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:31:36.653162+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (310 bytes) flags: 0
2024-11-22 11:31:36.653178+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x600002ccad60> 03A72C05-538A-4F2A-B53D-CA1D8C772B4F) gen: -1 item: 1 flavor: '-32765 1802264953')
2024-11-22 11:31:36.653186+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:31:36.653244+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (306 bytes) flags: 0
2024-11-22 11:31:36.653262+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x600002ccad60> 03A72C05-538A-4F2A-B53D-CA1D8C772B4F) gen: -1 item: 1 flavor: '-32764 1802264953')
2024-11-22 11:31:36.653271+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:31:36.653323+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (281 bytes) flags: 0
2024-11-22 11:31:36.653336+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x600002ccad60> 03A72C05-538A-4F2A-B53D-CA1D8C772B4F) gen: -1 item: 1 flavor: '-32763 1802264953')
2024-11-22 11:31:36.653343+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:31:36.653393+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (319 bytes) flags: 0
2024-11-22 11:31:36.653470+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x600002ccad60> 03A72C05-538A-4F2A-B53D-CA1D8C772B4F) gen: -1 item: 1 flavor: '-32765 1768845414')
2024-11-22 11:31:36.653483+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:31:36.653542+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (303 bytes) flags: 0
2024-11-22 11:31:36.653561+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x600002ccad60> 03A72C05-538A-4F2A-B53D-CA1D8C772B4F) gen: -1 item: 1 flavor: '-32763 1768845414')
2024-11-22 11:31:36.653570+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:31:36.653626+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (316 bytes) flags: 0
2024-11-22 11:31:36.658496+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] Using over-ridden token [sess=100011 pid=1059 uid:501,501,501 g:20,20 pV:2705] from BundleDescriptor header, because sender is entitled, for aevt/oapp.
2024-11-22 11:31:36.658820+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (AE) [com.apple.appleevents:receive] RECEIVED:(aevt,oapp) {aevt,oapp target=程序坞  returnID=31036}...
2024-11-22 11:31:36.659026+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:flippers] FLIPPERS: Flip aevt/long/0 data=0x6000039a59b4/4 currentlyNative=YES
2024-11-22 11:31:36.659047+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _NSDisableAutomaticTerminationAndLog(NSString *) Restoring windows
2024-11-22 11:31:36.659060+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013ec690] activating connection: mach=true listener=false peer=false name=com.apple.window_proxies
2024-11-22 11:31:36.659128+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013ec690] invalidated because the current process cancelled the connection by calling xpc_connection_cancel()
2024-11-22 11:31:36.666563+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:36.666609+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _NSEnableAutomaticTerminationAndLog(NSString *) Restoring windows
2024-11-22 11:31:36.668180+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:36.668348+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:36.669432+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:36.670011+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:36.671350+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7fcb2c21a080] activating connection: mach=true listener=false peer=false name=WireGuardStatusbarHelper
2024-11-22 11:31:36.671630+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libswiftFoundation.dylib) XPC Connection established
2024-11-22 11:31:36.671781+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (libswiftFoundation.dylib) Helper: Bundle Version => 35
2024-11-22 11:31:36.672239+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2aa2aa with seed 528 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=528, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:31:36.672536+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2aa2aa with seed 528 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=528, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:31:36.676947+0800 0xba4236   Default     0x0                  86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7fcb2c130370] activating connection: mach=true listener=false peer=false name=com.apple.windowmanager.server
2024-11-22 11:31:36.678404+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2aa2aa with seed 528 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=528, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:31:36.695764+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:36.728853+0800 0xba4247   Activity    0x30b850             86065  0    WireGuardStatusbarHelper: (libsystem_info.dylib) Retrieve User by ID
2024-11-22 11:31:36.730501+0800 0xba4247   Default     0x0                  86065  0    WireGuardStatusbarHelper: (libxpc.dylib) [com.apple.xpc:connection] [0x600002a60000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon
2024-11-22 11:31:36.731919+0800 0xba4247   Default     0x0                  86065  0    WireGuardStatusbarHelper: Overriding 'brewPrefix' with: /opt/local/
2024-11-22 11:31:36.733386+0800 0xba4247   Default     0x0                  86065  0    WireGuardStatusbarHelper: (libxpc.dylib) [com.apple.xpc:connection] [0x7fae12204ac0] activating connection: mach=true listener=true peer=false name=WireGuardStatusbarHelper
2024-11-22 11:31:36.733527+0800 0xba4247   Default     0x0                  86065  0    WireGuardStatusbarHelper: Not watching '/etc/wireguard' as it does not exist
2024-11-22 11:31:36.733578+0800 0xba4247   Default     0x0                  86065  0    WireGuardStatusbarHelper: Watching /usr/local/etc/wireguard for changes
2024-11-22 11:31:36.733692+0800 0xba4247   Default     0x0                  86065  0    WireGuardStatusbarHelper: Watching /var/run/wireguard for changes
2024-11-22 11:31:36.733750+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Client connected
2024-11-22 11:31:36.733859+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: (libxpc.dylib) [com.apple.xpc:connection] [0x7fae12204f40] activating connection: mach=false listener=false peer=true name=WireGuardStatusbarHelper.peer[86064].0x7fae12204f40
2024-11-22 11:31:36.734548+0800 0xba424e   Default     0x0                  86064  0    WireGuardStatusbar: (libswiftFoundation.dylib) Helper: Installed Version => 35
2024-11-22 11:31:36.734637+0800 0xba424e   Default     0x0                  86064  0    WireGuardStatusbar: (libswiftFoundation.dylib) Updating tunnel configuration and runtime state.
2024-11-22 11:31:36.735370+0800 0xba4251   Info        0x0                  86065  0    WireGuardStatusbarHelper: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] SCSession():SCSession( id=100, this=0x0x7fae12105270 option=65538) created, forUID=0 mach_port_t=0x3a03.
2024-11-22 11:31:36.735386+0800 0xba4251   Info        0x0                  86065  0    WireGuardStatusbarHelper: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] SCSession():SCSession( id=101, this=0x0x7fae12105390 option=65538) created, forUID=0 mach_port_t=0x2e03.
2024-11-22 11:31:36.735395+0800 0xba4251   Info        0x0                  86065  0    WireGuardStatusbarHelper: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] connectToCoreServicesD():Instantiating server (coreservicesd based) SCSession, port=0x3a03 serverOptions=0x10002.
2024-11-22 11:31:36.736498+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading interface name for tunnel qlcd
2024-11-22 11:31:36.736808+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/qlcd.conf
2024-11-22 11:31:36.736909+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/qlcd.conf
2024-11-22 11:31:36.739308+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading interface name for tunnel grayscale
2024-11-22 11:31:36.739349+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/grayscale.conf
2024-11-22 11:31:36.739380+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/grayscale.conf
2024-11-22 11:31:36.739640+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading interface name for tunnel wgnas
2024-11-22 11:31:36.740082+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgnas.conf
2024-11-22 11:31:36.740117+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgnas.conf
2024-11-22 11:31:36.740246+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading interface name for tunnel wgcloud
2024-11-22 11:31:36.740277+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgcloud.conf
2024-11-22 11:31:36.740304+0800 0xba4251   Default     0x0                  86065  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgcloud.conf
2024-11-22 11:31:41.624940+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _updateToReflectAutomaticTerminationState(void) Setting _kLSApplicationWouldBeTerminatedByTALKey=1
2024-11-22 11:31:47.611951+0800 0xba424a   Default     0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:default] LSExceptions shared instance invalidated for timeout.
2024-11-22 11:31:56.334006+0800 0xba4246   Info        0x0                  86064  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] Removing cached information for app [ 0x0-0x2aa2aa]  "WireGuardStatusbar", as its seed is different from that in shared memory ( 528 vs 531)
2024-11-22 11:31:57.052566+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] context (0 -> 3e4a6da2) for window 18f6
2024-11-22 11:31:57.054672+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:57.068649+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:57.090737+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:57.091669+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] order window: 18f6 op: 1 relative: 0 related: 0
2024-11-22 11:31:57.092695+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] parent NSStatusBarWindow 0x7fcb2b709810 (18f1) add NSPopupMenuWindow 0x7fcb2c304750 (18f6) to group
2024-11-22 11:31:57.108901+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:57.232169+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:31:58.439698+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:32:02.350908+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] parent NSStatusBarWindow 0x7fcb2b709810 (18f1) remove NSPopupMenuWindow 0x7fcb2c304750 (18f6) from group
2024-11-22 11:32:02.351398+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] window NSPopupMenuWindow 18f6 finishing close
2024-11-22 11:32:02.352509+0800 0xba422d   Default     0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] order window: 18f6 op: 0 relative: 0 related: 0
2024-11-22 11:32:02.357024+0800 0xba422d   Activity    0x30bcdc             86064  0    WireGuardStatusbar: (AppKit) perform action for menu item
2024-11-22 11:32:02.359590+0800 0xba422d   Activity    0x30bcdd             86064  0    WireGuardStatusbar: (AppKit) sendAction:
2024-11-22 11:32:02.361884+0800 0xba422d   Info        0x0                  86064  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] context (3e4a6da2 -> 0) for window 18f6
2024-11-22 11:32:02.363121+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Set tunnel wgnas down
2024-11-22 11:32:02.363467+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Path '/opt/local//bin/wg-quick' for 'wg-quick' binary is invalid!
2024-11-22 11:32:02.363987+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Not watching '/etc/wireguard' as it does not exist
2024-11-22 11:32:02.364099+0800 0xba42f2   Default     0x30bcdd             86064  0    WireGuardStatusbar: (libswiftFoundation.dylib) setTunnel wgnas, to: false, success: false, error: Path '/opt/local//bin/wg-quick' for 'wg-quick' binary is invalid!
2024-11-22 11:32:02.364824+0800 0xba43c8   Default     0x30bcdd             86064  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013f8000] activating connection: mach=true listener=false peer=false name=com.apple.usernoted.client
2024-11-22 11:32:02.365076+0800 0xba42f2   Default     0x30bcdd             86064  0    WireGuardStatusbar: (libswiftFoundation.dylib) Updating tunnel configuration and runtime state.
2024-11-22 11:32:02.367137+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading interface name for tunnel qlcd
2024-11-22 11:32:02.367574+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/qlcd.conf
2024-11-22 11:32:02.367978+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/qlcd.conf
2024-11-22 11:32:02.369291+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading interface name for tunnel grayscale
2024-11-22 11:32:02.369541+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/grayscale.conf
2024-11-22 11:32:02.370199+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/grayscale.conf
2024-11-22 11:32:02.370899+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading interface name for tunnel wgnas
2024-11-22 11:32:02.371160+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgnas.conf
2024-11-22 11:32:02.371282+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgnas.conf
2024-11-22 11:32:02.371760+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading interface name for tunnel wgcloud
2024-11-22 11:32:02.372276+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgcloud.conf
2024-11-22 11:32:02.372417+0800 0xba4251   Default     0x30bcdd             86065  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgcloud.conf
2024-11-22 11:32:07.593968+0800 0xba4406   Info        0x0                  86064  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.libspindump.hid_response_statistics" as it isn't used in any transform (not in the config or budgeted?)

@rakuyoMo
Copy link
Author

rakuyoMo commented Nov 22, 2024

The above is the log after executing sudo defaults delete WireGuardStatusbarHelper wgquickBinPath (that is, the path is /opt/local//bin/wg-quick).

The following is the log after executing sudo defaults write WireGuardStatusbarHelper wgquickBinPath /opt/local/bin/wg-quick. It contains the same operations as above.

2024-11-22 11:40:44.045297+0800 0xba639d   Activity    0x30f6e0             86266  0    WireGuardStatusbar: (libsystem_info.dylib) Retrieve User by ID
2024-11-22 11:40:44.046934+0800 0xba639d   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b48000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon
2024-11-22 11:40:44.047252+0800 0xba639f   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b4c000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.agent
2024-11-22 11:40:44.048058+0800 0xba639d   Activity    0x30f6e1             86266  0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 11:40:44.049805+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b480f0] activating connection: mach=true listener=false peer=false name=com.apple.coreservices.launchservicesd
2024-11-22 11:40:44.050118+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] Registering for notification <private> on default queue, to re-boostrap client connection.
2024-11-22 11:40:44.050265+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b44000] activating connection: mach=true listener=false peer=false name=com.apple.pasteboard.1
2024-11-22 11:40:44.050600+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b4c0f0] activating connection: mach=true listener=false peer=false name=com.apple.distributed_notifications@Uv3
2024-11-22 11:40:44.052591+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _NSDisableAutomaticTerminationAndLog(NSString *) No windows open yet
2024-11-22 11:40:44.052796+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b4c1e0] activating connection: mach=true listener=false peer=false name=com.apple.analyticsd
2024-11-22 11:40:44.052892+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Daemon status changed from 0 to 1
2024-11-22 11:40:44.053425+0800 0xba638c   Activity    0x30f6e2             86266  0    WireGuardStatusbar: (TCC) TCCAccessRequest() IPC
2024-11-22 11:40:44.053468+0800 0xba638c   Default     0x30f6e2             86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b482d0] activating connection: mach=true listener=false peer=false name=com.apple.tccd.system
2024-11-22 11:40:44.053561+0800 0xba638c   Info        0x30f6e2             86266  0    WireGuardStatusbar: (TCC) [com.apple.TCC:access] SEND: 0/7 synchronous to com.apple.tccd.system: request: msgID=86266.1, function=TCCAccessRequest, service=kTCCServiceListenEvent,
2024-11-22 11:40:44.053871+0800 0xba639f   Default     0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Received configuration update from daemon (initial)
2024-11-22 11:40:44.055771+0800 0xba638c   Info        0x30f6e2             86266  0    WireGuardStatusbar: (TCC) [com.apple.TCC:access] RECV: synchronous reply <dictionary: 0x600001b40000> { count = 5, transaction: 0, voucher = 0x0, contents =
	"prompt_type" => <uint64: 0x4b47bbe912ec4405>: 1
	"auth_value" => <uint64: 0x4b47bbe912ec4405>: 1
	"preflight_unknown" => <bool: 0x7ff855afe660>: true
	"auth_version" => <uint64: 0x4b47bbe912ec4405>: 1
	"auth_reason" => <uint64: 0x4b47bbe912ec0405>: 5
}
2024-11-22 11:40:44.055821+0800 0xba638c   Default     0x30f6e2             86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b482d0] invalidated after the last release of the connection object
2024-11-22 11:40:44.059919+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (SkyLight) [com.apple.SkyLight:default] server port 0x00005007, session port 0x00005007
2024-11-22 11:40:44.063983+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (SkyLight) [com.apple.SkyLight:default] New connection 0x114b2b main
2024-11-22 11:40:44.063984+0800 0xba639d   Info        0x0                  86266  0    WireGuardStatusbar: (SkyLight) [com.apple.SkyLight:processes] 0[outside of RPC]: First connection id 1133355 mapped to ctx = 0x600000a4c300
2024-11-22 11:40:44.064635+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] SCSession():SCSession( id=100, this=0x0x7f7bb8906990 option=65538) created, forUID=501 mach_port_t=0x4603.
2024-11-22 11:40:44.064652+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] SCSession():SCSession( id=101, this=0x0x7f7bb8907ec0 option=65538) created, forUID=501 mach_port_t=0x4a07.
2024-11-22 11:40:44.064660+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] connectToCoreServicesD():Instantiating server (coreservicesd based) SCSession, port=0x4603 serverOptions=0x10002.
2024-11-22 11:40:44.065395+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (HIServices) [com.apple.hiservices:processmgr] Checking in with CAS, pid=86266
2024-11-22 11:40:44.065730+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] LSApplicationCheckIn(), app being registered is:"/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar"
2024-11-22 11:40:44.066647+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas]  { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBuild"="18B71", , "DTSDKName"="macosx10.14", , "DTXcode"="1010", , "DTXcodeBuild"="10B61", , "Flavor"=3, , "LSApplicationCategoryType"="public.app-category.utilities", , "LSArchitecture"="x86_64", , "LSBundlePath"="/Applications/WireGuardStatusbar.app", , "<…>
2024-11-22 11:40:44.066690+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.processmanager:front-35286506] CHECKIN: pid=86266
2024-11-22 11:40:44.068371+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.processmanager:front-35286506] CHECKEDIN: pid=86266 asn=0x0-0x2ab2ab foreground=0
2024-11-22 11:40:44.068399+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] Not setting processControlState because current application is not a foreground application.
2024-11-22 11:40:44.068826+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7f7ba7f044b0] activating connection: mach=false listener=true peer=false name=(anonymous)
2024-11-22 11:40:44.068842+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7f7ba7f044b0] Channel could not return listener port.
2024-11-22 11:40:44.069001+0800 0xba639f   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7f7bb8907c00] activating connection: mach=false listener=false peer=true name=com.apple.xpc.anonymous.0x7f7ba7f044b0.peer[420].0x7f7bb8907c00
2024-11-22 11:40:44.069264+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] FRONTLOGGING: version 1
2024-11-22 11:40:44.069276+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] Registered, pid=86266 ASN=0x0,0x2ab2ab
2024-11-22 11:40:44.069513+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.security.LegacyAPICounts" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:44.069677+0800 0xba639f   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7f7bb7f043d0] activating connection: mach=true listener=false peer=false name=com.apple.lsd.mapdb
2024-11-22 11:40:44.069799+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (HIServices) [com.apple.hiservices:processmgr] _RegisterApplication( pid 86266 => 0x0,0x2ab2ab) type=ui-element
2024-11-22 11:40:44.069818+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7f7ba7f044b0] Channel could not return listener port.
2024-11-22 11:40:44.069963+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] CFArrayRef _LSCopyLaunchModifiers(LSSessionID, LSASNRef _Nonnull), result for psn [ kLSCurrentApp ASN, 0x0,0x2]  is 1 items.
2024-11-22 11:40:44.069986+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] BringForward: pid=86266 asn=0x0-0x2ab2ab bringForward=0 foreground=0 uiElement=1 launchedByLS=1 modifiersCount=1 allDisabled=0
2024-11-22 11:40:44.070001+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] BringFrontModifier: pid=86266 asn=0x0-0x2ab2ab Modifier 0 hideAfter=0 hideOthers=0 dontMakeFrontmost=0 mouseDown=0/0 seed=0/0
2024-11-22 11:40:44.070663+0800 0xba639d   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2ab2ab with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:40:44.072666+0800 0xba639f   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:default] Unable to load Info.plist exceptions (eGPUOverrides)
2024-11-22 11:40:44.072685+0800 0xba639f   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:default] Unable to load Info.plist exceptions (gameModeOverrides)
2024-11-22 11:40:44.072692+0800 0xba639f   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:default] Unable to load Info.plist exceptions (identifiedGameOverrides)
2024-11-22 11:40:44.072698+0800 0xba639f   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:default] Unable to load Info.plist exceptions (SystemHiddenPreferred)
2024-11-22 11:40:44.076660+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] Current system appearance, (HLTB: 2), (SLS: 1)
2024-11-22 11:40:44.078351+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libMobileGestalt.dylib) No persisted cache on this platform.
2024-11-22 11:40:44.079841+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libMobileGestalt.dylib) Failed to copy the SysCfgDict MG key with error: 0
2024-11-22 11:40:44.080522+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] Current system appearance, (HLTB: 2), (SLS: 1)
2024-11-22 11:40:44.081166+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] Post-registration system appearance: (HLTB: 2)
2024-11-22 11:40:44.082639+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7f7ba7f044b0] Channel could not return listener port.
2024-11-22 11:40:44.082817+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2ab2ab with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:40:44.084706+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7f7ba7f044b0] Channel could not return listener port.
2024-11-22 11:40:44.096140+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:44.101850+0800 0xba638c   Activity    0x30f6e3             86266  0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 11:40:44.102053+0800 0xba638c   Activity    0x30f6e4             86266  0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 11:40:44.105942+0800 0xba638c   Activity    0x30f6e5             86266  0    WireGuardStatusbar: (libsystem_info.dylib) Membership API: translate identifier
2024-11-22 11:40:44.109622+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] context (0 -> 8acdc8d3) for window 1924
2024-11-22 11:40:44.109959+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 0
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x600000a41480
 (
    "<NSDarkAquaAppearance: 0x600000a41500>",
    "<NSSystemAppearance: 0x600000a4a280>"
)>
2024-11-22 11:40:44.115414+0800 0xba639d   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b40000] activating connection: mach=true listener=false peer=false name=com.apple.dock.fullscreen
2024-11-22 11:40:44.115657+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:44.116228+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x60000184bb00] activating connection: mach=true listener=false peer=false name=com.apple.fonts
2024-11-22 11:40:44.119031+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2ab2ab with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:40:44.119628+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:44.119794+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Intelligence] starting collection observation
2024-11-22 11:40:44.119974+0800 0xba639d   Default     0x0                  86266  0    WireGuardStatusbar: (UIIntelligenceSupport) [com.apple.UIIntelligenceSupport:xpc] establishing connection to agent
2024-11-22 11:40:44.120011+0800 0xba639d   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:session] [0x600000746850] Session created.
2024-11-22 11:40:44.120041+0800 0xba639d   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:session] [0x600000746850] Session created from connection [0x600001b483c0]
2024-11-22 11:40:44.120102+0800 0xba639d   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b483c0] activating connection: mach=true listener=false peer=false name=com.apple.uiintelligencesupport.agent
2024-11-22 11:40:44.120152+0800 0xba639d   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:session] [0x600000746850] Session activated
2024-11-22 11:40:44.128856+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] context (0 -> 90715533) for window 1925
2024-11-22 11:40:44.131098+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:44.135074+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] Registering for test daemon availability notify post.
2024-11-22 11:40:44.135195+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] notify_get_state check indicated test daemon not ready.
2024-11-22 11:40:44.135281+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] notify_get_state check indicated test daemon not ready.
2024-11-22 11:40:44.135343+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] notify_get_state check indicated test daemon not ready.
2024-11-22 11:40:44.135538+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2ab2ab with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:40:44.135966+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2ab2ab with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:40:44.135996+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b401e0] activating connection: mach=true listener=false peer=false name=com.apple.coreservices.appleevents
2024-11-22 11:40:44.136267+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] _AEGetRegisteredMachPort() created default port (port:35843/0x8c03 rcv:1 send:1 limit:5) and registered it with server
2024-11-22 11:40:44.136299+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7f7ba7f044b0] Channel could not return listener port.
2024-11-22 11:40:44.136430+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2ab2ab with seed 526 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=526, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:40:44.136472+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] SignalReady: pid=86266 asn=0x0-0x2ab2ab
2024-11-22 11:40:44.136655+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.processmanager:front-35286506] SIGNAL: pid=86266 asn=0x0x-0x2ab2ab
2024-11-22 11:40:44.136678+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] Supressing the creation of a 'oapp' event because the server told us to (likely because the aeHintApp() said an event was following.
2024-11-22 11:40:44.136691+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] Removing cached information for app [ 0x0-0x2ab2ab]  "WireGuardStatusbar", as its seed is different from that in shared memory ( 526 vs 528)
2024-11-22 11:40:44.136849+0800 0xba639d   Info        0x0                  86266  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] eEntitlements, for pid 793 sandboxed=NO entitlements={ "com.apple.coreservices.appleeven...llowedtooverridesenderaudittoken"=true }
2024-11-22 11:40:44.136960+0800 0xba639d   Info        0x0                  86266  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] eEntitlements, token 793/1924, designatedCodeReq = { "kTCCCodeIdentityAuditToken"=$F5010000F501000014000000F50100001400000019030000AB86010084070000, "kTCCCodeIdentityAuthority"="kTCCCodeIdentityDesignatedRequirementAuthority", "kTCCCodeIdentityCanSendToAnyTarget"=true, "kTCCCodeIdentityCSFlags"=637631233, "kTCCCodeIdentityDesignatedRequirementData"=$FADE0C000000003C0000000100000006000000020000001E636F6D2E6170706C652E636F726573657276696365732E75696167656E74000000000003, "kTCCCodeIdentityExecutableURL"="file:///System/Library/CoreServi...ntents/MacOS/CoreServicesUIAgent", "kTCCCodeIdentityIdentifier"="com.apple.coreservices.uiagent", "kTCCCodeIdentityIdentifierType"=0, "kTCCCodeIdentityPlatformType"=1, "kTCCCodeIdentityPromptPolicy"=3, "kTCCCodeIdentitySDKVersion"=983296, "kTCCCodeIdentityTeamID"="" }
2024-11-22 11:40:44.137029+0800 0xba639d   Info        0x0                  86266  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] eEntitlements, token 1059/2705, designatedCodeReq = { "kTCCCodeIdentityAuditToken"=$F5010000F501000014000000F50100001400000023040000AB860100910A0000, "kTCCCodeIdentityAuthority"="kTCCCodeIdentityDesignatedRequirementAuthority", "kTCCCodeIdentityCanSendToAnyTarget"=true, "kTCCCodeIdentityCSFlags"=637631233, "kTCCCodeIdentityDesignatedRequirementData"=$FADE0C000000002C0000000100000006000000020000000E636F6D2E6170706C652E646F636B000000000003, "kTCCCodeIdentityExecutableURL"="file:///System/Library/CoreServices/Dock.app/Contents/MacOS/Dock", "kTCCCodeIdentityIdentifier"="com.apple.dock", "kTCCCodeIdentityIdentifierType"=0, "kTCCCodeIdentityPlatformType"=1, "kTCCCodeIdentityPromptPolicy"=3, "kTCCCodeIdentitySDKVersion"=983296, "kTCCCodeIdentityTeamID"="" }
2024-11-22 11:40:44.137117+0800 0xba639d   Info        0x0                  86266  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] findOrCreateCacheable():findOrCreateCacheable(), factoryName=3 cacheableName=<private> fCacheables.size()=0
2024-11-22 11:40:44.137164+0800 0xba639d   Info        0x0                  86266  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] findOrCreateCacheable():findOrCreateCacheable(), result = 0x60000316f980 (should be non-NULL)
2024-11-22 11:40:44.137239+0800 0xba639d   Info        0x0                  86266  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] Using over-ridden token [sess=100011 pid=1059 uid:501,501,501 g:20,20 pV:2705] from BundleDescriptor header, because sender is entitled, for aevt/oapp.
2024-11-22 11:40:44.143627+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('DefaultAsciiKeyboardLayoutPasteboard' (<CFUUID 0x600002465080> 923DCF1E-FABA-48AC-90C0-3A84C0751C6A) gen: -1 item: 1264739405 flavor: 'DefaultAsciiKeyboardLayoutFlavor')
2024-11-22 11:40:44.143655+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:cache] Rebuilding cache for 'DefaultAsciiKeyboardLayoutPasteboard' (<CFUUID 0x600002465080> 923DCF1E-FABA-48AC-90C0-3A84C0751C6A)
2024-11-22 11:40:44.143706+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: -8 generation: 0 null data flags: 0
2024-11-22 11:40:44.143784+0800 0xba638c   Activity    0x30f6e6             86266  0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 11:40:44.143930+0800 0xba638c   Activity    0x30f6e7             86266  0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From System CFPrefsD
2024-11-22 11:40:44.145189+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x60000245af00> C59D8E2D-DD50-4E2E-AD4E-D1C880E6360D) gen: -1 item: 1 flavor: '-32766 1768845414')
2024-11-22 11:40:44.145206+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:cache] Rebuilding cache for 'AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x60000245af00> C59D8E2D-DD50-4E2E-AD4E-D1C880E6360D)
2024-11-22 11:40:44.145298+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:40:44.145644+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (310 bytes) flags: 0
2024-11-22 11:40:44.145669+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x60000245af00> C59D8E2D-DD50-4E2E-AD4E-D1C880E6360D) gen: -1 item: 1 flavor: '-32765 1802264953')
2024-11-22 11:40:44.145697+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:40:44.145760+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (306 bytes) flags: 0
2024-11-22 11:40:44.145775+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x60000245af00> C59D8E2D-DD50-4E2E-AD4E-D1C880E6360D) gen: -1 item: 1 flavor: '-32764 1802264953')
2024-11-22 11:40:44.145782+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:40:44.145867+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (281 bytes) flags: 0
2024-11-22 11:40:44.145891+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x60000245af00> C59D8E2D-DD50-4E2E-AD4E-D1C880E6360D) gen: -1 item: 1 flavor: '-32763 1802264953')
2024-11-22 11:40:44.145901+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:40:44.145961+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (319 bytes) flags: 0
2024-11-22 11:40:44.146157+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x60000245af00> C59D8E2D-DD50-4E2E-AD4E-D1C880E6360D) gen: -1 item: 1 flavor: '-32765 1768845414')
2024-11-22 11:40:44.146169+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:40:44.146233+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (303 bytes) flags: 0
2024-11-22 11:40:44.146250+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleIntlFileCacheModificationDatePasteboard' (<CFUUID 0x60000245af00> C59D8E2D-DD50-4E2E-AD4E-D1C880E6360D) gen: -1 item: 1 flavor: '-32763 1768845414')
2024-11-22 11:40:44.146259+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:40:44.146306+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 2 data (316 bytes) flags: 0
2024-11-22 11:40:44.151888+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (AE) [com.apple.appleevents:main] Using over-ridden token [sess=100011 pid=1059 uid:501,501,501 g:20,20 pV:2705] from BundleDescriptor header, because sender is entitled, for aevt/oapp.
2024-11-22 11:40:44.152206+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (AE) [com.apple.appleevents:receive] RECEIVED:(aevt,oapp) {aevt,oapp target=程序坞  returnID=-16934}...
2024-11-22 11:40:44.152489+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CarbonCore) [com.apple.CarbonCore:flippers] FLIPPERS: Flip aevt/long/0 data=0x600003109db4/4 currentlyNative=YES
2024-11-22 11:40:44.152511+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _NSDisableAutomaticTerminationAndLog(NSString *) Restoring windows
2024-11-22 11:40:44.152524+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b485a0] activating connection: mach=true listener=false peer=false name=com.apple.window_proxies
2024-11-22 11:40:44.152582+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b485a0] invalidated because the current process cancelled the connection by calling xpc_connection_cancel()
2024-11-22 11:40:44.153124+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:44.153143+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _NSEnableAutomaticTerminationAndLog(NSString *) Restoring windows
2024-11-22 11:40:44.154611+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:44.154765+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:44.155834+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:44.156574+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:44.160987+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7f7ba7f0dcb0] activating connection: mach=true listener=false peer=false name=WireGuardStatusbarHelper
2024-11-22 11:40:44.161291+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libswiftFoundation.dylib) XPC Connection established
2024-11-22 11:40:44.161470+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (libswiftFoundation.dylib) Helper: Bundle Version => 35
2024-11-22 11:40:44.162108+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2ab2ab with seed 528 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=528, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:40:44.162443+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2ab2ab with seed 528 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=528, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:40:44.166550+0800 0xba639d   Default     0x0                  86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7f7bb7f0f6e0] activating connection: mach=true listener=false peer=false name=com.apple.windowmanager.server
2024-11-22 11:40:44.167712+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] information in shared memory for 0x0-0x2ab2ab with seed 528 was still valid, so using cached info { "ApplicationType"="UIElement", , "BuildMachineOSBuild"="18A391", , "BundleIdentifierLowerCase"="wireguardstatusbar", , "CFBundleDevelopmentRegion"="en", , "CFBundleExecutable"="WireGuardStatusbar", , "CFBundleExecutablePath"="/Applications/WireGuardStatusbar.app/Contents/MacOS/WireGuardStatusbar", , "CFBundleExecutablePathDeviceID"=16777231, , "CFBundleExecutablePathINode"=2216756, , "CFBundleIconFile"="AppIcon", , "CFBundleIconName"="AppIcon", , "CFBundleIdentifier"="WireGuardStatusbar", , "CFBundleInfoDictionaryVersion"="6.0", , "CFBundleName"="WireGuardStatusbar", , "CFBundleNameLowerCase"="wireguardstatusbar", , "CFBundleNumericVersion"=0, , "CFBundlePackageType"="APPL", , "CFBundleShortVersionString"="1.24", , "CFBundleSignature"="????", , "CFBundleSupportedPlatforms"=( "MacOSX"), , "CFBundleVersion"="131", , "CanBecomeFrontmost"=true, , "ChangeCount"=528, , "DTCompiler"="com.apple.compilers.llvm.clang.1_0", , "DTPlatformBuild"="10B61", , "DTPlatformVersion"="GM", , "DTSDKBui<…>
2024-11-22 11:40:44.173340+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:44.217259+0800 0xba63b1   Activity    0x30f7c0             86267  0    WireGuardStatusbarHelper: (libsystem_info.dylib) Retrieve User by ID
2024-11-22 11:40:44.219278+0800 0xba63b1   Default     0x0                  86267  0    WireGuardStatusbarHelper: (libxpc.dylib) [com.apple.xpc:connection] [0x600000950000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon
2024-11-22 11:40:44.220608+0800 0xba63b1   Default     0x0                  86267  0    WireGuardStatusbarHelper: Overriding 'brewPrefix' with: /opt/local/
2024-11-22 11:40:44.220878+0800 0xba63b1   Default     0x0                  86267  0    WireGuardStatusbarHelper: Overriding 'wgquickBinPath' with: /opt/local/bin/wg-quick
2024-11-22 11:40:44.222172+0800 0xba63b1   Default     0x0                  86267  0    WireGuardStatusbarHelper: (libxpc.dylib) [com.apple.xpc:connection] [0x7fe2c5a053c0] activating connection: mach=true listener=true peer=false name=WireGuardStatusbarHelper
2024-11-22 11:40:44.222337+0800 0xba63b1   Default     0x0                  86267  0    WireGuardStatusbarHelper: Not watching '/etc/wireguard' as it does not exist
2024-11-22 11:40:44.222388+0800 0xba63b1   Default     0x0                  86267  0    WireGuardStatusbarHelper: Watching /usr/local/etc/wireguard for changes
2024-11-22 11:40:44.222511+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Client connected
2024-11-22 11:40:44.222516+0800 0xba63b1   Default     0x0                  86267  0    WireGuardStatusbarHelper: Watching /var/run/wireguard for changes
2024-11-22 11:40:44.222614+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: (libxpc.dylib) [com.apple.xpc:connection] [0x7fe2c5a054d0] activating connection: mach=false listener=false peer=true name=WireGuardStatusbarHelper.peer[86266].0x7fe2c5a054d0
2024-11-22 11:40:44.223267+0800 0xba63b6   Default     0x0                  86266  0    WireGuardStatusbar: (libswiftFoundation.dylib) Helper: Installed Version => 35
2024-11-22 11:40:44.223351+0800 0xba63b6   Default     0x0                  86266  0    WireGuardStatusbar: (libswiftFoundation.dylib) Updating tunnel configuration and runtime state.
2024-11-22 11:40:44.224236+0800 0xba63ba   Info        0x0                  86267  0    WireGuardStatusbarHelper: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] SCSession():SCSession( id=100, this=0x0x7fe2c4f04290 option=65538) created, forUID=0 mach_port_t=0x2e03.
2024-11-22 11:40:44.224257+0800 0xba63ba   Info        0x0                  86267  0    WireGuardStatusbarHelper: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] SCSession():SCSession( id=101, this=0x0x7fe2c4f043b0 option=65538) created, forUID=0 mach_port_t=0x2d03.
2024-11-22 11:40:44.224266+0800 0xba63ba   Info        0x0                  86267  0    WireGuardStatusbarHelper: (CarbonCore) [com.apple.CarbonCore:coreservicesdaemon] connectToCoreServicesD():Instantiating server (coreservicesd based) SCSession, port=0x2e03 serverOptions=0x10002.
2024-11-22 11:40:44.225749+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading interface name for tunnel qlcd
2024-11-22 11:40:44.226022+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/qlcd.conf
2024-11-22 11:40:44.226120+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/qlcd.conf
2024-11-22 11:40:44.228456+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading interface name for tunnel grayscale
2024-11-22 11:40:44.228495+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/grayscale.conf
2024-11-22 11:40:44.228526+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/grayscale.conf
2024-11-22 11:40:44.228801+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading interface name for tunnel wgnas
2024-11-22 11:40:44.229217+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgnas.conf
2024-11-22 11:40:44.229249+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgnas.conf
2024-11-22 11:40:44.229397+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading interface name for tunnel wgcloud
2024-11-22 11:40:44.229430+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgcloud.conf
2024-11-22 11:40:44.229457+0800 0xba63ba   Default     0x0                  86267  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgcloud.conf
2024-11-22 11:40:49.112358+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _updateToReflectAutomaticTerminationState(void) Setting _kLSApplicationWouldBeTerminatedByTALKey=1
2024-11-22 11:40:50.513374+0800 0xba63b0   Info        0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:cas] Removing cached information for app [ 0x0-0x2ab2ab]  "WireGuardStatusbar", as its seed is different from that in shared memory ( 528 vs 531)
2024-11-22 11:40:55.095645+0800 0xba639d   Default     0x0                  86266  0    WireGuardStatusbar: (LaunchServices) [com.apple.launchservices:default] LSExceptions shared instance invalidated for timeout.
2024-11-22 11:40:57.434957+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] context (0 -> f6dcd910) for window 1926
2024-11-22 11:40:57.436888+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:57.446571+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:57.453588+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('AppleKeyboardLayoutOverridePasteboard' (<CFUUID 0x600002470c60> C880F56F-F72A-44EB-8564-B539B7A6BDD8) gen: -1 item: 1264739405 flavor: 'AppleKeyboardLayoutOverrideFlavor')
2024-11-22 11:40:57.453666+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:cache] Rebuilding cache for 'AppleKeyboardLayoutOverridePasteboard' (<CFUUID 0x600002470c60> C880F56F-F72A-44EB-8564-B539B7A6BDD8)
2024-11-22 11:40:57.453814+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:general] Will request data from daemon
2024-11-22 11:40:57.454049+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: 0 generation: 4245 data (255 bytes) flags: 0
2024-11-22 11:40:57.454205+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:entry] CopyData('DefaultAsciiKeyboardLayoutPasteboard' (<CFUUID 0x600002465080> 923DCF1E-FABA-48AC-90C0-3A84C0751C6A) gen: -1 item: 1264739405 flavor: 'DefaultAsciiKeyboardLayoutFlavor')
2024-11-22 11:40:57.454225+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreFoundation) [com.apple.CFPasteboard:exit] (not-in-cache) - result: -8 generation: 0 null data flags: 0
2024-11-22 11:40:57.473897+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:57.475092+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] order window: 1926 op: 1 relative: 0 related: 0
2024-11-22 11:40:57.476443+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] parent NSStatusBarWindow 0x7f7bb88202f0 (1924) add NSPopupMenuWindow 0x7f7b70104280 (1926) to group
2024-11-22 11:40:57.492249+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:57.616512+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:40:58.017240+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.appkit.app_config" as it isn't used in any transform (not in the config or budgeted?)
2024-11-22 11:41:01.711737+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] parent NSStatusBarWindow 0x7f7bb88202f0 (1924) remove NSPopupMenuWindow 0x7f7b70104280 (1926) from group
2024-11-22 11:41:01.712192+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] window NSPopupMenuWindow 1926 finishing close
2024-11-22 11:41:01.713223+0800 0xba638c   Default     0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] order window: 1926 op: 0 relative: 0 related: 0
2024-11-22 11:41:01.717626+0800 0xba638c   Activity    0x30f87c             86266  0    WireGuardStatusbar: (AppKit) perform action for menu item
2024-11-22 11:41:01.720247+0800 0xba638c   Activity    0x30f87d             86266  0    WireGuardStatusbar: (AppKit) sendAction:
2024-11-22 11:41:01.722367+0800 0xba638c   Info        0x0                  86266  0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] context (f6dcd910 -> 0) for window 1926
2024-11-22 11:41:01.723522+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Set tunnel wgnas down
2024-11-22 11:41:01.723865+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Path '/opt/local/bin/wg-quick' for 'wg-quick' binary is invalid!
2024-11-22 11:41:01.724339+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Not watching '/etc/wireguard' as it does not exist
2024-11-22 11:41:01.724505+0800 0xba6419   Default     0x30f87d             86266  0    WireGuardStatusbar: (libswiftFoundation.dylib) setTunnel wgnas, to: false, success: false, error: Path '/opt/local/bin/wg-quick' for 'wg-quick' binary is invalid!
2024-11-22 11:41:01.725248+0800 0xba6429   Default     0x30f87d             86266  0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x600001b50000] activating connection: mach=true listener=false peer=false name=com.apple.usernoted.client
2024-11-22 11:41:01.725533+0800 0xba6419   Default     0x30f87d             86266  0    WireGuardStatusbar: (libswiftFoundation.dylib) Updating tunnel configuration and runtime state.
2024-11-22 11:41:01.728262+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading interface name for tunnel qlcd
2024-11-22 11:41:01.728854+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/qlcd.conf
2024-11-22 11:41:01.729977+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/qlcd.conf
2024-11-22 11:41:01.731027+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading interface name for tunnel grayscale
2024-11-22 11:41:01.731234+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/grayscale.conf
2024-11-22 11:41:01.731366+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/grayscale.conf
2024-11-22 11:41:01.731866+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading interface name for tunnel wgnas
2024-11-22 11:41:01.732207+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgnas.conf
2024-11-22 11:41:01.732366+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgnas.conf
2024-11-22 11:41:01.732927+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading interface name for tunnel wgcloud
2024-11-22 11:41:01.733145+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgcloud.conf
2024-11-22 11:41:01.733254+0800 0xba63ba   Default     0x30f87d             86267  0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgcloud.conf
2024-11-22 11:41:07.971580+0800 0xba648a   Info        0x0                  86266  0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Dropping "com.apple.libspindump.hid_response_statistics" as it isn't used in any transform (not in the config or budgeted?)

@aequitas
Copy link
Owner

I think the brewPrefix is also still set, can you delete that as well by deleting all settings: sudo defaults delete WireGuardStatusbarHelper

@rakuyoMo
Copy link
Author

rakuyoMo commented Nov 22, 2024

I think the brewPrefix is also still set, can you delete that as well by deleting all settings: sudo defaults delete WireGuardStatusbarHelper

OK, now the error is restored to the bash version problem: wg-quick: Version mismatch: bash 3 detected, when bash 4+ required. Log:

~ log stream --predicate 'process BEGINSWITH "WireGuardStatusbar"'
Filtering the log data using "process BEGINSWITH "WireGuardStatusbar""
Timestamp                       Thread     Type        Activity             PID    TTL
2024-11-22 16:21:52.168109+0800 0xc9cc5f   Activity    0x491370             2170   0    WireGuardStatusbar: (libsystem_info.dylib) Retrieve User by ID
2024-11-22 16:21:52.170077+0800 0xc9cc5f   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010e8000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon
2024-11-22 16:21:52.170412+0800 0xc9cc60   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010ec000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.agent
2024-11-22 16:21:52.171252+0800 0xc9cc5f   Activity    0x491371             2170   0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 16:21:52.173507+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010ec0f0] activating connection: mach=true listener=false peer=false name=com.apple.coreservices.launchservicesd
2024-11-22 16:21:52.173972+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010e0000] activating connection: mach=true listener=false peer=false name=com.apple.pasteboard.1
2024-11-22 16:21:52.174435+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010e00f0] activating connection: mach=true listener=false peer=false name=com.apple.distributed_notifications@Uv3
2024-11-22 16:21:52.176281+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _NSDisableAutomaticTerminationAndLog(NSString *) No windows open yet
2024-11-22 16:21:52.176586+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010e80f0] activating connection: mach=true listener=false peer=false name=com.apple.analyticsd
2024-11-22 16:21:52.177393+0800 0xc9cc56   Activity    0x491372             2170   0    WireGuardStatusbar: (TCC) TCCAccessRequest() IPC
2024-11-22 16:21:52.177450+0800 0xc9cc56   Default     0x491372             2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010e82d0] activating connection: mach=true listener=false peer=false name=com.apple.tccd.system
2024-11-22 16:21:52.178575+0800 0xc9cc60   Default     0x0                  2170   0    WireGuardStatusbar: (CoreAnalytics) [com.apple.CoreAnalytics:client] Received configuration update from daemon (initial)
2024-11-22 16:21:52.180296+0800 0xc9cc56   Default     0x491372             2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010e82d0] invalidated after the last release of the connection object
2024-11-22 16:21:52.180527+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (SkyLight) [com.apple.SkyLight:default] server port 0x00005207, session port 0x00005207
2024-11-22 16:21:52.183911+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (SkyLight) [com.apple.SkyLight:default] New connection 0x16b55b main
2024-11-22 16:21:52.186370+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (LaunchServices) [com.apple.processmanager:front-35286506] CHECKIN: pid=2170
2024-11-22 16:21:52.188132+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (LaunchServices) [com.apple.processmanager:front-35286506] CHECKEDIN: pid=2170 asn=0x0-0x4db4db foreground=0
2024-11-22 16:21:52.188590+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7ff4359054a0] activating connection: mach=false listener=true peer=false name=(anonymous)
2024-11-22 16:21:52.188607+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7ff4359054a0] Channel could not return listener port.
2024-11-22 16:21:52.188810+0800 0xc9cc5f   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7ff414f04080] activating connection: mach=false listener=false peer=true name=com.apple.xpc.anonymous.0x7ff4359054a0.peer[420].0x7ff414f04080
2024-11-22 16:21:52.189046+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] FRONTLOGGING: version 1
2024-11-22 16:21:52.189058+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] Registered, pid=2170 ASN=0x0,0x4db4db
2024-11-22 16:21:52.189444+0800 0xc9cc5f   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7ff435904100] activating connection: mach=true listener=false peer=false name=com.apple.lsd.mapdb
2024-11-22 16:21:52.189625+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7ff4359054a0] Channel could not return listener port.
2024-11-22 16:21:52.189785+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] BringForward: pid=2170 asn=0x0-0x4db4db bringForward=0 foreground=0 uiElement=1 launchedByLS=1 modifiersCount=1 allDisabled=0
2024-11-22 16:21:52.189806+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] BringFrontModifier: pid=2170 asn=0x0-0x4db4db Modifier 0 hideAfter=0 hideOthers=0 dontMakeFrontmost=0 mouseDown=0/0 seed=0/0
2024-11-22 16:21:52.190273+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] Current system appearance, (HLTB: 2), (SLS: 1)
2024-11-22 16:21:52.191778+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libMobileGestalt.dylib) No persisted cache on this platform.
2024-11-22 16:21:52.193316+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libMobileGestalt.dylib) Failed to copy the SysCfgDict MG key with error: 0
2024-11-22 16:21:52.197455+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] Current system appearance, (HLTB: 2), (SLS: 1)
2024-11-22 16:21:52.198271+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] Post-registration system appearance: (HLTB: 2)
2024-11-22 16:21:52.199720+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7ff4359054a0] Channel could not return listener port.
2024-11-22 16:21:52.201780+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7ff4359054a0] Channel could not return listener port.
2024-11-22 16:21:52.217468+0800 0xc9cc56   Activity    0x491373             2170   0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 16:21:52.217671+0800 0xc9cc56   Activity    0x491374             2170   0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 16:21:52.221400+0800 0xc9cc56   Activity    0x491375             2170   0    WireGuardStatusbar: (libsystem_info.dylib) Membership API: translate identifier
2024-11-22 16:21:52.224263+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Appearance] NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 0
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x6000001e5400
 (
    "<NSDarkAquaAppearance: 0x6000001e5380>",
    "<NSSystemAppearance: 0x6000001e9480>"
)>
2024-11-22 16:21:52.233032+0800 0xc9cc5f   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010ec3c0] activating connection: mach=true listener=false peer=false name=com.apple.dock.fullscreen
2024-11-22 16:21:52.233721+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000013e4d00] activating connection: mach=true listener=false peer=false name=com.apple.fonts
2024-11-22 16:21:52.237115+0800 0xc9cc5f   Default     0x0                  2170   0    WireGuardStatusbar: (UIIntelligenceSupport) [com.apple.UIIntelligenceSupport:xpc] establishing connection to agent
2024-11-22 16:21:52.237157+0800 0xc9cc5f   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:session] [0x600000cea760] Session created.
2024-11-22 16:21:52.237166+0800 0xc9cc5f   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:session] [0x600000cea760] Session created from connection [0x6000010ec4b0]
2024-11-22 16:21:52.237217+0800 0xc9cc5f   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010ec4b0] activating connection: mach=true listener=false peer=false name=com.apple.uiintelligencesupport.agent
2024-11-22 16:21:52.237268+0800 0xc9cc5f   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:session] [0x600000cea760] Session activated
2024-11-22 16:21:52.245333+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] Registering for test daemon availability notify post.
2024-11-22 16:21:52.245484+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] notify_get_state check indicated test daemon not ready.
2024-11-22 16:21:52.245563+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] notify_get_state check indicated test daemon not ready.
2024-11-22 16:21:52.245621+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (XCTTargetBootstrap) [com.apple.dt.xctest:Default] notify_get_state check indicated test daemon not ready.
2024-11-22 16:21:52.247621+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010ec690] activating connection: mach=true listener=false peer=false name=com.apple.coreservices.appleevents
2024-11-22 16:21:52.247945+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7ff4359054a0] Channel could not return listener port.
2024-11-22 16:21:52.248127+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (HIServices) [com.apple.processmanager:front-35286506] SignalReady: pid=2170 asn=0x0-0x4db4db
2024-11-22 16:21:52.248327+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (LaunchServices) [com.apple.processmanager:front-35286506] SIGNAL: pid=2170 asn=0x0x-0x4db4db
2024-11-22 16:21:52.249163+0800 0xc9cc56   Activity    0x491376             2170   0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From User CFPrefsD
2024-11-22 16:21:52.249299+0800 0xc9cc56   Activity    0x491377             2170   0    WireGuardStatusbar: (CoreFoundation) Loading Preferences From System CFPrefsD
2024-11-22 16:21:52.256268+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _NSDisableAutomaticTerminationAndLog(NSString *) Restoring windows
2024-11-22 16:21:52.256293+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010e8690] activating connection: mach=true listener=false peer=false name=com.apple.window_proxies
2024-11-22 16:21:52.256357+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010e8690] invalidated because the current process cancelled the connection by calling xpc_connection_cancel()
2024-11-22 16:21:52.256996+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _NSEnableAutomaticTerminationAndLog(NSString *) Restoring windows
2024-11-22 16:21:52.266839+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7ff414f14b10] activating connection: mach=true listener=false peer=false name=WireGuardStatusbarHelper
2024-11-22 16:21:52.267140+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libswiftFoundation.dylib) XPC Connection established
2024-11-22 16:21:52.267298+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (libswiftFoundation.dylib) Helper: Bundle Version => 35
2024-11-22 16:21:52.272485+0800 0xc9cc61   Default     0x0                  2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x7ff435907b40] activating connection: mach=true listener=false peer=false name=com.apple.windowmanager.server
2024-11-22 16:21:52.329408+0800 0xc9cc65   Activity    0x491440             2171   0    WireGuardStatusbarHelper: (libsystem_info.dylib) Retrieve User by ID
2024-11-22 16:21:52.331288+0800 0xc9cc65   Default     0x0                  2171   0    WireGuardStatusbarHelper: (libxpc.dylib) [com.apple.xpc:connection] [0x6000012e8000] activating connection: mach=true listener=false peer=false name=com.apple.cfprefsd.daemon
2024-11-22 16:21:52.333884+0800 0xc9cc65   Default     0x0                  2171   0    WireGuardStatusbarHelper: (libxpc.dylib) [com.apple.xpc:connection] [0x7fa5479051a0] activating connection: mach=true listener=true peer=false name=WireGuardStatusbarHelper
2024-11-22 16:21:52.334182+0800 0xc9cc65   Default     0x0                  2171   0    WireGuardStatusbarHelper: Not watching '/etc/wireguard' as it does not exist
2024-11-22 16:21:52.334333+0800 0xc9cc6d   Default     0x0                  2171   0    WireGuardStatusbarHelper: Client connected
2024-11-22 16:21:52.334450+0800 0xc9cc65   Default     0x0                  2171   0    WireGuardStatusbarHelper: Watching /usr/local/etc/wireguard for changes
2024-11-22 16:21:52.334570+0800 0xc9cc6d   Default     0x0                  2171   0    WireGuardStatusbarHelper: (libxpc.dylib) [com.apple.xpc:connection] [0x7fa547804810] activating connection: mach=false listener=false peer=true name=WireGuardStatusbarHelper.peer[2170].0x7fa547804810
2024-11-22 16:21:52.334585+0800 0xc9cc65   Default     0x0                  2171   0    WireGuardStatusbarHelper: Watching /var/run/wireguard for changes
2024-11-22 16:21:52.335299+0800 0xc9cc6a   Default     0x0                  2170   0    WireGuardStatusbar: (libswiftFoundation.dylib) Helper: Installed Version => 35
2024-11-22 16:21:52.335393+0800 0xc9cc6a   Default     0x0                  2170   0    WireGuardStatusbar: (libswiftFoundation.dylib) Updating tunnel configuration and runtime state.
2024-11-22 16:21:52.337191+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading interface name for tunnel qlcd
2024-11-22 16:21:52.337342+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/qlcd.conf
2024-11-22 16:21:52.337451+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/qlcd.conf
2024-11-22 16:21:52.340055+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading interface name for tunnel grayscale
2024-11-22 16:21:52.340122+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/grayscale.conf
2024-11-22 16:21:52.340162+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/grayscale.conf
2024-11-22 16:21:52.340288+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading interface name for tunnel wgnas
2024-11-22 16:21:52.340353+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgnas.conf
2024-11-22 16:21:52.340387+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgnas.conf
2024-11-22 16:21:52.340467+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading interface name for tunnel wgcloud
2024-11-22 16:21:52.340501+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgcloud.conf
2024-11-22 16:21:52.340530+0800 0xc9cc6f   Default     0x0                  2171   0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgcloud.conf
2024-11-22 16:21:53.939147+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] order window: 2854 op: 1 relative: 0 related: 0
2024-11-22 16:21:53.940145+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] parent NSStatusBarWindow 0x7ff4358227f0 (2852) add NSPopupMenuWindow 0x7ff435b04320 (2854) to group
2024-11-22 16:21:56.084696+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] parent NSStatusBarWindow 0x7ff4358227f0 (2852) remove NSPopupMenuWindow 0x7ff435b04320 (2854) from group
2024-11-22 16:21:56.085188+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] window NSPopupMenuWindow 2854 finishing close
2024-11-22 16:21:56.086199+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:Window] order window: 2854 op: 0 relative: 0 related: 0
2024-11-22 16:21:56.091337+0800 0xc9cc56   Activity    0x49149c             2170   0    WireGuardStatusbar: (AppKit) perform action for menu item
2024-11-22 16:21:56.093849+0800 0xc9cc56   Activity    0x49149d             2170   0    WireGuardStatusbar: (AppKit) sendAction:
2024-11-22 16:21:56.096603+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Set tunnel wgnas down
2024-11-22 16:21:56.158005+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Exit code: 1
2024-11-22 16:21:56.158416+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Exit code: 1
2024-11-22 16:21:56.158503+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: wg-quick: Version mismatch: bash 3 detected, when bash 4+ required
2024-11-22 16:21:56.158715+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Not watching '/etc/wireguard' as it does not exist
2024-11-22 16:21:56.158832+0800 0xc9cc6a   Default     0x49149d             2170   0    WireGuardStatusbar: (libswiftFoundation.dylib) setTunnel wgnas, to: false, success: false, error: wg-quick: Version mismatch: bash 3 detected, when bash 4+ required
2024-11-22 16:21:56.159310+0800 0xc9cc67   Default     0x49149d             2170   0    WireGuardStatusbar: (libxpc.dylib) [com.apple.xpc:connection] [0x6000010e4000] activating connection: mach=true listener=false peer=false name=com.apple.usernoted.client
2024-11-22 16:21:56.159566+0800 0xc9cc6a   Default     0x49149d             2170   0    WireGuardStatusbar: (libswiftFoundation.dylib) Updating tunnel configuration and runtime state.
2024-11-22 16:21:56.160641+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading interface name for tunnel qlcd
2024-11-22 16:21:56.160908+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/qlcd.conf
2024-11-22 16:21:56.160990+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/qlcd.conf
2024-11-22 16:21:56.161228+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading interface name for tunnel grayscale
2024-11-22 16:21:56.161369+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/grayscale.conf
2024-11-22 16:21:56.161488+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/grayscale.conf
2024-11-22 16:21:56.161772+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading interface name for tunnel wgnas
2024-11-22 16:21:56.161901+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgnas.conf
2024-11-22 16:21:56.162033+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgnas.conf
2024-11-22 16:21:56.162230+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading interface name for tunnel wgcloud
2024-11-22 16:21:56.162304+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading config file: /etc/wireguard/wgcloud.conf
2024-11-22 16:21:56.162363+0800 0xc9cc6f   Default     0x49149d             2171   0    WireGuardStatusbarHelper: Reading config file: /usr/local/etc/wireguard/wgcloud.conf
2024-11-22 16:21:57.226218+0800 0xc9cc56   Default     0x0                  2170   0    WireGuardStatusbar: (AppKit) [com.apple.AppKit:AutomaticTermination] void _updateToReflectAutomaticTerminationState(void) Setting _kLSApplicationWouldBeTerminatedByTALKey=1

@aequitas
Copy link
Owner

Can you install bash using brew?

~ $ /usr/local/bin/bash --version
GNU bash, version 5.2.37(1)-release (x86_64-apple-darwin23.4.0)

I've installed and tested it locally with 15.1 and it seems to work on.

@rakuyoMo
Copy link
Author

Can you install bash using brew?

OK, I reinstalled bash, here is the log:

➜  StatisticsSDK git:(develop) brew install bash
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Homebrew collects anonymous analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics have been recorded yet (nor will be during this `brew` run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations

==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
[email protected]                                     libcutl                                      libxsd-frontend
==> New Casks
taskbar

Warning: bash 5.2.37 is already installed and up-to-date.
To reinstall 5.2.37, run:
  brew reinstall bash
➜  StatisticsSDK git:(develop) brew reinstall bash
==> Downloading https://ghcr.io/v2/homebrew/core/bash/manifests/5.2.37-1
Already downloaded: /Users/rakuyo/Library/Caches/Homebrew/downloads/7a1469766e8a328decb1919eb3e0379a2f20a9dff11134937ec013b3a2eaa526--bash-5.2.37-1.bottle_manifest.json
==> Fetching bash
==> Downloading https://ghcr.io/v2/homebrew/core/bash/blobs/sha256:bbfa520d0ddc11d3230c85d3a542f1665d52e461dad651adca3e372939d80763
Already downloaded: /Users/rakuyo/Library/Caches/Homebrew/downloads/16f80eef5c379b7ed69999e3e99161be943babf74092b663993a41fe8bfbe8d4--bash--5.2.37.arm64_sequoia.bottle.1.tar.gz
==> Reinstalling bash
==> Pouring bash--5.2.37.arm64_sequoia.bottle.1.tar.gz
🍺  /opt/homebrew/Cellar/bash/5.2.37: 163 files, 12.4MB
==> Running `brew cleanup bash`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

But the same error is still reported.

Or is it related to some configuration? What would cause the version inconsistency? 🤔What else can I check?

@rakuyoMo
Copy link
Author

I found the problem: /bin/bash was version 3.2.57. And bash --version probably pointed to the bash installed via brew.

@aequitas
Copy link
Owner

The applications sets the 'PATH' during execution of wg-quick commands https://github.com/aequitas/macos-menubar-wireguard/blob/master/WireGuardStatusbarHelper/WireGuard.swift#L113 to include the Homebrew bin as first option, so that should ensure the correct Bash version is used. The helper is run as root though, so maybe there is some issue there that it can't access those files due to security restrictions? Does running wg-quick directly work?

@rakuyoMo
Copy link
Author

@aequitas I solved this problem by following the command: sudo defaults write WireGuardStatusbarHelper brewPrefix /opt/homebrew

After reading the code you provided, I found that I should set brewPrefix to /opt/homebrew instead of other values.

Thank you very much for your patient help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants