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

Update Request: Silicon support version #257

Open
sameen-d-reza opened this issue Sep 1, 2021 · 12 comments
Open

Update Request: Silicon support version #257

sameen-d-reza opened this issue Sep 1, 2021 · 12 comments

Comments

@sameen-d-reza
Copy link

Prerequisites

Please check that your issue isn't already filed: https://github.com/kmikiy/SpotMenu/issues?utf8=✓&q=

Description

[Can you make a version which is native version instead of Intel]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]

Versions

SpotMenu version: [Version of SpotMenu]

You can get this information by highlighting SpotMenu.app (most likely in your Applications folder) in finder and pressing space.

MacOS version: [Version of MacOS]

You can get this information by clicking the  logo on the top left of your menu bar and selecting About This Mac.

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

@simon-wh
Copy link

simon-wh commented Sep 16, 2021

To help out others who want to try it, I was able to compile it on my M1 Macbook Air following the instructions in the Readme.

I installed cocoapods using homebrew

The only additional changes I needed to do was to remove the following lines from the Podfile as they aren't compatible with Apple silicon, these just handle crash reporting and app updating so not very relevant to a local build anyway. (Make sure to pod install afterwards)

pod 'Fabric'
pod 'Crashlytics'
pod 'Sparkle'

After that, I kept building and removing/commenting the lines it errored on (i.e. from missing package or item not found from the packages that were removed) until it successfully compiled. Effectively removing all the lines directly using stuff from the removed packages. After that, I was able to build and install it locally and now I've got a working native build.

@toineenzo
Copy link

@simon-wh awesome! I was looking if the fork was on your profile but couldn't find it. Could you perhaps share your build?

@jewellscott
Copy link

@simon-wh awesome! I was looking if the fork was on your profile but couldn't find it. Could you perhaps share your build?

Seconding this request!

@MattijsE
Copy link

MattijsE commented Jan 9, 2022

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).

You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

@toineenzo
Copy link

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).

You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the 'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

@MattijsE
Copy link

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the 'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

Yeah, you're right. I noticed the same when trying to run the .app on a different Mac.
Probably due to the fact that I didn't sign it with a paid developer account.

So you can always checkout my fork and make a .app yourself 😄

@Profitsarts
Copy link

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the 'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

Yeah, you're right. I noticed the same when trying to run the .app on a different Mac. Probably due to the fact that I didn't sign it with a paid developer account.

So you can always checkout my fork and make a .app yourself 😄

Is that with Xcode? what may I search on google for a tutorial? thanks

@MattijsE
Copy link

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the 'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

Yeah, you're right. I noticed the same when trying to run the .app on a different Mac. Probably due to the fact that I didn't sign it with a paid developer account.
So you can always checkout my fork and make a .app yourself 😄

Is that with Xcode? what may I search on google for a tutorial? thanks

From the top of my head

  • Open project
  • Install pods
  • Product --> archive
  • Select archived app + click on 'Distribute app'
  • Select the correct option (out of 4 I guess)
  • You'll now have a folder with a .app inside
  • Copy that to your Applications on your Mac

@Profitsarts
Copy link

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the 'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

Yeah, you're right. I noticed the same when trying to run the .app on a different Mac. Probably due to the fact that I didn't sign it with a paid developer account.
So you can always checkout my fork and make a .app yourself 😄

Is that with Xcode? what may I search on google for a tutorial? thanks

From the top of my head

  • Open project
  • Install pods
  • Product --> archive
  • Select archived app + click on 'Distribute app'
  • Select the correct option (out of 4 I guess)
  • You'll now have a folder with a .app inside
  • Copy that to your Applications on your Mac

Thanks a lot!

@Profitsarts
Copy link

I've taken the liberty to add support for Apple Silicon (using the instructions provided by @simon-wh).
You can find the new .app over here https://github.com/MattijsE/SpotMenu/releases/tag/v1.10

Dank je wel, Thanks Mattijs for your build! Unfortunately I get the 'The application "..." can't be opened' error. I already tried to disable gatekeeper and give extra permission via terminal to the .app and executable file but didn't help. :(

Yeah, you're right. I noticed the same when trying to run the .app on a different Mac. Probably due to the fact that I didn't sign it with a paid developer account.
So you can always checkout my fork and make a .app yourself 😄

Is that with Xcode? what may I search on google for a tutorial? thanks

From the top of my head

  • Open project
  • Install pods
  • Product --> archive
  • Select archived app + click on 'Distribute app'
  • Select the correct option (out of 4 I guess)
  • You'll now have a folder with a .app inside
  • Copy that to your Applications on your Mac

Hi!
Sorry but I have no experience with Xcode.

I used Xcode 13.2.1 and the only result I get is a file called "MusicPlayer [date].xcarchive"

When you say "Install pods" I interpreted selecting the "pods" folder and hit the play button, then in the "Select archived app + click on 'Distribute app' just have to options and the only one that generates a file is the second one 'Archive: export a copy of this file' (1st is 'Built products')

I guess it's easier than this but, no clue :(

Thanks!

@MattijsE
Copy link

@Profitsarts
To install the pods, you'll have to navigate in a terminal to the root of the project (where Podfile & Podfile.lock are) and execute pod install.

@Profitsarts
Copy link

@Profitsarts
To install the pods, you'll have to navigate in a terminal to the root of the project (where Podfile & Podfile.lock are) and execute pod install.

Thanks for the helping hand :)
But, after install 'sudo gem install cocoapods' and run 'pod install' I get this:

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html

[IMPORTANT]
Don't forget to include the Crash Report log file under
DiagnosticReports directory in bug reports.

zsh: abort pod install


Then When I go to distribute, I just have two options:

  1. 'Archive: export a copy of this file'
  2. 'Built products'

If a chose the 2nd I get a folder with a '.xcarchive' file on it, just that :(

Sorry, I am so limited doing this things

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

No branches or pull requests

6 participants