Code Monkey home page Code Monkey logo

Comments (18)

appflowy avatar appflowy commented on May 5, 2024 2

@FallenChromium Absolutely yes, but the size of the application will be larger. I can build one for M1. Please let me know how you think about it.

from appflowy.

pdckxd avatar pdckxd commented on May 5, 2024 2

Seems flutter doesn't support build application for native Apple M1 chip. Below wiki page shows that M1 can run X86_64 application through Rosetta2 at this moment. So you will see Intel arch in "Activity Monitor" when running appflowy on MacOS

https://github.com/flutter/flutter/wiki/Developing-with-Flutter-on-Apple-Silicon

Compiled Intel macOS binaries work on Apple Silicon without change thanks to the Rosetta 2 translation environment, which converts x86_64 instructions to ARM64 equivalents.
We also plan to offer support for compilation directly to ARM64, as well as universal binaries that combine x86_64 and ARM64 assets. Issue 60113 is the umbrella bug tracking this work.

from appflowy.

FallenChromium avatar FallenChromium commented on May 5, 2024 1

It's absolutely fine to have 2 separate releases for each architecture (like most utils on Homebrew do, anyway), so I think it's a viable solution.

That said, it's always a compromise. I can see Universal App being easier to distribute but more painful to build (especially in an automated fashion). Separating targets and release products can also be a pain in the back, especially when other arches and\or platforms will join (win_x64, win_arm64, linux_x64, linux_arm64, you probably already imagined that giant GitHub Releases file list 🤣)

from appflowy.

 avatar commented on May 5, 2024 1

Any update about this? since flutter v3 already support apple silicon without rosetta
ps: flutter/website#7119 (comment)

from appflowy.

ioiioo avatar ioiioo commented on May 5, 2024

I have the same appeal, I hope I can have M1 version applications.

from appflowy.

lvelvee avatar lvelvee commented on May 5, 2024

kindly support native arm arch pls

from appflowy.

WATERMELOUN3 avatar WATERMELOUN3 commented on May 5, 2024

Is there any news about native ARM build support ?
In the documentation in Building on MacOS -> Building in release mode, there is arm64 command, but it still doesn't work.

from appflowy.

Lewiscowles1986 avatar Lewiscowles1986 commented on May 5, 2024

It seems Flutter recently released apple silicon support. I hope it's generic ARM64 so I can run on M1 Studio as well as low-end devices like the raspberry pi.

Links:

from appflowy.

Lewiscowles1986 avatar Lewiscowles1986 commented on May 5, 2024

If there are tests or it's a matter of configuring a build, I'm in BST London, and happy to take the time to use my hardware to build on an M1 and host while the github process for building is worked out.

from appflowy.

SuperBo avatar SuperBo commented on May 5, 2024

Hi @Lewiscowles1986 , can you share the build with us :D

from appflowy.

Lewiscowles1986 avatar Lewiscowles1986 commented on May 5, 2024

It didn’t build and it seems I e not kept a log of why, or what the errors were

from appflowy.

Tienisto avatar Tienisto commented on May 5, 2024

Shouldn't flutter build macos build an universal build by default? I am maintainer of LocalSend and I did not do anything to ensure M1 support.

Maybe an ARM based computer is needed though...

from appflowy.

Lewiscowles1986 avatar Lewiscowles1986 commented on May 5, 2024

It's not the same commands @Tienisto (I think due to the Rust and other commands); but it looks like https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/environment-setup/building-on-macos has cli options for arm64; so I guess for me; this was all I wanted.

from appflowy.

Lewiscowles1986 avatar Lewiscowles1986 commented on May 5, 2024

This has led to flutter/flutter#130308 on a new mac I don't want to use appleId for, but it feels like that is a me problem.

from appflowy.

vncloudsco avatar vncloudsco commented on May 5, 2024

Are there any updates for this?

from appflowy.

LucasXu0 avatar LucasXu0 commented on May 5, 2024

We have provided the universal package for the M series chip from version 0.3.0.

from appflowy.

vncloudsco avatar vncloudsco commented on May 5, 2024

@LucasXu0
We do not see that we still have not been installed on ARM, even the built -in docker is not show that.

 => ERROR [linux/arm64 stage-1 2/8] RUN pacman -Syyu --noconfirm                                                                                                                               0.2s
------                                                                                                                                                                                              
 > [linux/arm64 builder  2/25] RUN chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo:                                                                                                       
0.131 exec /bin/sh: exec format error
------
------
 > [linux/arm64 stage-1 2/8] RUN pacman -Syyu --noconfirm:
0.095 exec /bin/sh: exec format error
------
Dockerfile:73
--------------------
  71 |     
  72 |     # Upgrade the system
  73 | >>> RUN pacman -Syyu --noconfirm
  74 |     
  75 |     # Install runtime dependencies
--------------------
ERROR: failed to solve: process "/bin/sh -c pacman -Syyu --noconfirm" did not complete successfully: exit code: 1

image

from appflowy.

vncloudsco avatar vncloudsco commented on May 5, 2024

releases page only x86_64 support @LucasXu0
image

from appflowy.

Related Issues (20)

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.