pichillilorenzo / flutter_inappwebview

A Flutter plugin that allows you to add an inline webview, to use a headless webview, and to open an in-app browser window.
https://inappwebview.dev
Apache License 2.0
3.28k stars 1.62k forks source link

Module 'flutter_inappwebview' not found Xcode on Release mode #1220

Open bielsesa opened 2 years ago

bielsesa commented 2 years ago

In reference to #458 and #773, I am still having the issue mentioned in those two posts.

When I test my app in Debug mode, there is no problem and everything works. But after receiving an App Store review that mentioned a bug that I should try to test on Release mode on Xcode, when I try to build the project it gives the error mentioned in the title.

I tried all the solutions recommended in the old posts but none worked.

github-actions[bot] commented 2 years ago

👋 @bielsesa

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!

VladyslavBilomeria commented 2 years ago

@bielsesa Make sure:

MuhammadOwais0776 commented 1 year ago

Its an issue still exist in a newer version of flutter app which is 3.10.6, Issue only in IOS when we archive towards the production build.

parthvirani-oceanmtech commented 11 months ago

Any solution update @MuhammadOwais0776

anand-OSM commented 1 month ago

Any update on this issue , I'm facing same issue @pichillilorenzo

MuhammadOwais0776 commented 1 month ago

Any solution update @MuhammadOwais0776

Yes it's fixed, in a newer version of flutter

anand-OSM commented 1 month ago

Which version @MuhammadOwais0776

MuhammadOwais0776 commented 1 month ago

Which version @MuhammadOwais0776

Flutter 3.24 version .. IOS works fine now and also in the previous versions I tested in a year

anand-OSM commented 1 month ago

I'm using 3.19 but facing same issue

MuhammadOwais0776 commented 1 month ago

I'm using 3.19 but facing same issue

You have to check your MacOs issue then, because most of the time Mac on iOS platform causes issues in a certain way.

Also you can do it by running the following cmd in the directory of the project root

sudo gem install cocoapods-deintegrate cocoapods-clean

flutter clean

In IOS Directory by Cd , run following cmds one by one

pod deintegrate

pod cache clean --all

pod setup

pod install

pod update

After this your issue will be solved 👍

anand-OSM commented 1 month ago

Tried all steps, but still getting same issue

MuhammadOwais0776 commented 1 month ago

Tried all steps, but still getting same issue

Share the log so all community check the issues that you encounter

anand-OSM commented 1 month ago

Share the log so all community check the issues that you encounter

Attached log file: Build Runner_2024-09-11T17-15-48.txt

Framework 'flutter_inappwebview' not found

Linker command failed with exit code 1 (use -v to see invocation)

anand-OSM commented 1 month ago

@MuhammadOwais0776 any update on the shared log

blinghartig commented 4 weeks ago

have the same issue with the latest flutter version and latest in app web view version :(

blinghartig commented 4 weeks ago

have the same issue with the latest flutter version and latest in app web view version :(

i removed all frameworks in other linker flags and now i can run the app again with xcode 16 this is strange i try to figureout what the reason is