-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build on latest xcode 15 b5 for ios 17 #1735
Comments
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 Following these steps can save you, me, and other people a lot of time, thanks! |
Same problem for me |
Same problem |
3 similar comments
Same problem |
Same problem |
Same problem |
Same for Xcode 15 b6 (although quite obvious) |
Same error here |
same issue here too |
Did someone find a work around/fix? |
I commented out the dependency and related code for now. Tried to use the 6.x.x release but issue persisted. |
Same issue here... |
Received this from Erick Yim (not showing on the thread?!)
workaround 2 has me happy for now! 😊 |
I can confirm -> workaround 2 is working |
Same issue |
Same, thank you very everyone. Hope this issue will be fixed in the next beta. |
Workaround 2 is working. |
mark |
same issue |
Remember guys that every new xcode build (like latest beta 8) you have to made this change again. Change from: |
I tried to do Workaround 2 but couldn't edit the file: It said that the file couldn't be written. I have tried with |
Using a text editor instead of Xcode |
I have tried both vscode and vim and no luck. Which one did you use? |
Default TextEditor |
Thanks that helped! I was getting crazy! What a mess updating to iOS17 😅 |
How did you save the file after editing it on Textedit because what's i'm get is i don't have permission to save file even after explicitly giving permission to read and write. |
you should change the premission for this file but sometimes that is not enough. If that is the case use vim to edit this textfile and use sudo before the vim |
So i need to download vim on my laptop? Because i don't have vim installed on my system |
If you are on mac you have vim built-in |
After upgrade cocoa pods getting below mentioned error Automatically signing iOS for device deployment using specified development team in Xcode project: 5HDLT2798K
|
Im still cannot archive and build on Emulator iPhone 15, any update or detail to fix? |
Dude. I've been scratching my brain over this error ever since I upgraded to Sonoma stable. I had almost started regretting the decision to upgrade till I found this. Thanks a million! |
Is there any update as to when a fix for this will be live? |
Thanks, now is solved.
|
Please share a fix if the project has build configurations |
use terimal with nano, ensure-> sudo nano /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h then you machine will prompt you to add previlages, do that then relaunch the terminal, redu the command -> sudo nano /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h This time it should work |
the same |
this worked for me |
Use the latest version of flutter_inappwebview. ie. flutter_inappwebview: ^5.8.0. |
Released new version |
Getting this error after adding the above code on the podfile, any idea how to resolve it?
|
This worked for me, just add a combination of the above code on the podfile.
|
This helped me |
Please dont close this topic. Team, I am facing the same issue. Tried all the solutions, does not work changed in Podfile - does not work |
|
You need root permission, try sudo vim, or vscode (will prompt root permission when u save system files). |
This should fix this issue. Make sure to do a |
I fixed this by checking ENABLE_USER_SCRIPT_SANDBOXING to No in the project's build settings. It works perfectly, |
…0` is set https://bugs.webkit.org/show_bug.cgi?id=263156 rdar://114438852 Reviewed by Richard Robinson. Before iOS 17 / macOS Sonoma, it was possible to pull in WebKit headers (directly, or through Swift modules) when compiling without ObjC-backed OS objects, by specifying `-DOS_OBJECT_USE_OBJC=0` as a build setting. Some popular libraries and plugins such as the `flutter_inappwebview` plugin (see also: <pichillilorenzo/flutter_inappwebview#1735>) use this. However, after we introduced the following public API in iOS 17: ``` @Property (nullable, nonatomic, copy) NSArray<nw_proxy_config_t> *proxyConfigurations; ``` ...this became impossible, since `nw_proxy_config_t` would be type-defined to an opaque struct pointer in `Network.framework`, which is invalid as a type template argument in an `NSArray`. To fix this, we adopt the same technique used in `Network/NSURLSession+Network.h` and simply expose a generically-typed `NSArray` in the case where `OS_OBJECT_USE_OBJC` is off. * Source/WebKit/UIProcess/API/Cocoa/WKWebsiteDataStore.h: Canonical link: https://commits.webkit.org/269371@main
For me is Good!! Tks! |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue. |
Environment
Device information: iphone
Description
Failed to build iOS app
Error (Xcode): type argument 'nw_proxy_config_t' (aka 'struct nw_proxy_config *') is neither an Objective-C object nor a block
type
/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.0.sdk/System/Li
brary/Frameworks/WebKit.framework/Headers/WKWebsiteDataStore.h:116:46
Parse Issue (Xcode): Could not build module 'WebKit'
/build/ios/Release-iphoneos/flutter_inappwebview/flutter_inappwebview.framework/Headers
/flutter_inappwebview-Swift.h:286:8
Encountered error while building for device.
Expected behavior:
run or build ios app
Current behavior:
erro while building
Steps to reproduce
Run on latest xcode version
The text was updated successfully, but these errors were encountered: