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

App won't show in menu bar under High Sierra beta #14

Open
NoSync opened this issue Aug 13, 2017 · 19 comments
Open

App won't show in menu bar under High Sierra beta #14

NoSync opened this issue Aug 13, 2017 · 19 comments

Comments

@NoSync
Copy link

NoSync commented Aug 13, 2017

Hi,
I recently installed High Sierra (build A330h) on my Mac, and Parrot Status does not work anymore. The app itself launches, it does not crash and there are no errors in the syslog, but its icon won't load in the menu bar. Can't really gather more info than this, unfortunately.

@maarconte
Copy link

I have the same problem... When i click on the app, it doesn't launch or appear in the menu bar.

@picaso
Copy link
Owner

picaso commented Aug 29, 2017

Hello, Thanks for the feedback. Unfortunately, I do not have the parrot headphones anymore and cannot maintain this repo. If I can find a pair to test with, I will try to fix all these bugs noted.

@alexkahn139
Copy link

Do you have several bluetooth peripherals connected to your mac? If I disconnect everything but the headphones the app works

@maarconte
Copy link

I only have my Parrot connected. But the app doesn't even appear in the menu bar, like its not launching. I'm on macOS High Sierra beta 10.13.

@Namouk
Copy link

Namouk commented Oct 20, 2017

Hi, I've ported the app on Swift 4 in Xcode 9.0.1 and successfully compiled it for High Sierra 10.13, but it still doesn't show up in the menu bar.

The problem resides in the ZikMenu class located in ZikMenu.swift (Main.Storyboard crashes a lot when working on it)

High Sierra has changed a lot of things on how to display stuff.

I'm now trying to integrate it that way (which works perfectly in High Sierra): http://fbm.hk/wp/menu-bar-apps/

@picaso The apps should at least launch without the Zik connected. If you could take a look at it, that would be a great help. I'm currently learning Swift 4.

EDIT/ Figured out SwinjectStoryboard is the culprit.

Swinject: Resolution failed. Expected registration:
{ Service: ZikMemuInterface, Factory: (Resolver) -> ZikMemuInterface }

Available registrations:

Swinject: Resolution failed. Expected registration:
{ Service: BTConnectionServiceInterface, Factory: (Resolver) -> BTConnectionServiceInterface }

Available registrations:

Swinject: Resolution failed. Expected registration:
{ Service: AboutProtocol, Factory: (Resolver) -> AboutProtocol }

Waiting for the devs to fix it on Swift 4.

@Namouk
Copy link

Namouk commented Oct 21, 2017

@picaso

I've noticed your compiled 0.46-alpha app (available for download) doesn't contain SwinjectStoryboard.framework.

But when compiling from the master branch sources, the built app contains it.

Did you use a different branch that makes only use of Swinject.framework?

EDIT/ BAD NEWS, SwinjectStoryboard.framework has been opted out since it doesn't work at all on High Sierra. Swinject/Swinject#295 (comment)

@shams-ahmed
Copy link
Contributor

@Namouk can you push your fork on github? i would like to help in finding an alternative solution...

@Namouk
Copy link

Namouk commented Oct 30, 2017

@shams-ahmed

I've also modified pods to successfully compile with Xcode 9.0.1 and macOS 10.2/10.3.

How do I include them in the fork?

@zikdoe
Copy link

zikdoe commented Nov 29, 2017

All,

I recently upgraded to High Sierra and was saddened like most of you by the incompatibility of this app.
I know nothing about XCode, nothing about Swift, nothing about Objective-C, nothing about Cocoa, nothing about SwinjectionStoryboard... but somehow managed to build something very simple using make and swiftc.
I modified a couple lines from the original code to fix warnings and errors, directly imported AEXML into my worktree, and wrote some code to display a little menu in the status bar.
To put it in a nutshell, I added an AppDelegate.swift file that uses most of the original code and build its own status bar menu. Very little is available, but I thought it may be useful to some of you. And who knows, maybe you will expand on it...

How to:

More information:

  • macOS 10.13.1 (17B1002)
  • Zik3 headphones
  • % swiftc -v
    Apple Swift version 4.0.2 (swiftlang-900.0.69.2 clang-900.0.38)
    Target: x86_64-apple-macosx10.9

This is a throwaway GitHub account behind a temporary email address used during a brief business trip in Japan by somebody who did not even dare sign the patch. Farewell my friends.

@Fiotty0
Copy link

Fiotty0 commented Dec 6, 2017

Hi, glad to hear that the project is not abandoned. I'm not a dev, i don't have Xcode on my computer. Is any of you able to compile the code and share an executable app ready-to-use ?

Thank you very much !

@Texxer
Copy link

Texxer commented Dec 15, 2017

Keep it up guys! Looking forward to a push of a working version. Let me know if you need help with the fix.

@bantunesm
Copy link

Any news on this ? I have same problem on my macbook high sierra

@alexkahn139
Copy link

I found this, which seems to work. I had to add a library and added support for dark menu bar. Which you can find here of in the Pull Request ;)

@Texxer
Copy link

Texxer commented May 30, 2018

Awesome alex, you're the man! Now I only have to figure out how to install this...

@alexkahn139
Copy link

I was able to build it in Xcode, which would work

@activecs
Copy link

activecs commented Jun 5, 2018

@alexkahn139 application crashes when I connect/disconnect headphones. So if you connect headphones and only after that start application - it works, but after any connection activity, it crashes.
I can try to collect logs, if it will help

@alexkahn139
Copy link

I have the same error 😠. Still looking if I am able to fix it. For the moment I use controlplane to automatically restart the app

@letsleaveitempty
Copy link

Same here. If any of you have the time/manage to fix this, please share 🙂

@alexkahn139
Copy link

I made a dirty fix here

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

No branches or pull requests