uebersicht icon indicating copy to clipboard operation
uebersicht copied to clipboard

Changes to build on M1

Open donaldguy opened this issue 3 years ago • 1 comments

This is on the road to a #444 fix at least.

I also had to run brew install cocoapods; pod install and per instructions, swapped over to building out of the resulting Uebersicht.xcworkspace (but didn't commit most of the results)

and had to also do

diff --git a/Uebersicht/UBWindowsController.m b/Uebersicht/UBWindowsController.m
index 7e1e8ec..bad15e8 100644
--- a/Uebersicht/UBWindowsController.m
+++ b/Uebersicht/UBWindowsController.m
@@ -11,7 +11,6 @@
 #import "WKInspector.h"
 #import "WKView.h"
 #import "WKPage.h"
-#import "WKWebViewInternal.h"
 
 @import WebKit;
 

(as there is apparently a different / potentially conflicting definition brought in indirectly?; but that may be more a Monterey thing than an M1 thing )

still a bunch of warnings in the build, but the product has gotten me to:

CleanShot 2021-08-02 at 17 51 01@2x

so more than none-widgets are working (though not the one I was setting up, necessarily: thought that may have more to do with the also-changed path of yabai on arm)

donaldguy avatar Aug 02 '21 21:08 donaldguy

Thanks for the PR - it helped me to quickly pin down the issue with fsevents! There was some more work to be done to get Sparkle working, but I have a fully working build now (hopefully):

https://raw.githubusercontent.com/felixhageloh/uebersicht/gh-pages/releases/Uebersicht-1.6.71.app.zip

felixhageloh avatar Jan 02 '22 13:01 felixhageloh