Code Monkey home page Code Monkey logo

Comments (19)

zikdoe avatar zikdoe commented on May 24, 2024 2

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.

from parrot-zik-status.

alexkahn139 avatar alexkahn139 commented on May 24, 2024 2

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 ;)

from parrot-zik-status.

alexkahn139 avatar alexkahn139 commented on May 24, 2024 2

I made a dirty fix here

from parrot-zik-status.

Namouk avatar Namouk commented on May 24, 2024 1

@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)

from parrot-zik-status.

maarconte avatar maarconte commented on May 24, 2024

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

from parrot-zik-status.

picaso avatar picaso commented on May 24, 2024

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.

from parrot-zik-status.

alexkahn139 avatar alexkahn139 commented on May 24, 2024

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

from parrot-zik-status.

maarconte avatar maarconte commented on May 24, 2024

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.

from parrot-zik-status.

Namouk avatar Namouk commented on May 24, 2024

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.

from parrot-zik-status.

shams-ahmed avatar shams-ahmed commented on May 24, 2024

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

from parrot-zik-status.

Namouk avatar Namouk commented on May 24, 2024

@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?

from parrot-zik-status.

Fiotty0 avatar Fiotty0 commented on May 24, 2024

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 !

from parrot-zik-status.

Texxer avatar Texxer commented on May 24, 2024

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

from parrot-zik-status.

bantunesm avatar bantunesm commented on May 24, 2024

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

from parrot-zik-status.

Texxer avatar Texxer commented on May 24, 2024

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

from parrot-zik-status.

alexkahn139 avatar alexkahn139 commented on May 24, 2024

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

from parrot-zik-status.

activecs avatar activecs commented on May 24, 2024

@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

from parrot-zik-status.

alexkahn139 avatar alexkahn139 commented on May 24, 2024

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

from parrot-zik-status.

letsleaveitempty avatar letsleaveitempty commented on May 24, 2024

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

from parrot-zik-status.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.