bluebubbles-server icon indicating copy to clipboard operation
bluebubbles-server copied to clipboard

Native apple silicon support

Open anonymousaga opened this issue 3 years ago • 13 comments

Could we get a server app that supports apple silicon natively or is a universal binary? I am noticing that intel apps use a large amount of ram (around 500 MB) at idle, while native apps consume closer to 200mB at idle. Many thanks for considering my request.

anonymousaga avatar Jul 03 '22 15:07 anonymousaga

From what I understand, apple silicon should be supported. We have a handful of users utilizing m1 macs. Is there a specific issue you are having or just high memory utilization?

zlshames avatar Jul 03 '22 16:07 zlshames

It is working with rosetta, just high RAM usage. I was wondering if I could somehow build it myself for native apple silicon or if you could release an apple silicon binary.

anonymousaga avatar Jul 03 '22 16:07 anonymousaga

According to this article, it hopefully should just be a buid configuration: https://www.electronjs.org/blog/apple-silicon

zlshames avatar Jul 03 '22 16:07 zlshames

I'm quite unfamiliar with npm, yarn, & electron, so do you think you can try changing this parameter & rebuilding? Thanks in advance. I'd be happy to test for bugs in the m1 version if you'd like.

anonymousaga avatar Jul 03 '22 17:07 anonymousaga

I'm quite unfamiliar with npm, yarn, & electron, so do you think you can try changing this parameter & rebuilding? Thanks in advance. I'd be happy to test for bugs in the m1 version if you'd like.

Sorry, I was away last week and havent had a chance to rebuild it. It seems like I know what to do, but just need to implement it. I'll include the build in the next release of the app. Are you ok with that?

zlshames avatar Jul 18 '22 15:07 zlshames

Yeah, that would be great! Should I close this now or after the update? Thanks.

anonymousaga avatar Jul 18 '22 16:07 anonymousaga

Yeah, that would be great! Should I close this now or after the update? Thanks.

nope, i'll close it when it's officially implemented. thanks

zlshames avatar Jul 18 '22 16:07 zlshames

@anonymousaga so I was able to build for arm64 (apple silicon), however, I have a few things to note:

  1. Would you be willing to test it?
  2. binaries that we rely on such as ngrok or cloudflare may or may not work (untested). But maybe you can help test.

zlshames avatar Aug 11 '22 20:08 zlshames

Yes, i would be willing to test. I use ngrok for the app.

anonymousaga avatar Aug 11 '22 20:08 anonymousaga

Yes, i would be willing to test. I use ngrok for the app.

are you in our discord?

zlshames avatar Aug 11 '22 20:08 zlshames

No, should i join?

anonymousaga avatar Aug 11 '22 20:08 anonymousaga

No, should i join?

yes please, it will make communications much easier

zlshames avatar Aug 11 '22 20:08 zlshames

Ok, i am in there as cos(A+B)=cosA*cosB-sinA*sinB#1100

anonymousaga avatar Aug 11 '22 20:08 anonymousaga

Any updates? This was 1.5 years ago and it's still being distributed as intel only.

I think I would need an Apple Silicon mac to build it, and I don't have one

zlshames avatar Mar 15 '24 23:03 zlshames