ControlPlane
ControlPlane copied to clipboard
Support for Apple Silicon
Are you considering providing a universal binary in the near future?
Anyone looking for a universal binary is welcome to test out my fork. Just put up a universal build: https://github.com/crash0verride11/ControlPlane/releases/tag/Monterey_v0.2_Universal
I run Intel, so I can't test at all, but it is a universal build.
Probably broken items, but what I use works fine. Added dark mode, though the menubar icon seems to change only occasionally (works fine running in Xcode, but not from a build). Not going to be putting a ton of work into the fork, but others are welcome to contribute.
@crash0verride11, I tried running this in Xcode and there are a few frameworks that don't have arm64 support.
I'm in no way an objective-c developer, so perhaps it's an easy fix. I just really want ControlPlane back in my life :D
@crash0verride11, I tried running this in Xcode and there are a few frameworks that don't have arm64 support.
I'm in no way an objective-c developer, so perhaps it's an easy fix. I just really want ControlPlane back in my life :D
Whoops, mix up on that upload. Please try again, same link. Also actually uploaded the build as "Monterey_v0.2.1.zip."
Some educated guesses:
- HockeySDK is used for crash reporting by ControlPlane but it's been retired (https://docs.microsoft.com/en-us/appcenter/transition/). Microsoft has a transition guide from HockeySDK to the App Center SDK here: https://docs.microsoft.com/en-us/appcenter/transition/macos-sdk-migration?tabs=objc
- MapKit is an Apple framework and I have no clue why XCode is refusing to compile it for arm64. https://developer.apple.com/documentation/mapkit/
- Growl can/should be removed from the code. It's dead.
I hope that helps!
the referenced build doesn't work for me on an M1; probably due to code signing.
I did get the build to work, thank you. FYI, It's impossible to add a wlan rule on a recent system, because the code expects the bssid to always be available, and apple has decided they're now a privacy concern, so it's always nil. There may be a way to ask for it, but I have not found it yet.
The context switch worked fine for me, but the shell script rules didn't seem to run. (Is there a log anywhere?)
The context switch worked fine for me, but the shell script rules didn't seem to run. (Is there a log anywhere?)
I got it working (latest available Intel build): https://github.com/dustinrue/ControlPlane/issues/506#issuecomment-1351054839
I did get the build to work, thank you. FYI, It's impossible to add a wlan rule on a recent system, because the code expects the bssid to always be available, and apple has decided they're now a privacy concern, so it's always nil. There may be a way to ask for it, but I have not found it yet.
Would you be so kind as to provide your Apple silicon build? Thanks in advance!