Not really, my issue also appears only in the Simulator – when I tested the app bundle on the real 18.4 Beta/RC device, it worked just fine.
Now, the more I'm testing it, the “trick“ with Info.plist
exceptions seems not to work anymore, only setting the .websiteDataStore = .nonPersistent()
allows me at least render the desired website right now.
Got a bunch of logged issues on the way, as follows.
1️⃣ Error caught in webView(_:didFailProvisionalNavigation:withError:)
:
| |
| 0x1040bbc18 - [pageProxyID=12, webPageID=13, PID=8501] WebPageProxy::didFailProvisionalLoadForFrame: frameID=16, isMainFrame=1, domain=NSURLErrorDomain, code=-1001, isMainFrame=1, willInternallyHandleFailure=0 |
| |
| Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={NSErrorFailingURLStringKey=https: |
| "LocalDataTask <EE8D03C0-F32B-4DC7-9D77-4E3F5A5694C2>.<2>" |
| ), NSLocalizedDescription=The request timed out., _WKRecoveryAttempterErrorKey=<WKReloadFrameErrorRecoveryAttempter: 0x6000002557c0>, networkTaskDescription=LocalDataTask <EE8D03C0-F32B-4DC7-9D77-4E3F5A5694C2>.<2>, _kCFStreamErrorDomainKey=4, NSUnderlyingError=0x600000c11d70 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _kCFStreamErrorCodeKey=-2102} |
| |
| 0x103a4a818 - [pageProxyID=12, webPageID=13, PID=9737] WebPageProxy::didFailProvisionalLoadForFrame: frameID=16, isMainFrame=1, domain=NSURLErrorDomain, code=-1005, isMainFrame=1, willInternallyHandleFailure=0 |
| |
| Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={NSErrorFailingURLStringKey=https: |
| "LocalDataTask <764262C2-9135-4B73-B98C-A0404487BC91>.<2>" |
| ), NSLocalizedDescription=The network connection was lost., _WKRecoveryAttempterErrorKey=<WKReloadFrameErrorRecoveryAttempter: 0x6000002ddd40>, networkTaskDescription=LocalDataTask <764262C2-9135-4B73-B98C-A0404487BC91>.<2>, _kCFStreamErrorDomainKey=4, NSUnderlyingError=0x600000c96760 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={_kCFStreamErrorCodeKey=-4, _kCFStreamErrorDomainKey=4}}, _kCFStreamErrorCodeKey=-4} |
2️⃣ Random log mentioning browser engine entitlements:
| |
| 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))}> |
| 0x12700e0b0 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'XPCConnectionTerminationWatchdog' for process with PID=8136, error: (null) |
3️⃣ Random log containing QUIC & network issues:
| |
| quic_conn_change_current_path [C4.1.1.1:2] [-fc2c137b006e9a75] tried to change paths, but no alternatives were found |
| ...repetitively... |
| |
| Task <854C1530-6678-4EBA-8279-353D981F20E0>.<3> finished with error [-1017] Error Domain=NSURLErrorDomain Code=-1017 "cannot parse response" UserInfo={_kCFStreamErrorCodeKey=-1, NSUnderlyingError=0x600000c81d10 {Error Domain=kCFErrorDomainCFNetwork Code=-1017 "(null)" UserInfo={NSErrorPeerAddressKey=<CFData 0x6000021454f0 [0x1e6ebb4f0]>{length = 16, capacity = 16, bytes = 0x100201bb8efb256a0000000000000000}, _kCFStreamErrorCodeKey=-1, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <854C1530-6678-4EBA-8279-353D981F20E0>.<3>, _NSURLErrorRelatedURLSessionTaskErrorKey=( |
| "LocalDataTask <854C1530-6678-4EBA-8279-353D981F20E0>.<3>" |
| ), NSLocalizedDescription=cannot parse response, NSErrorFailingURLStringKey=https: |
| |
| |
4️⃣ Some Simulator stuff from Console app:
| nw_endpoint_flow_failed_with_error [C16.1.1.4 18.245.62.104:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0[802.11], expensive, uses wifi)] already failing, returning |
| |
| nw_connection_copy_protocol_metadata_internal_block_invoke [C16] Client called nw_connection_copy_protocol_metadata_internal on unconnected nw_connection |
| |
| quic_conn_change_current_path [C12.1.1.1:2] [-e80eabd0b655b188] tried to change paths, but no alternatives were found |
| |
| [app<com.skypicker.Skypicker((null))>:9733] client not entitled to get limitationsForInstance: <Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}> |
| |
| 0x1048f0818 12 Server protocol violation 0x02 |
| |
| 0x1048f0818 12 Control stream closed but connection is alive |
| |
| nw_flow_service_writes Failing write request <nw_write_request> [57: Socket is not connected] |
| |
| Task <3643AD6D-70F8-4862-B533-79F663D61C69>.<2> HTTP load failed, 555/0 bytes (error code: -1017 [4:-1]) |
| |
| nehelper sent invalid response: <dictionary: 0x1e6e8d320> { count = 1, transaction: 0, voucher = 0x0, contents = |
| "XPCErrorDescription" => <string: 0x1e6e8d4b8> { length = 18, contents = "Connection invalid" } |
| } |
| |
| nw_connection_add_timestamp_locked_on_nw_queue [C7] Hit maximum timestamp count, will start dropping events |
I've just updated to Xcode 16.3 RC 2 & tested (no change), RC Simulator runtime seems like hasn't changed from RC1.
iOS 18.3 Simulator still works fine, even if launched from latest Xcode RC.
Feel free to reach me if needed, I can test whatever I'd be able to, will continue investigating as well. 👍