DEV Community

Dênis Mendes
Dênis Mendes

Posted on

2

Flutter - Packages are not supported when using legacy build locations, but the current project has them enabled.

When you will build a flutter application to iOS maybe you can stumble in that error message:

Packages are not supported when using legacy build locations, but the current project has them enabled.

What I did for solve that problem was change advanced settings on project.

So open the Runner.xcworkspace, go to File->Workspace Settings->Per-User Workspace Settings->Advanced and change from Legacy to Xcode default.

Also open the Runner.xcodeproj, go to File->Project Settings->Per-User Project Settings->Advanced and change from Legacy to Xcode default.

It's done. Try again run flutter build ios and see it works for you.

Top comments (1)

Collapse
 
gumdum profile image
Gumdum

Thank you!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay