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.13k stars 1.44k forks source link

OrderedSet-Swift.h #1141

Open kttary opened 2 years ago

kttary commented 2 years ago

Today i cant build my project with anappwebview with following error:

/Users/macos/Library/Developer/Xcode/DerivedData/Runner-fsjsfxksdjramohjctwfeextbmqj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/OrderedSet.build/module.modulemap:9:12: Header 'OrderedSet-Swift.h' not found

any clue?

github-actions[bot] commented 2 years ago

👋 @kttary

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!

ekansh-code commented 2 years ago

Same Issue when I try to run with X code

pichillilorenzo commented 2 years ago

Have you tried to clean the project and reinstall your dependencies? I don't have any problem with it, so I cannot reproduce this error.

WallyHale commented 2 years ago

I'm also having this problem running to phone in Xcode. I can run from Flutter without a problem.

Clean, flutter build ios works fine. Open in Xcode and run to device it fails /Runner-dlznetgjwnpqmzfbuajunhceudly/Build/Intermediates.noindex/Pods.build/Release-iphoneos/OrderedSet.build/module.modulemap:9:12: error: header 'OrderedSet-Swift.h' not found header "OrderedSet-Swift.h" ^

:0: error: could not build Objective-C module 'OrderedSet'
WallyHale commented 2 years ago

I'm also having this problem running to phone in Xcode. I can run from Flutter without a problem.

Clean, flutter build ios works fine. Open in Xcode and run to device it fails /Runner-dlznetgjwnpqmzfbuajunhceudly/Build/Intermediates.noindex/Pods.build/Release-iphoneos/OrderedSet.build/module.modulemap:9:12: error: header 'OrderedSet-Swift.h' not found header "OrderedSet-Swift.h" ^ :0: error: could not build Objective-C module 'OrderedSet'

After a few hours .. I've got it building for me, hopefully it helps you as well.

In my case, opening Pods in the Project Navigator and selecting the OrderedSet target, I upped it from iOS 8 to 9 and it started working.