flutter_inappwebview icon indicating copy to clipboard operation
flutter_inappwebview copied to clipboard

Swift Compiler Error (Xcode): Stored properties cannot be marked potentially unavailable with '@available'

Open hamzamirai opened this issue 2 years ago • 4 comments

Swift Compiler Error (Xcode): Stored properties cannot be marked potentially unavailable with '@available' /Users/..../flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-5.4.3+7/ios/Classes/Types/UserScript.swift:12:5

Uncategorized (Xcode): Command SwiftCompile failed with a nonzero exit code

hamzamirai avatar Sep 15 '22 21:09 hamzamirai

👋 @devhch

NOTE: This comment is auto-generated.

Are you sure you have already searched for the same problem?

Some people open new issues but they didn't search for something similar or for the same issue. Please, search for it using the GitHub issue search box or on the official inappwebview.dev website, or, also, using Google, StackOverflow, etc. before posting a new one. You may already find an answer to your problem!

If this is really a new issue, then thank you for raising it. I will investigate it and get back to you as soon as possible. Please, make sure you have given me as much context as possible! Also, if you didn't already, post a code example that can replicate this issue.

In the meantime, you can already search for some possible solutions online! Because this plugin uses native WebView, you can search online for the same issue adding android WebView [MY ERROR HERE] or ios WKWebView [MY ERROR HERE] keywords.

Following these steps can save you, me, and other people a lot of time, thanks!

github-actions[bot] avatar Sep 15 '22 21:09 github-actions[bot]

Same issue here! hope to be fixed soon

Ricardoi1 avatar Sep 16 '22 02:09 Ricardoi1

I have same issue with Xcode14,but it is normal to use xcode13

lxy8228535 avatar Sep 16 '22 08:09 lxy8228535

For temporary fix update version in Podfile platform :ios, '14.0'

BRTZL avatar Sep 16 '22 13:09 BRTZL

+1

heshesh2010 avatar Sep 19 '22 14:09 heshesh2010

+1

theRealGetman avatar Sep 19 '22 18:09 theRealGetman

+1

ps9310 avatar Sep 19 '22 20:09 ps9310

Doesn't seem to work on my end. Do I have to do anything else other than updating the Podfile's platform :ios, to 14.0?

rirjkl19 avatar Sep 20 '22 03:09 rirjkl19

Got the same issue here, for a temporary fix, I used this solution and removed the @available line

For temporary fix update version in Podfile platform :ios, '14.0'

likeSo avatar Sep 21 '22 08:09 likeSo

Got the same issue here, for a temporary fix, I used this solution and removed the @available line

For temporary fix update version in Podfile platform :ios, '14.0'

need to fix this soon.. burning here

techcafe13 avatar Sep 24 '22 12:09 techcafe13

same issue here , need fix soon please..

zoz3zoz3 avatar Sep 26 '22 08:09 zoz3zoz3

+11111111111

xuejingpeng avatar Sep 26 '22 11:09 xuejingpeng

+1

postflow avatar Sep 26 '22 13:09 postflow

is there any update on this issue, I am facing this issue after updating Xcode

vshsharma avatar Sep 28 '22 05:09 vshsharma

Still no fix? 🤦

benfgit avatar Sep 28 '22 11:09 benfgit

Just have to Downgrade to 13.. Then it works fine. For fix

techcafe13 avatar Sep 28 '22 11:09 techcafe13

Still no update?

olzhas-ilyubayev avatar Sep 29 '22 04:09 olzhas-ilyubayev

Released new version 5.4.3+8 with the fix!

pichillilorenzo avatar Oct 03 '22 12:10 pichillilorenzo

Released new version 5.4.3+8 with the fix! Is there a fix for Dart SDK version is 2.12.2?

tranvannhat avatar Nov 24 '22 15:11 tranvannhat