Unsupported Architectures, the executable for .app/Frameworks/...contains unsupported architectures [x86_64] on Flutter ios Unsupported Architectures, the executable for .app/Frameworks/...contains unsupported architectures [x86_64] on Flutter ios dart dart

Unsupported Architectures, the executable for .app/Frameworks/...contains unsupported architectures [x86_64] on Flutter ios


I encountered the same issue after I manually linked App.framework and Flutter.framework to the xcode project. In my case, it turned out that the order of build phases was wrong:

enter image description here

After moving the "Embed Frameworks" phase before "Thin Binary" phase, the errors disappeared.