Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

DllNotFoundException: libUIWidgets on mac M1 #261

Open
opop4m opened this issue Nov 3, 2021 · 5 comments
Open

DllNotFoundException: libUIWidgets on mac M1 #261

opop4m opened this issue Nov 3, 2021 · 5 comments
Labels
question Further information is requested

Comments

@opop4m
Copy link

opop4m commented Nov 3, 2021

image

image

已经严格按照你说的版本去操作了,怎么弄都是这个问题。

@opop4m
Copy link
Author

opop4m commented Nov 3, 2021

使用的是 https://github.com/Unity-Technologies/com.unity.uiwidgets ,master分支 当前最新版本

@zhuxingwei
Copy link
Contributor

Hi 多谢您的反馈!

我们的项目使用了github lfs来做大文件支持,麻烦您先确认一下com.unity.uiwidgets/Runtime/Plugins/osx/目录下是否存在libUIWidgets.dylib这个文件且文件是否是一个正常的库文件(可以确认一下大小是否为66MB左右)。如果它只是一个很小的文本文件,那么应该就是lfs的问题。您需要通过安装对应的github插件来解决这个问题;

如果库文件正常,那么可能会是处理器问题。从您的电脑版本上看您的电脑使用的是M1处理器。因为我们目前还未在使用M1处理器的计算机上测试过UIWidgets,因此不排除存在CPU架构问题。如果确实是这种情况,我们将会尽快安排测试和相应的修复工作。

多谢您的帮助!

@zhuxingwei zhuxingwei added the question Further information is requested label Nov 3, 2021
@tomcatter
Copy link
Contributor

@zhuxingwei Is M1 now supported?

@zhuxingwei
Copy link
Contributor

I am sorry that UIWidgets is not ready for M1 yet.

Generally, the only blocking issue is that we need to compile the flutter engine for M1 architecture. Currently, we are still investigating and testing the proper way to do so.

According to this flutter wiki, it turns out to be not a straight-forward thing. So we don't have a clear ddl to land the M1 support for now. We will report our progress in this thread and any advice from your guys is always welcome !

@zhuxingwei
Copy link
Contributor

our latest progress is at #337 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants