Xcode 15 Beta 6 Flutter Build Fail.

Cannot run App on Simulator

This is the following message

Error (Xcode): type argument 'nw_proxy_config_t' (aka 'struct nw_proxy_config *') is neither an Objective-C object nor a block type /Users/azeemmohammed/Downloads/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:119:46

Parse Issue (Xcode): Could not build module 'WebKit' /Users/azeemmohammed/Desktop/aucsphere/ds-auctions-app/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 14 Pro Max.

You should probably ask this question over on the Flutter GitHub Repo. It looks like though that flutter_inappwebview hasn't been updated yet or doesn't support watchOS.

I found a workaround from https://github.com/pichillilorenzo/flutter_inappwebview/issues/1735 /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h, change __IPHONE_OS_VERSION_MAX_ALLOWED to 180000

Use XCode or sudo vim

Use the latest version of flutter_inappwebview. ie. flutter_inappwebview: ^5.8.0. They have fixed the issue in the latest version

Please delete your 'pubspec.lock' file and run 'flutter clean' and that's it. You can run from now. I hope that works.

Xcode 15 Beta 6 Flutter Build Fail.
 
 
Q