ios – Flutter : Swift Compiler Error (Xcode): Can not name worth of non-function kind ‘String?’

0
23


Right here is the error that i confronted whereas working the code in flutter



Swift Compiler Error (Xcode): Can not name worth of non-function kind 'String?'
/Customers/rabinacharya/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.7.2+3/ios/Lessons/MyCookieManager.s
wift:259:43


Swift Compiler Error (Xcode): Can not name worth of non-function kind 'String?'
/Customers/rabinacharya/.pub-cache/hosted/pub.dev/flutter_inappwebview-5.7.2+3/ios/Lessons/MyCookieManager.s
wift:293:43


Swift Compiler Error (Xcode): Construct enter information can't be discovered:
'/Customers/rabinacharya/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.2.2/darwin/Lessons/messag
es.g.swift',
'/Customers/rabinacharya/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.2.2/darwin/Lessons/Shared
PreferencesPlugin.swift'


Swift Compiler Error (Xcode): Construct enter information can't be discovered:
'/Customers/rabinacharya/.pub-cache/hosted/pub.dev/path_provider_foundation-2.2.3/darwin/Lessons/messages.g.
swift',
'/Customers/rabinacharya/.pub-cache/hosted/pub.dev/path_provider_foundation-2.2.3/darwin/Lessons/PathProvide
rPlugin.swift'


Couldn't construct the appliance for the simulator.
Error launching utility on iPhone 11. 

Find out how to reproduce it ?

Delete the present iOS
Run the command under:
flutter create -i swift .

This may generate the errors talked about above