JideGuru / FlutterEbookApp

A simple Flutter app to Read and Download eBooks.
https://openleaf.codemagic.app
Apache License 2.0
3.03k stars 859 forks source link

App does not build on IOS simulator #121

Closed markusait closed 10 months ago

markusait commented 10 months ago

Hey this looks like a really great app and I would love to get it to build but upon loading the app via flutter run I got this issue :

Error (Xcode): type argument 'nw_proxy_config_t' (aka 'struct nw_proxy_config *') is neither an Objective-C object nor a block type /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDa taStore.h:119:46 Parse Issue (Xcode): Could not build module 'WebKit' /Users/markus/Stably/FlutterEbookApp/build/ios/Debug-iphonesimulator/flutter_inappwebview/flutter_inappwebview.framework/Headers/flutter_inappwebview-Swift.h:893:8 Could not build the application for the simulator. Error launching application on iPhone 15 Pro Max.

When upgrading the dependencies via flutter pub upgrade this issue comes up

Error (Xcode): packages/iridium/components/shared/lib/src/zip/lazy_zip_decoder.dart:26:60: Error: Member not found: 'STORE'. Could not build the application for the simulator. Error launching application on iPhone 15 Pro Max.

Note: Changing the platform from IOS14.0 to 17.0 also does not resolve the issue.

markusait commented 10 months ago

setting the compress variable to true resolves the issue final compress = true; but obviously this is not a great workaround. Hopefully the maintainer of Iridium fixes this, here is the issue https://github.com/Mantano/iridium/issues/103