Comments (19)
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:
- Connect your Zik headphones
- Read my squashed patch: https://pastebin.com/jD8KB5V4
- Download it: https://pastebin.com/dl/jD8KB5V4
- Apply it in your parrot-zik-status tree (on 3cfad30 current origin/master)
- cd zik3 && make all run
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.
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.
I made a dirty fix here
from parrot-zik-status.
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.
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.
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.
Do you have several bluetooth peripherals connected to your mac? If I disconnect everything but the headphones the app works
from parrot-zik-status.
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.
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.
@Namouk can you push your fork on github? i would like to help in finding an alternative solution...
from parrot-zik-status.
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.
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.
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.
Any news on this ? I have same problem on my macbook high sierra
from parrot-zik-status.
Awesome alex, you're the man! Now I only have to figure out how to install this...
from parrot-zik-status.
I was able to build it in Xcode, which would work
from parrot-zik-status.
@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.
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.
Same here. If any of you have the time/manage to fix this, please share 🙂
from parrot-zik-status.
Related Issues (14)
- interface runs in dock and bar HOT 4
- Parrot Status crashes on start (Sierra) HOT 8
- Disconnected, but headphone connected HOT 1
- Issue with airplane mode on zik 3 HOT 1
- Application won't launch if several bluetooth peripheral devices. HOT 2
- Compatible with Original Zik and Sierra? HOT 3
- [PLEASE READ] HOT 8
- Great ! HOT 1
- Windows size problem HOT 8
- Preference screen HOT 4
- Test ticket from Code Climate
- Button to connect/disconnect the headphone HOT 1
- FEATURE REQUEST: option for adjusting the latency/buffer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parrot-zik-status.