Niraj Savaliya
Niraj Savaliya

Reputation: 189

framework not found in webview_flutter when making build in IOS

I used the webview_flutter package to show some pages in webview in a flutter, In android, it's working fine but when I try to run in IOS I get an error as in the screenshot.

Can anyone help, I really stuck here.

enter image description here

Upvotes: 2

Views: 1335

Answers (2)

Tiwari
Tiwari

Reputation: 50

enter image description here

After trying a lot , I found solution

  1. Open Runner.xcworkspace in Xcode
  2. select runner
  3. select build setting
  4. search for Other linker flag
  5. inside debug and release (select runner section)
  6. replace "webview_flutter" to "webview_flutter_wkwebview"

That's all. Everything work fine.

Upvotes: -1

Aaydin
Aaydin

Reputation: 487

Delete flutter folder on your PC. Download a new flutter SDK and then copy it your Flutter Path (instead of deleted flutter folder).

Upvotes: -1

Related Questions