I am experiencing a critical issue with WKWebView navigation in iOS 18.2 beta, specifically regarding the function webView.loadFileURL(_:allowingReadAccessTo:).
In previous versions of iOS, this function works as expected when loading valid file URLs from the app’s local directory (e.g., Application Support). However, in iOS 18.2 beta, the function fails to complete the navigation, producing a provisional navigation failure with WebKitErrorDomain, code 102 (Frame load interrupted). This issue severely impacts our app’s ability to load essential local resources, breaking core functionality.
Here’s a summary of the troubleshooting steps and findings:
File and Directory Verification: The url provided to loadFileURL is valid. Both the file path and parent directory exist within the app’s sandbox, and the directory is accessible.
Configuration: The code specifies the parent directory in the allowingReadAccessTo parameter to meet sandboxing requirements, which works on iOS 18.1 and prior releases.
Testing on Stable iOS Versions: The issue is exclusive to iOS 18.2 beta; testing on earlier stable iOS releases confirms that the function works as intended.
Impact: This regression severely disrupts the app’s navigation and content loading, effectively blocking access to local resources required for the WKWebView to display content properly.
The error log returned in the console is as follows:
> Error Domain=WebKitErrorDomain Code=102 "Frame load interrupted" UserInfo={_WKRecoveryAttempterErrorKey=<WKReloadFrameErrorRecoveryAttempter: 0x303dd67e0>, NSErrorFailingURLStringKey=file:///var/mobile/Containers/Data/Application/4D128818-7E51-460E-B5D4-D2D70363EFA0/Library/, NSErrorFailingURLKey=file:///var/mobile/Containers/Data/Application/4D128818-7E51-460E-B5D4-D2D70363EFA0/Library/, NSLocalizedDescription=Frame load interrupted}
We suspect this may be due to a change in WebKit permissions in iOS 18.2 beta that affects local file handling within WKWebView.
Given that the our app relies heavily on these resources, we kindly request this issue be addressed promptly. If any additional information or sample code is required, please let us know, and we will gladly provide further details to assist in resolving this issue.
Thank you for your attention and support.
Best regards,
Isabela
Apple Developer Program
RSS for tagCreate and deliver software for users around the world on Apple platforms using the the tools, resources, and support included with Apple Developer Program membership.
Post
Replies
Boosts
Views
Activity
I'm trying to pay for the developer's account subscription but it's not going through. They say it will take about 2 business days but then nothing happens.
I just joined the Apple Developer Program through my university team, and the point of contact for our university verified that I am on the team. However, after almost a week of waiting, I am still unable to access any privileges related to the program, and whenever I sign into my account, I am prompted to join the program, leading me to believe that there is some issue related to the enrollment process. I went to find a support link to see if I could sort out this issue, but whenever I navigate to the link given on the developer program page (https://developer.apple.com/contact/), I am greeted with a blank screen. Is it possible that I've done something wrong during the enrollment process?
My organization has already been enrolled into the apple developer program however, that seemed to have been a very long time ago and I have no idea who is the account owner. How can I proceed
I signed up for the Apple Developer Program 15 days ago, but I haven’t received any updates on my enrollment. A few days ago, I attempted to sign up again and contacted support three days ago, but I still haven’t received a response. I initially enrolled via the web, but I’m unable to re-enroll through the Apple Developer app with this email.
To troubleshoot, I created a new Apple ID, and from that new account, I can proceed with enrollment via the app. My question is, should I attempt to enroll with my new Apple ID? And if so, would I be at risk of being charged twice if my original account is eventually approved, resulting in two active subscriptions?
I cannot reach to the developer support website https://developer.apple.com/contact/ the website is blank and doesn't even load, I tried it with 5 other devices and 3 other networks and also with a VPN.
Is the apple developer contact us (https://developer.apple.com/contact/) page working for anyone as of 29 Oct 2024 ? It's showing empty page for me and a few other folks?
I've been working on generating a KTX format cubemap using the xcrun realitytool image --generate-cube-map command, but I'm encountering an issue with the file size. The cubemap file ends up being around 128 MB(2k), which is too large for my needs. I'm hoping to get some advice on a few points:
Is there any way to reduce the file size of the KTX cubemap generated with this command? I’d appreciate any tips on compression settings or alternative approaches that could help shrink the file size while retaining good quality.
Is there any documentation available for this command? I've been exploring on my own, but a comprehensive guide would be helpful.
Are there alternative methods for converting textures to the KTX format? If anyone has experience with other tools or workflows that work well for this, please share!
I'm developing the firmware update feature for HomeKit accessory, I would like to know how to test HomeKit accessory firmware update in Home App before the accessory certification?
Like many of you, I installed the 18.2 iOS beta update for my new iPhone 16 Pro Max when it first came out. The Playground app was NOT installed with the update. I do have CleanUP in iPhoto, and I do have the new icon on the right of the Description field when i goto the emojis keyboard. When I click that icon, i get the option to request Early Access. Like many here, when I click that icon, I get the screen showing Early Access Requested.
My concern is that the app Playground was not installed as part of my update. Has this happened to anyone else? Any thoughts other than reinstalling 18.2 ??
I combined a few screenshots to help elaborate.
Im here to ask for help i didn’t even receive any email and i was trying to login my binance account for trade and they are saying me this
can anyone help me
It's been 6 days since the subscription fee was charged, you give a 48 hour period, you don't answer emails, you don't say anything; is this good Apple service?
I have been waiting for approval for my developer account for weeks and weeks now with no word from Apple. How can I get my developer account approved faster? It’s almost as if I have been forgotten.
I have been eagerly awaiting the activation and granting of access to the image creation tool for the past two days, in order to explore the potential opportunities for service provision. Could anyone kindly assist me with this matter?
Please, can someone put me through about why Apple keep declining activation lock after uploading receipt of purchase.
Hi everyone,
I am experiencing an issue that I wasn't able to identify its source after spending days in debugging and need some help / assistance. I have recently been to a local Apple Event dedicated to help and explain us how to use Instruments and Xcode Metrics tools, and also booked a Lab session with few of the Evangelists over there but the time wasn't enough for them to identify the root cause either.
I have created a function that will lookup for all available jobs under one's account and toggle them between Private or Public based on the selection. Since I have ran and tested it I ended up with a continuous loop and update in Firebase of the jobs found that blocks the UI and freezes the app ( does not terminate it although ), in the following scenarios:
When I reopen the app during the same logged session, the update is triggered but is backdated, so it will always update the field values for update and isPrivate fields to when was originally triggered, not in the present time.
If I log out and login again it gets triggered again
If I logout, remove the app completely and reinstall it the problem does not appear until I trigger again the toggle button from Privacy screen. This is where the settings sits. Profile Tab > Settings > Privacy.
I have used all the available tools from Instruments to try to investigate the issue without any success, Profiler/SwiftUi etc... even disabled the func completely, uninstalled the app, reinstalled it, ran it again but the loop or however I can call it is still there, it still runs when I toggle the Privacy options button.
For another account I have deleted the job from Firebase but in Xcode console I can see that something is calling the previous job id and trying to update the jobs for this account too, even if there are no more jobs documents in Firebase…
The toggle button was working perfectly fine ( was changing only privacy settings per account ) before I have updated it with another func to change the jobs privacy too.
I am puzzled on how come this update, which is related to an action of a button, gets triggered automatically when the app launches?
Therefore, could someone please let me know if you have experienced something similar in the past and how did you solve it or how can I use the Instruments better than I am probably using them now to actually identify this ghost function ( hence I removed it completely from the code base and is still called ) that triggers this update ?
Thank you
So the reason half of us can’t access image playground is because we don’t have the full download of apple intelligence (i think ) so you might have downgrade and then update to see if that’s the reason.. to also check to see if I’m right or wrong check you settings go to iphone storage scroll all the way down click iOS at if it not 15gb or higher you might need to downgrade….. let me know if this helped anyone
Every time I fill out the business agreement details for my app transfer request from MindBodyOnline to my Apple developer account I get a banner with the error "Something went wrong. Please try again later."
Furthermore, after painstakingly completing all the fields for
New App Metadata
App Review Contact Information
checking the boxes
The fields are cleared and I receive the error.
I am stumped and have worked with the company that developed the initial app and am certain that I have all the fields correct.
Can someone help me get my Apple Developer App Transfer Request Business Agreement approved?
Hi Guys, I’m still stuck on the Access Requested for image creation , has anybody solve the problem yet , please? Im in the uk
From apple themselves