Post

Replies

Boosts

Views

Activity

Reply to Crash on "Library not loaded: /usr/lib/swift/libswiftWebKit.dylib" when use XCode 16.3, iOS 18.4
I've also noticed similar to @dsyb that the crash occurs not simply when touching WKWebView, but specifically when calling evaluateJavaScript. ChatGPT provided the following comment about this, which I cannot confirm: This is exactly consistent with how Apple has recently started: Pruning unused Swift overlay libraries more aggressively, And placing them behind version gates in dyld shared caches or dynamic linking rules. Another thing that I've learned through testing is that if you set the minimum iOS target for your application to iOS 18.4 or higher that the problem goes away. In a sense you are breaking iOS 18.3 and below instead of 18.4 and above, but it works if you can bear to support only the very newest versions of iOS.
May ’25
Reply to Crash on "Library not loaded: /usr/lib/swift/libswiftWebKit.dylib" when use XCode 16.3, iOS 18.4
I've also noticed that this specifically seems to occur only with the in:in: variant of this method. If you call the older pre-iOS 14+ method it does not crash, but it also lacks the ability to limit the scope like in:in: provides.
Replies
Boosts
Views
Activity
Jun ’25
Reply to Crash on "Library not loaded: /usr/lib/swift/libswiftWebKit.dylib" when use XCode 16.3, iOS 18.4
I've also noticed similar to @dsyb that the crash occurs not simply when touching WKWebView, but specifically when calling evaluateJavaScript. ChatGPT provided the following comment about this, which I cannot confirm: This is exactly consistent with how Apple has recently started: Pruning unused Swift overlay libraries more aggressively, And placing them behind version gates in dyld shared caches or dynamic linking rules. Another thing that I've learned through testing is that if you set the minimum iOS target for your application to iOS 18.4 or higher that the problem goes away. In a sense you are breaking iOS 18.3 and below instead of 18.4 and above, but it works if you can bear to support only the very newest versions of iOS.
Replies
Boosts
Views
Activity
May ’25
Reply to Crash on "Library not loaded: /usr/lib/swift/libswiftWebKit.dylib" when use XCode 16.3, iOS 18.4
We are seeing this as well. The issue does not occur on iOS 18.2 simulator, but does occur on iOS 18.4 simulator. This simulator is available in Xcode 16.3, but may not be related to the Xcode version per se.
Replies
Boosts
Views
Activity
Apr ’25
Reply to Xcode 15 beta 6: ld: warning: building for 'macCatalyst', but linking in dylib built
Getting the same issue building an xcframework. Tests pass, including on macCatalyst. I'm unclear as to whether or not this should block a release.
Replies
Boosts
Views
Activity
Jan ’24