[SOLVED] what is this error in IOS Flutter Project?

Issue

This Content is from Stack Overflow. Question asked by Tiberius John

My macbook is m1 mac book

and i want to run flutter project

in android is working done

but in IOS saw me error code

Swift Compiler Error (Xcode): Stored properties cannot be marked potentially unavailable with ‘@available’
/Users/idong-gi/development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Classes/Types/UserScript.swift:12:5
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro Max.
idong-gi@idong-gis-MacBook-Pro xeta_app %

my another intel core mac book is run with android, ios

please help me!



Solution

I’ve simply fixed it by updating the platform to iOS 14 in Podfile.


This Question was asked in StackOverflow by Tiberius John and Answered by Adil Shinwari It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?