1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] Flutter is embedded into the iOS project as a framework,Error: Multiple commands...

Discussão em 'Mobile' iniciado por Stack, Outubro 10, 2024 às 08:32.

  1. Stack

    Stack Membro Participativo

    I created a new empty ios project and an empty flutter module, and then I set the flutter module to a framework, but when I embedded the framework into the iOS project, I found a strange problem. My iOS The project can run normally in Debug mode, but cannot be compiled successfully in release mode, and the following error is reported: enter image description here

    The project's hybrid engineering settings are based on the official Flutter documentation.

    flutter build ios-framework --no-debug --no-profile --output=./framework/

    enter image description here

    enter image description here

    I would like to state that I did not write any code in the iOS project and the flutter module, nor did I integrate cocopods. I just did a test to see if the iOS project could integrate the flutter framework normally, and it failed in release mode. I made some attempts based on information on the Internet, such as: enter image description here but this has no effect。

    Has anyone encountered the same problem? Can you give me an answer? Thanks!

    Continue reading...

Compartilhe esta Página