flutter – flutter_inappwebview with iOS 16


Launching lib/essential.dart on iPhone 14 Professional Max in debug mode…
Working pod set up…
Working Xcode construct…
Xcode construct achieved. 13,0s
Did not construct iOS app
Error output from Xcode construct:

** BUILD FAILED **

Xcode’s output:

Writing consequence bundle at path:
/var/folders/1w/tncq7cqs7wdblnbp_f35d_s00000gp/T/flutter_tools.SQyxcZ/flutter_ios_build_temp_dirC9UeU4/temporary_xcresult_bundle

/Customers/usuario/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Lessons/Varieties/UserScript.swift:13:6: error: saved properties can't be marked probably unavailable with '@obtainable'
    @obtainable(iOS 14.0, *)
     ^
error: the next command failed with exit code 1 however produced no additional output
CompileSwift regular x86_64 /Customers/usuario/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Lessons/Varieties/UserScript.swift (in goal 'flutter_inappwebview' from challenge 'Pods')
/Customers/usuario/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Lessons/Varieties/UserScript.swift:13:6: error: saved properties can't be marked probably unavailable with '@obtainable'
    @obtainable(iOS 14.0, *)
     ^
observe: Constructing targets in dependency order
warning: Run script construct section 'Run Script' will probably be run throughout each construct as a result of it doesn't specify any outputs. To deal with this warning, both add output dependencies to the script section, or configure it to run in each construct by unchecking "Primarily based on dependency evaluation" within the script section. (in goal 'Runner' from challenge 'Runner')
warning: Run script construct section 'Skinny Binary' will probably be run throughout each construct as a result of it doesn't specify any outputs. To deal with this warning, both add output dependencies to the script section, or configure it to run in each construct by unchecking "Primarily based on dependency evaluation" within the script section. (in goal 'Runner' from challenge 'Runner')

Outcome bundle written to path:
    /var/folders/1w/tncq7cqs7wdblnbp_f35d_s00000gp/T/flutter_tools.SQyxcZ/flutter_ios_build_temp_dirC9UeU4/temporary_xcresult_bundle

Swift Compiler Error (Xcode): Saved properties can’t be marked probably unavailable with ‘@obtainable’
/Customers/usuario/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Lessons/Varieties/UserScript.swift:12:5

Model: flutter_inappwebview: ^5.4.3+7

Leave a Reply