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

README says Catalina or higher, but doesn't start on 10.15.7 #612

Closed
shepazon opened this issue Mar 8, 2021 · 25 comments
Closed

README says Catalina or higher, but doesn't start on 10.15.7 #612

shepazon opened this issue Mar 8, 2021 · 25 comments
Labels

Comments

@shepazon
Copy link

shepazon commented Mar 8, 2021

Although the readme on GitHub says xbar works on macOS Catalina or newer (>= 10.15), my laptop with 10.15.7 won't start xbar, saying that it requires 11.0 or later.

@matryer
Copy link
Owner

matryer commented Mar 8, 2021

@shepazon
Copy link
Author

shepazon commented Mar 8, 2021

@shepazon Can you try this one please? v2.0.7-beta (release)

I get the same error with this build.

@adrianmester
Copy link

adrianmester commented Mar 8, 2021

same here with v2.0.7-beta

You have macOS 10.15.7. The application requires macOS 11.0 or later.

@ianfoo
Copy link
Collaborator

ianfoo commented Mar 9, 2021

I can confirm I'm able to build and run this app on 10.15.7, so it sounds like perhaps there's something in the way it's being assembled/packaged that restricts the versioning, rather than a technical limitation. 🤔

@leaanthony
Copy link
Collaborator

Like @ianfoo - can confirm the app runs on Catalina (just run the binary in the package) so it looks like we just need to adjust the signing of the app.

@leaanthony
Copy link
Collaborator

leaanthony commented Mar 9, 2021

cd /Applications/xbar.app/Contents/MacOS
./xbar

Screen Shot 2021-03-09 at 6 08 33 pm

@matryer matryer added the bug label Mar 9, 2021
@matryer
Copy link
Owner

matryer commented Mar 9, 2021

@shepazon Can you please try the the latest release to see if it will run for you now?

@shepazon
Copy link
Author

shepazon commented Mar 9, 2021

Same error with 2.0.12-beta. But I can confirm that it will run if I start it from the shell prompt.

@matryer
Copy link
Owner

matryer commented Mar 10, 2021

@shepazon is the latest release still doing this?

@shepazon
Copy link
Author

@matryer Yep. Still doing it in 2.0.19-beta. Sorry. :)

@matryer
Copy link
Owner

matryer commented Mar 10, 2021

@shepazon Do you have a screenshot of what message you're getting?

@shepazon
Copy link
Author

@matryer Sure do:

xbar-startup-error

@matryer
Copy link
Owner

matryer commented Mar 10, 2021

@shepazon can you try this for me and let me know if it's any better? Thanks so much for your help on this.

xbar.v2.0.19-beta-3-g6958a33a.tar.gz. (be sure not to update when prompted)

@shepazon
Copy link
Author

@matryer Afraid not. Exact same result. :/

@matryer
Copy link
Owner

matryer commented Mar 10, 2021

@shepazon for my sanity, I wonder if you could look inside the xbar.app in Contents/MacOS/Info.plist and let paste the contents here?

@shepazon
Copy link
Author

Sure. It looks fine to me though:

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"><dict>
	<key>CFBundlePackageType</key><string>APPL</string>
	<key>CFBundleName</key><string>xbar</string>
	<key>CFBundleExecutable</key><string>xbar</string>
	<key>CFBundleIdentifier</key><string>xbar.v2.0.19-beta-3-g6958a33a</string>
	<key>CFBundleVersion</key><string>v2.0.19-beta-3-g6958a33a</string>
	<key>CFBundleURLTypes</key>
    	<array>
    		<dict>
    			<key>CFBundleTypeRole</key>
    			<string>Viewer</string>
    			<key>CFBundleURLSchemes</key>
    			<array>
    				<string>xbar</string>
    			</array>
    		</dict>
    	</array>
	<key>CFBundleGetInfoString</key><string>Put anything into your macOS menu bar (https://xbarapp.com)</string>
	<key>CFBundleShortVersionString</key><string>v2.0.19-beta-3-g6958a33a</string>
	<key>CFBundleIconFile</key><string>iconfile</string>
	<key>NSHighResolutionCapable</key><string>true</string>
	<key>LSMinimumSystemVersion</key><string>10.15.0</string>
	<key>NSHumanReadableCopyright</key><string>Copyright 2021 Mat Ryer and the xbar contributors</string>
</dict></plist>

@matryer
Copy link
Owner

matryer commented Mar 10, 2021

Yeah, same. OK, the search continues.

@kubacupisz
Copy link

I just ran into the same issue. I checked the latest beta binary in otool -l and it gives minos 11.0, so that is likely the culprit. Hope this helps!

@matryer
Copy link
Owner

matryer commented Mar 10, 2021

Thanks @kubacupisz - that does help. @leaanthony and I will track this down.

@manojkarthick
Copy link

Just wanted to add that I'm getting the same error as others using the v2.0.24-beta on Catalina 10.15.6 as well. It works great on Big Sur. Thanks a lot for building this awesome app!

leaanthony added a commit that referenced this issue Mar 12, 2021
@matryer
Copy link
Owner

matryer commented Mar 12, 2021

@manojkarthick @kubacupisz @shepazon - we think we have a fix for this, please try the latest release.

@kubacupisz
Copy link

v2.0.25-beta works perfectly, thanks @matryer and @leaanthony!

@matryer
Copy link
Owner

matryer commented Mar 12, 2021

Being optimistic and closing this. Thanks for reporting everyone, please keep them coming.

@matryer matryer closed this as completed Mar 12, 2021
@shepazon
Copy link
Author

"This house is clean!"

@sainathadapa
Copy link

I'm on BigSur 11.4 and get this error for 2.0.42 beta version. See the attached screenshot.
Screenshot 2021-06-05 at 1 43 34 PM

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

No branches or pull requests

8 participants