You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Ciyue does not support macOS. As the developer, I do not use macOS daily, nor do I have hardware with sufficient performance to run a macOS virtual machine effectively for development and testing.
However, we believe adding macOS support should be a relatively straightforward task for someone with the right setup, thanks to Flutter! If you have a Mac and are looking to contribute, we'd love your help.
This guide provides a starting point. If you encounter issues, searching for the error message or asking AI tools (like Deepseek, Gemini, ChatGPT, etc.) can often provide solutions.
Prerequisites
Before starting, please ensure you have the following installed:
# Clone the project and enter the directory
git clone https://github.com/mumu-lhl/Ciyue.git &&cd Ciyue
(Note: A common workflow is to Fork the repository on GitHub first, then clone your fork).
2. Create a New Branch
Create and switch to a dedicated branch for your work:
git switch -c feat/macos
3. Get Dependencies
Ensure all packages are downloaded:
flutter pub get
4. Build and Troubleshoot
There are two main areas to check:
Native macOS Code:
Open the project's macOS runner in Xcode: open macos/Runner.xcworkspace.
Try building the project within Xcode (Product -> Build).
You will likely encounter errors related to build settings, signing, capabilities (e.g., App Sandbox, network/file access entitlements), or plugins that lack macOS support. Fix these errors based on the Xcode output.
Flutter/Dart Code:
Try running directly: flutter run -d macos
Search the codebase for platform-specific checks. Where logic applies to desktop platforms generally, add Platform.isMacOS.
Test key features to ensure they function correctly and the UI layout looks appropriate on macOS. Some plugins or features might require a specific if (Platform.isMacOS) block with unique macOS implementation.
Navigate to the Ciyue GitHub repository and open a new Pull Request, comparing your feat/macos branch against the main branch. Please describe the changes you made and note any issues that might still exist.
Thank You!
This might be your first open-source contribution, or one of many. We sincerely appreciate your time and effort in helping make Ciyue available to more users!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, Ciyue does not support macOS. As the developer, I do not use macOS daily, nor do I have hardware with sufficient performance to run a macOS virtual machine effectively for development and testing.
However, we believe adding macOS support should be a relatively straightforward task for someone with the right setup, thanks to Flutter! If you have a Mac and are looking to contribute, we'd love your help.
This guide provides a starting point. If you encounter issues, searching for the error message or asking AI tools (like Deepseek, Gemini, ChatGPT, etc.) can often provide solutions.
Prerequisites
Before starting, please ensure you have the following installed:
flutter config --enable-macos-desktop
)Contribution Guide
Follow these steps to get started:
1. Clone the Repository
Open your terminal and run:
(Note: A common workflow is to Fork the repository on GitHub first, then clone your fork).
2. Create a New Branch
Create and switch to a dedicated branch for your work:
3. Get Dependencies
Ensure all packages are downloaded:
4. Build and Troubleshoot
There are two main areas to check:
Native macOS Code:
open macos/Runner.xcworkspace
.Flutter/Dart Code:
flutter run -d macos
Platform.isMacOS
.For example:
if (Platform.isMacOS)
block with unique macOS implementation.5. Commit and Push Your Work
Once the application builds and runs:
git add -A git commit -m "feat: add initial macOS support"
6. Open a Pull Request
Navigate to the Ciyue GitHub repository and open a new Pull Request, comparing your
feat/macos
branch against themain
branch. Please describe the changes you made and note any issues that might still exist.Thank You!
This might be your first open-source contribution, or one of many. We sincerely appreciate your time and effort in helping make Ciyue available to more users!
Beta Was this translation helpful? Give feedback.
All reactions