-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Help in macOS builds #350
Comments
Please provide the macos build in any way you can. |
Why not via GitHub Actions ? |
编译不重要.....重要的是有人能解决macos平台上一些特有的bug... |
Sure, why not. Though I'm not much familiar with it. Can you help? |
It sure is, when it comes to users. We should do as much as we can. |
Ok, we can make some tasks to make it compatible. |
I'm going to fork this for now and put the .dmg s on that repo, since files more than 25MB are not allowed to be attached |
For now I put the manual builds here |
Hi, Thank you so much for this. This is the issue I'm facing with your build (MacBook Pro 15 2017 - macOS Ventura 13.2)
|
Can you also make an ARM build for M1/2 chips? |
And for arm64 automated Github Action builds, there is currently no Apple Silicon based Action Runner servers. |
https://github.com/NeetHuang/nekoray-macos-build/releases/ The program was built using a Mac M1 and QT5 was statically compiled into Nekoray. It can now run on other computers. If the program cannot be used after being installed in Applications, you need to enable the App Store and identified developers options in System Preferences > Security & Privacy, and execute xattr -cr /Applications/nekoray.app in the terminal. |
感谢分享,请问可以持续参与构建吗 |
are you sure it's working? I was trying to install it on MacBook Air M2 but i got this error: “nekoray” is damaged and can’t be opened. You should move it to the Trash |
还是一样的,我的M1 Pro,还是说文件损坏,移动到碎纸篓,安全性已经设置为任何来源 |
@NeetHuang I have the same issue with your Mac m1 build, with the older mac builds on this repo, it would show in privacy settings and I could allow it to run. This one doesn't run at all. |
|
@NeetHuang Are you on Mac OS 13+? That could be the issue because I am on 12.6. I will try updating to Ventura some time tonight and check again |
正常装入Applications后你需要执行 After loading Applications normally, you need to execute |
Yeah no worries, I will try 13.1 and report back |
The latest build (2.16) still crashes on Intel and Ventura 13.2 with this error:
|
13.2.1 黑苹果,SIP关闭的,用了xattr命令无效,依旧无法运行,只能一直用2.12版本。不知道为什么作者不想继续发布macOS版本,macOS这边本来梯子软件就少。支持的协议也少。希望能继续编译 |
Hello @amirhakimnejad The original macOS build has a folder "Frameworks" which contains required Qt libraries, but in your macOS builds this folder does not exists, so we get "Library not loaded" error. |
我回复的就是本页楼主编译的intel版本,跟兄弟编译的m1版本一样无法运行,另一台台式机11.x系统Big Sur都不能运行 |
打包的时候没有放QT库进去导致的,我也有同样问题。 |
同意,看报错信息猜测也是运行库的问题,可惜没人编译新版本 |
Unofficial release: #445 |
@aaaamirabbas Doesn't work on Intel Mac Ventura 13.3. VPN Mode is not starting. |
对MAC版本要求太高,黑苹果用户表示放弃 |
I have developed a bash script to In this repository, you can use scripts to build on your system automatically and use pre-made releases for macOS.
|
Excellent. Does it handle the problem mentioned in the Missing libraries of QT mentioned here?: @arm64v8a The MacOS build document does not say anything about that either. The app does not start if we don't have qt installed on our system. There should be a document to put qt dependencies within build files. |
关于QT依赖库的问题我已经解决了,已经成功将其静态编译到nekoray中,在无需依赖的环境下正常运行,当前仅限于我编译的M1版本,Intel版本需要@amirhakimnejad 进行编译。 The key to solving the QT dependency library issue is to manually build the qt5 compiler and make it static. This way, when compiling nekoray, it will be included in the program, resulting in a correctly statically compiled nekoray program with a size of around 25MB. |
Is there a document for it? Can you share it with me? |
I examined the QT problem and solved it before. You can get and test the latest released version. |
I forked that repo, wrote a github action for it which builds the latest version every night, my latest changes aren't yet accepted as a PR in that repo but for anyone in a hurry it is available in my fork: |
@Stevemoretz @aaaamirabbas Awesome, guys. We can open a pull request on the main repo, too and complete nekoray pipeline to deploy it for all users with the help of @arm64v8a . |
Hi @amirhakimnejad The script I wrote only makes releases for macOS (but doesn't fix problems). |
What issues are there? I just tested the build linked in the first comment; it works great. Even the VPN mode works. It's much better than qv2ray, which I was using previously. |
@Stevemoretz @aaaamirabbas Can you guys do a favor and build a newer version for macOS? |
@amirhakimnejad So wait for now until I get the desired time. |
Translated Report (Full Report Below)Process: nekoray [39043] Date/Time: 2023-05-23 18:37:01.9184 +0800 Sleep/Wake UUID: 3F94B0F7-9885-439B-9BDF-24261F327FE9 Time Awake Since Boot: 170000 seconds System Integrity Protection: enabled Crashed Thread: 0 Exception Type: EXC_CRASH (SIGABRT) Termination Reason: Namespace DYLD, Code 1 Library missing Thread 0 Crashed: Thread 0 crashed with X86 Thread State (64-bit): Logical CPU: 0 Binary Images: External Modification Summary: VM Region Summary:
REGION TYPE SIZE COUNT (non-coalesced) Full Report{"app_name":"nekoray","timestamp":"2023-05-23 18:37:01.00 +0800","app_version":"","slice_uuid":"d2ed90e3-1ad0-3a11-b787-8b2b2b101ac1","build_version":"","platform":1,"bundleID":"moe.nekoray.macosx","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.3.1 (22E261)","roots_installed":0,"name":"nekoray","incident_id":"8D7B9E23-CE5F-4D38-B247-E66F0BB58A75"} }
], ] Model: MacBookPro14,1, BootROM 509.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 2.3 GHz, 16 GB, SMC 2.43f11 |
I only wrote the CI part, he has a problem in his build script, in the meantime we better support and use : https://github.com/tdjnodj/nekoray Make sure to give him a star and thank him he deserves it. |
Oh, awesome. Just added it to the first message, too |
Great, also added support for 10.15 back: https://github.com/naverMeet/nekoray/pull/41 |
@NeetHuang https://github.com/NeetHuang/nekoray-macos-build/releases/ this repo seems not available now |
Hello,
This is an issue related to macOS builds.
There are some available builds at the end of the post.
Right now, the main problem is with GitHub actions. Feel free to participate in fixing it.
Related issues:
#302
#320
#281
#305
#224
#360
#530
#574
Solutions (Make sure to give them stars for their contribution):
https://github.com/aaaamirabbas/nekoray-macos/releases
https://github.com/Stevemoretz/nekoray/releases/
The text was updated successfully, but these errors were encountered: