当前位置:网站首页>‘Flutter/Flutter. h‘ file not found

‘Flutter/Flutter. h‘ file not found

2022-06-25 09:44:00 Moon Spring

’Flutter/Flutter.h’ file not found

Solution 1.

Click here Go to download Corresponding version file , Replace the original file ios/Podfile Content , Delete ios/Podfile.lock, again pod install that will do

Solution 2.

Execute code :flutter run -v and flutter doctor -v Check whether the configuration is successful

The following may occur :

Mac os 10.15 Unable to open “idevice_id”, Because you can't verify the developer

Mac os 10.15 Unable to open “ideviceinfo”, Because you can't verify the developer

resolvent Open the terminal (Terminal), Enter the following command and press enter , If needed , Please input a password

sudo xattr -r -d com.apple.quarantine
notes : Path for application , Drag and drop directly from the folder directory to automatically fill in

Solution 3.

find iOS/Flutter Folder , Find the error free file backed up before and replace the contents of the folder , There should be no mistake .

We'll do it again flutter build ios --release
During the compilation process, new == iOS/Flutter== Under the folder , Overwrite the file we replaced .

The above solutions may need to be used in combination .

The original author : Flying feather _ifeiyv
link :https://www.jianshu.com/p/e2943ee716a9

原网站

版权声明
本文为[Moon Spring]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202200549005864.html