outline-apps icon indicating copy to clipboard operation
outline-apps copied to clipboard

macOS ARM64 build on App Store

Open kklem0 opened this issue 3 years ago • 24 comments

It would be nice to have a native ARM64 on macOS. I know that the x86-64 version works but I'm not installing Rosetta so I can keep all my software on my laptop native.

kklem0 avatar Jan 21 '21 01:01 kklem0

Thanks for bringing this to our attention! We're keeping an eye on it.

Our networking code is written in Go, and we need to at the very least wait for them to release Go 1.16 stable in order to start this transition. From what I've looked at that's our only blocker, but it's very likely we'll find some hidden issues to deal with once we start working on this.

  • https://blog.golang.org/ports
  • https://tip.golang.org/doc/go1.16

JonathanDCohen avatar Jan 22 '21 23:01 JonathanDCohen

Unfortunately we don't have any Apple Silicon test devices available to us so it might take some iteration to get this right. Are you able to run the iOS client?

cjhenck avatar Jan 26 '21 02:01 cjhenck

I can't find Outline in macOS AppStore for iOS/iPadOS, is it somehow disabled? I do not have the x86 version installed because the reason I bought the apple silicon version is for the 20 hours battery life and so I'm trying not to install Rosetta 2, but I did heard from my friends that it works. Right now I'm using a self compiled shadowsocks-rust and setup system proxy.

I'm willing to help for testing and I usually replies within hours.

kklem0 avatar Jan 26 '21 03:01 kklem0

@clem-bcc Can you not find them in the iOS app store either? I double checked that the Mac app is in the Mac App Store.

I'm trying not to install Rosetta 2, but I did heard from my friends that it works

If you're willing to try out the client and manager apps through Rosetta just to check out performance and usability, it would be really useful for us. The team discussed this issue a couple times recently and we've decided that the priority of building a Mac ARM native version of the apps is lower than other bugs we're seeing unless there are significant performance issues.

JonathanDCohen avatar Jan 27 '21 15:01 JonathanDCohen

Is there any update on this? Its been over a year now and the Mac app still runs via rosetta. I don't mind the outline manager running through rosetta because I don't use it much, but the actual outline VPN app runs through rosetta and is eating away my battery life.

Why not just let us run the iOS app on macOS?

edit: it would also be cool If there was an outline manager app for iPad / iPhone

iambenmitchell avatar Mar 19 '22 16:03 iambenmitchell

We are making progress by converting the dependencies to xcframework so they support arm64: https://github.com/Jigsaw-Code/outline-client/issues/1252

fortuna avatar Apr 22 '22 16:04 fortuna

Any updates?

Fudoshiki avatar Jun 21 '22 11:06 Fudoshiki

We updated all our dependencies to xcframeworks. Though I'm not sure exactly if the release is uploading a universal binary, need to check.

fortuna avatar Aug 01 '22 22:08 fortuna

Though I'm not sure exactly if the release is uploading a universal binary, need to check.

1.7.1 in Mac App Store is x86, not universal. Any updates on this?

andrwq avatar Sep 12 '22 19:09 andrwq

Checked on M2 today, still a problem. Any updates guys?

UPDATE: also built 0994094d567b41b9d33065d2df52b3d75511dc8c (current master) that does not run natively on arm64 yet.

ain avatar Nov 14 '22 16:11 ain

Hello. It would be very nice if you could create universal build to support arm Macs natively.

levanid avatar Dec 27 '22 07:12 levanid

I believe we will have universal build support with https://github.com/Jigsaw-Code/outline-client/pull/1527. This is how it shows in my Organizer: image

Though it seems that the client rendering has some issues on arm64. I don't know why.

fortuna avatar Dec 28 '22 18:12 fortuna

Get 1.9.0 from app store, it's still only Intel.

gut4 avatar Jan 04 '23 17:01 gut4

Just updated now and it is still showing up as a rosetta app. image Screenshot 2023-01-04 at 23 44 18 image

iambenmitchell avatar Jan 04 '23 23:01 iambenmitchell

It's fixed on the master branch, so there's no more changes to make. It will be available in the next release.

fortuna avatar Jan 07 '23 01:01 fortuna

It seems the Apple Silicon binary is broken (https://github.com/Jigsaw-Code/outline-client/issues/1544), so there's more work to be done here.

fortuna avatar Jan 12 '23 20:01 fortuna

It seems the Apple Silicon binary is broken (#1544), so there's more work to be done here.

Hello, is any update expected anytime soon?

levanid avatar Feb 13 '23 13:02 levanid

Hello. Guys, can please someone update on whats going on with ARM build on M1/M2 macs? You almost made it and nothing changed since december 2022 and @fortuna comment https://github.com/Jigsaw-Code/outline-client/issues/940#issuecomment-1366836086 Thank you

levanid avatar Mar 30 '23 11:03 levanid

We're actively working on switching to iOS Catalyst. There's been some changes on the team that have slowed things down I'm afraid, but this is prioritized.

daniellacosse avatar Mar 30 '23 13:03 daniellacosse

@levanid It turns out that we could build, but the web view was completely broken. If you know how to fix it, we'd be happy to hear. The major issue is that cordova-osx has been deprecated, so we are still using the legacy webview. We need to migrate off of cordova-osx. The solution we are exploring, as Daniel mentioned, is to leverage the iOS app with Mac Catalyst, but there's work to add the macOS logic, and we lost our Apple specialist. :-(

fortuna avatar Mar 30 '23 14:03 fortuna

Thank you @daniellacosse and @fortuna for being transparent. Unfortunately I'm unable to help, I'm more of a user here. However maybe it would be a good idea to mention that you need help with Apple specialist to keep up with Mac Catalyst for the sake of success of Outline client? I believe someone in the community would be happy to help, they just need to be aware that your team needs assistance :)

levanid avatar Mar 31 '23 20:03 levanid

#1664 was merged, however, App Store version is still for intel (merge was after the last release). Is it possible to update appstore version or upload release? Thank you in advance.

m8dotpie avatar Jan 14 '24 17:01 m8dotpie

The macOS client based on cordova-osx no longer works properly. cordova-osx has been deprecated for some time, and the app has issues rendering on newer devices.

We created a new client based on our iOS client using Mac Catalyst, but we have been having issues making it work properly with all the provisioning profiles, entitlements, signing, etc across platforms. We are hoping to have that out soon though.

fortuna avatar Jan 16 '24 16:01 fortuna

is there an alternative client which I can use for m2 mac. or something I can do to speed up like testing?

4nkitd avatar Jan 18 '24 12:01 4nkitd