iOS集成Flutter遇到的问题。

flutter集成之后运行时报错没有<Flutter/Flutter.h>

flutter.framework中header文件夹,但是没有导入。

手动导入之后编辑运行报错

/Users/xxx/Documents/NgariDoctor/NgariDoctorRecipe/../../doctor_flutter/doctor_flutter_project/.ios/Flutter/flutter_export_environment.sh: line 8: inherited: command not found
Standalone embedder initialization failed: Error determining current directory: Operation not permitted

Command /bin/sh failed with exit code 255

如果是放在Docuemnts目录下,需要给xcode访问权限。

如果确定别的流程正确,检查下xcode的文件访问权限。

原文地址:https://www.cnblogs.com/jisa/p/13926082.html