0

Can I build a flutter application for windows platform on Mac?

Because I don't want to install a visual studio on my Mac just for build.

Is there any totally "command-line" way to build a windows .exe file on IOS operating system?

Plus:If I want to add the build process to CICD, It's hard to make the build on CI-machine

1 Answer 1

0

The documentation says:

No cross-compilation support issue 28617

The compiler supports creating machine code only for the operating system it’s running on. You need to run the compiler three times — on macOS, Windows, and Linux — to create executables for all three operating systems. A workaround is to use a CI (continuous integration) provider that supports all three operating systems.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.