I'm working on a SwiftUI application that uses a couple different webviews in a tabview to render some mdx and codemirror editor.
The editor webview, the one that's much more complicated works as expected. Some errors appear in the console due to what I imagine is a race condition that I'll get around to fixing, but it works as expected.
The other webview which just renders a single, local html file to display a dead simple summary absolutely refuses to work. It first appears to work as expected (shows the same 'return type unsupported' error in the console though) on the initial request, but then refuses to process any JS functions for that particular webview. Even the functions themselves are being used between the two webviews, and they work as expected in the other. Even worse, when I copy and paste the generated JS code into the safari dev tools it works as expected, even in the broken webview.
I've spent almost 12 hours on this today so far, and have made zero progress. I've tried commenting out just about the entire website to narrow it down on the JS side without success, and I've done everything I can think of on the swift side.
To be transparent, I'm very new to Swift and SwiftUI, having only picked it up a few weeks ago, but I'm an experienced developer and every obvious solution fails to work.
From what I've gathered, this might have something to do with the first function call failing, despite the fact that it appears to work on the first function call, but then the javascript engine refusing to process additional requests. I'm not sure if that's the cause, but it certainly seems to make sense.
Is there a way to debug this more completely? Like I said, I'm very new to Swift and still missing neovim, so I'm still getting comfortable with the apple ecosystem of devtools, but I can't even figure out how to print out the return type since it fails before I'm able to inspect anything on the safari side
I did notice this error in the console as well, and I'm not quite sure what to make of it:
Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "((target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.rendering AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.networking AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.webcontent))" UserInfo={NSLocalizedFailureReason=((target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.rendering AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.networking AND target is not running or doesn't have entitlement com.apple.developer.web-browser-engine.webcontent))}>
And as I was digging for that one, I just noticed this:
WebContent[32934] 0x102011208 - [webPageID=306] WebPage::runJavaScriptInFrameInScriptWorld: Request to run JavaScript failed with error SecurityError: The operation is insecure.
What would trigger a security warning for running javascript against a local file?
Any help is greatly appreciated... this is driving me crazy.
Apple Developers
RSS for tagThis is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and foster a supportive community.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Over the past few months, I’ve been experiencing persistent, abnormal behavior on my iPhone. Here's a short timeline:
March 2025: Most apps log me out every time I close them.
April 2025: Stored passwords suddenly begin failing across apps and websites.
May–June 2025: Password recovery emails from Gmail accounts no longer arrive — suggesting that Gmail itself may be compromised or blocked/intercepted.
Given the escalation, I ran several diagnostics and extracted system-level logs. Below is a structured summary of findings that point toward potential remote access, network traffic rerouting, and possibly hidden use of Bluetooth or debugging interfaces.
Device Information
Model: iPhone17,1 (A17 chip)
iOS Version: 18.5 (Build 22F76)
Status: Stock, not jailbroken or running a developer build
Region: Netherlands
Carrier: KPN NL
Language/Locale: Dutch (nl-NL)
1. Evidence of Remote Services and XPC Connectivity
Source: remotectl_dumpstate.txt
More than 50 remote lockdown and diagnostic services are listed as active.
Notable entries:
com.apple.mobile.lockdown.remote.trusted and .untrusted
com.apple.mobile.file_relay.shim.remote
com.apple.webinspector.shim.remote
com.apple.pcapd.shim.remote
com.apple.bluetooth.BTPacketLogger.shim.remote
com.apple.mobile.insecure_notification_proxy.remote
This volume of .shim.remote and diagnostic services appears highly irregular for a non-debug, non-jailbroken device.
2. Skywalk Network Flows and Unusual Routing
Source: skywalk.txt
Dozens of flowswitch entries across interfaces like:
ipsec0-7, pdp_ip0-2, en0-2, awdl0
Apps such as Gmail, ChatGPT, Preferences, and com.apple.WebKit are marked as defunct, yet persist in flow tables.
Two specific daemons — replicatord and siriactionsd — appear on nearly every interface, in both QUIC and TCP6 traffic.
skywalkctl flow-route shows multiple external IP paths, with flows routed through ipsec7, owned by kernel_task.0 — indicate tunnelling?
3. System Anomalies and Resource Behavior
Inaccessible System Network Tools
Source: get-network-info.txt
All scutil calls fail (/usr/sbin/scutil does not exist).
This blocks access to:
DNS configuration (scutil --dns)
Proxy and VPN status (scutil --proxy, --nc list)
Reachability checks (scutil -r www.apple.com)
The absence of scutil is not expected right?
Unusual Resource Usage
Source: assetsd.diskwrites_resource-2025-06-25.json
assetsd, working on behalf of cloudphotod, wrote over 1 GB of memory-backed files in under 1.5 hours.
4. Metadata Confirmation
Source: Analytics-2025-06-27-020008.json
Confirms:
iPhone capacity: 256 GB
DRAM: 7.5 GB
Carrier: KPN NL
Apps marked as highly active ("Games", "Creativity") in analytics also appear as defunct in skywalk, suggesting ghost background processes.
Key Questions for the Developer Community
Are >50 remote .shim.remote services typical on iOS 18.5 (release build)? Or does this suggest tampering, an MDM configuration, or debug provisioning?
Could a misconfigured VPN or MDM profile enable persistent flow-switching across multiple interfaces (e.g., ipsec, pdp, awdl) and reroute app traffic such as Gmail?
Is it possible for a test or developer certificate to silently side-load a background daemon, or trigger services like pcapd or file_relay, without showing in Profiles or Settings?
Has anyone else seen the scutil binary missing or inaccessible on a stock iPhone? Could this be a sign of intentional lockdown or system modification?
If anyone on iOS 18.5 / iPhone17,1 can share their remotectl_dumpstate output, I'd like to compare the service count and see if this behavior is reproducible.
I’d appreciate any insight from those familiar with Apple’s system daemons, skywalk internals, or network service behavior. Happy to share sanitized logs or run additional diagnostics if needed.
Thanks in advance.
get-network-info.txt
route-info.txt
remotectl_dumpstate.txt
[
assetsd.diskwrites_resource-2025-06-25-221428.json
Topic:
Community
SubTopic:
Apple Developers
System data is beyond a joke now.
There constant logs being generated and stored somewhere with zero access and ability to delete or clear up. I’ve even tried changing the date hack, however this just created some space from system but mostly just unloaded my apps (a feature which I’ve now disabled, as virtually everything is unloaded now apart from essential items).
Apple support says wipe and start again, I’m sure that’s not a solution? Anyone figured out how to resolve this?
Also you can’t even force videos into the cloud, frustrating when I’ve got no space and pay for iCloud and have zero space left on my phone. It’s suppose to be intelligent.
Topic:
Community
SubTopic:
Apple Developers
Hey, I'm pre-launch, and can't find any sample financial reports. Really need to see exactly what apple sends out to finish my backend.
Anyone have a sample report, or willing to share one of their reports privately. (Promise to keep it private and destroy after use). I'm interested in exact format, not your sales.
Particularly interested in reports from people using in app sales and discount offer codes. But that's a bonus.
Thank you.
Topic:
Community
SubTopic:
Apple Developers
Hi everyone,
I’m developing an app for managing internet services, which includes features like controlling modems, paying internet bills, purchasing internet packages, buying cameras, subscribing to FSafety (modem management), UltraFast (boosting internet speed for gaming), and selling health-related devices like blood glucose monitors, as well as other telecom-related products.
I have some questions about Apple’s review process and payment policies:
Do features like paying internet bills, buying internet packages, purchasing cameras, subscribing to FSafety and UltraFast violate any of Apple’s policies (App Store Review Guidelines)?
If my app doesn’t violate any policies, how would Apple charge for these transactions, and what is the fee structure?
If I use an external payment gateway (not Apple’s) for transactions like paying bills or buying products, would I need to provide additional documentation for my app to be approved on the App Store?
What is the review process for apps with external payment features? Is there anything special I need to do when submitting the app to the App Store?
I would appreciate any insights from those who have experience with developing apps that include payment functionality.
Thanks so much!
Every broke I either open mail or the safari application they crash and eveytime I hit reopen and they crash again macOS 26 developer beta 2
Topic:
Community
SubTopic:
Apple Developers
I've got the initial WWDC beta of macOS 26 (25A5279m) installed inside a virtual machine (UTM), but can't seem to update to the second beta. Nothing is showing up within Software Update.
Is this because it's within a VM, or am I doing something wrong?
It'd be a real pain to have to install a new VM afresh with the RestoreImage for every update.
Looking to start developing at Swift. What is the best way to get started with a job related to Swift development? Is there any specific demanded certification I could pursue?
Thank you.
I just installed IOS 26.4 Beta 1 and on my 2023 Ram i get the Edit Pages option on the bottom. This happened when I first installed IOS 26 and the solution was to go to Display settings in CarPlay and turn off the Smart Zoom. After this latest install the Edit Pages is back and I no longer have the Smart Zoom option to turn off
I’m concerned because my iCloud account was recently migrated to AWS (Amazon Web Service) against my will, and now it seems.like people are rummaging through my files, photos, and mail, When I try to contact Apple Support, I get bumped to a spoofed site. Calling the hotline is the same, I get a Siri operator with platitudes and gaslighting but no action. I have run sysdiagnose and it looks really sketchy.
Can anyone help?
Updated iPhone to 26 beta 2, everything is ok but battery, battery is changed, not original. My phone can't charge higher than 1% and turns off every 5 minutes, even connecting to wireless charger and cable at the same time don't work, restored iPhone thru iTunes.I hope I will be able to install new beta without any problems because loving the new design, hoping for the best. Thanks.
My FB-FB18327769
As l proceeded through the enrollment/membership.
I found the price is fixed for US$99. At the end. What about Renewal.
Is there any cost reduction for Apple Developers?
Hello, everyone,
I hope you're all doing well. I'm facing an unfortunate issue with my Apple Developer Program membership that was suddenly terminated. I received a generic email from Apple, stating that my membership was revoked, but no specific reason was provided for this action.
I appealed the decision, offering all possible explanations and commitments to adhere to guidelines, only to be met with a reply stating that the decision is "final" and no subsequent appeals will be processed.
Has anyone here faced a similar situation?
Are there any steps that can be taken to understand the reason for termination when Apple doesn't disclose it?
Is there a way to open a dialogue with Apple, even when they've stated that their decision is final?
Would publicizing this issue through social media or blogs be advisable?
This is a particularly trying time for us, as we are recovering from a recent earthquake and our app is our sole source of income.
Any insights, advice, or shared experiences would be greatly appreciated.
Thank you for taking the time to read my post.
We don't violate any apple's policies... any information would be welcome.
Best regards,
I was experimenting with the screen time controls to see how it affected an app I am working on and I created a screen time passcode that I later forgot. Any fix? I can't find the "forgot passcode" button anywhere and I am now unable to turn off find my as a result.
I can no longer specify more than 10 items to be shown in the Recent Items menu. The control to set "Recent documents, applications and servers" seems to have vanished from System Settings.
Topic:
Community
SubTopic:
Apple Developers
On recent versions of macOS (including current betas), when enabling Internet Sharing from Ethernet to Wi-Fi, the configured WPA2/WPA3 password is ignored and the shared network is broadcast as an open (unsecured) network.
Steps to Reproduce:
Connect Mac to Ethernet via USB/LAN adapter
Go to System Settings > General > Sharing > Internet Sharing
Set up Wi-Fi options with a valid WPA2/WPA3 password
Enable Internet Sharing
Expected Behavior:
Devices should see a password-protected Wi-Fi network with a lock icon and require authentication.
Actual Behavior:
The network appears unsecured (no lock icon)
Devices like iPhone connect without entering a password
This can be verified immediately from iOS Wi-Fi settings
Additional Notes:
Reproducible across macOS 15.5 RC and 16.0,26.0 Developer Beta
Feedback has been submitted via Feedback Assistant multiple times
This is a serious security risk if used in public or shared environments
Has anyone else experienced this? Any known workarounds besides terminal-level defaults or Plist edits?
Thanks in advance!
Topic:
Community
SubTopic:
Apple Developers
I just installed macOS Tahoe beta on a mac mini. It says I am not connected to the internet, and attempts to use file sharing fail. Network status says that Ethernet and WiFi are working. Any suggestions?
We are currently facing an issue with implementing "Sign in with Apple" in our iOS application built using Flutter. We've implemented "Sign in with Apple" using Firebase and On attempting to sign in, we are encountering the following error: “Sign-up not completed.”
We have verified that:
The Apple Sign is enabled on our Firebase Project.
The Sign in with Apple capability is enabled in the Xcode project.
The Apple Sign-In capability is enabled for the App ID on our Apple Developer account.
All the certificates were re-provisioned after enabling the capability.
The Bundle ID matches across Apple Developer portal and our app configuration.
The email and fullName scopes are requested in the credential.
Please let us know if you require any additional information. We’re happy to provide whatever is needed.
Here's a screenshot attached to explain the problem better
I recently updated iOS 26 beta and now my SingPass keeps crashing when I tried to open it.
can I revert back to iOS 18?
Topic:
Community
SubTopic:
Apple Developers
I have updated my iPhone 14 Pro to iOS 26 without any problems.
I also have AirPod Pro A2698 version 7E93.
The new update of the firmware is not shown.developer mode is activated.on the pre-release is AirPod Pro visible if connected but no possibility for an update.what am I doing wrong or is there any thing I have to wait for thank you
Topic:
Community
SubTopic:
Apple Developers