Search results for

“file uri scheme”

81,705 results found

Post

Replies

Boosts

Views

Activity

Reply to Get UDP/TCP Payload for NWConnections?
In the Network framework header file I have found the following doc comment for NWConnection.startDataTransferReport: /// Start a new pending data transfer report on a connection. Multiple /// reports may be created for a single NWConnection. The report begins /// capturing data when the connection moves to the .ready state, or when /// the report is created (whichever occurs last). So it seems that not capturing the TLS handshake is the intended behavior. Too bad! I also noticed that TLS alert messages are not included in the data report.
3w
Bonjour Conformance Test WARNING in Multicast DNS SHARED REPLY TIMING resolution
Hello and Good day! We are conducting Bonjour Conformance Test (BCT) for Printer device. BCT result is PASSED but with warning in Multicast DNS, specifically, WARNING: SHARED REPLY TIMING - UNIFORM RANDOM REPLY TIME DISTRIBUTION Other Shared Reply Timing is passed: PASSED: MULTIPLE QUESTIONS - SHARED REPLY TIMING - UNIFORM RANDOM REPLY TIME DISTRIBUTION Environment: BCT Tool Version: 1.5.4 (15400) MacOS Sequioa 15.5 DUT Firmware : Linux Debian 9 Apple mDNSResponder 1790.80.10 Service types: _ipps._tcp, _uscans._tcp, _ipp._tcp, _uscan._tcp Router : NEC AtermWR8370N Setup: 1-to-1 [Mac->Router<-DUT connection] Based on debug.log, this is where WARNING occurs: NOTICE 2026-03-04 10:51:06.870187+0900 _shared_reply_timing 04103: Shared reply response times: min = 26ms, max = 114ms, avg = 65.50ms WARNING 2026-03-04 10:51:06.870361+0900 _shared_reply_timing 04136: 50 percent of the replies within the correct range fell in the interval 20ms and 46ms (should be close to 25%). PASSED (SHARED REPLY TIMING) In the sa
9
0
236
3w
The xcode 26.3 project fails to compile after updating
0 0x10109152c __assert_rtn + 252 1 0x101006054 void std::__1::__introsort(ld::Atom const**, ld::Atom const**, ld::AliasAddressOrderer&, std::__1::iterator_traits::difference_type, bool) + 0 2 0x1010059a4 ld::LayoutLinkedImage::assignAtomOffsetsInSection(ld::SectionLayout&, unsigned int, bool) + 680 3 0x10100a724 void dispatchForEach(std::__1::span, unsigned long, ld::LayoutLinkedImage::sortAtomsWithinSections()::$_0)::'lambda'(unsigned long)::operator()(unsigned long) const + 7852 4 0x180818aec _dispatch_client_callout2 + 16 5 0x1808137f8 _dispatch_apply_invoke3 + 336 6 0x180818ad4 _dispatch_client_callout + 16 7 0x180801a60 _dispatch_once_callout + 32 8 0x180812938 _dispatch_apply_invoke + 252 9 0x180818ad4 _dispatch_client_callout + 16 10 0x1808359dc _dispatch_channel_invoke.cold.5 + 32 11 0x18081113c _dispatch_root_queue_drain + 736 12 0x180811784 _dispatch_worker_thread2 + 180 13 0x1809b7e10 _pthread_wqthread + 232 ld snapshot written at /tmp/AIChatDoctor-2026-03-10-150254.ld-snapshot ld: Assertio
1
0
101
3w
Reply to Recording a Packet Trace
Yes, that's the first thing I tried after tcpdump when I saw there were encrypted QUIC packets in the trace file. I could not get my device to connect to mitmproxy running on my Mac though, and running Proxyman directly on the device did not capture anything interesting.
3w
Reply to Apple Server Notifications V2
Please file a feedback ticket with details like Apple ID of the app and potentially a HAR file for the process of setting up the URLs. Steps to obtain a HAR log in Safari In Safari, go to the page where you are experiencing trouble. In the menu bar at the top, click Develop and select Show Web Inspector. Select the Network tab, select Preserve Log, then select the Trash icon. Refresh the page and reproduce the problem while the capture is running. After you successfully reproduce the issue, right-click any row of the activity pane and select Export HAR. Or select the Export icon beside Preserve Log (top right of Inspect Element section). Click the Console tab. Right-click any row and select Select all. Paste the content in a text file and name it console-log.txt.
3w
Reply to Is it possible to download or copy the iOS SDK for Xcode 26.1 using command-line tools? If so, how?
Thanks Ed, this did work. The confusion for me comes from the output & results of the downloadPlatform command above - the export file is automatically named iphonesimulator_26.1_23B86.dmg, and there's no mention in the output that the SDK Platform Support (ver 23B77) component has also been exported. There also wasn't anything in the output when running importPlatform to indicate that this component was being imported, however it did show up correctly in Xcode afterwards when viewing Settings -> Components. Perhaps some indication in the output from both of these commands that the platform support component is included would avoid this confusion?
3w
DeviceActivityReportExtension sandbox blocks all output channels — how to export resolved Application.bundleIdentifier?
DeviceActivityReportExtension sandbox blocks all output channels — how to export resolved Application.bundleIdentifier? Application.bundleIdentifier only resolves to a non-nil value inside a DeviceActivityReportExtension (ExtensionKit/XPC). The main app and DeviceActivityMonitor extension always return nil. However, the Report Extension's sandbox silently blocks every output channel I've tested: UserDefaults (App Group): Reads succeed, writes silently dropped File writes (App Group container): Fail silently or throw HTTP requests: Network blocked entirely Local Notifications: Couldn't communicate with a helper application UIPasteboard: Writes silently fail iCloud KVS: synchronize() returns false Both targets share the same com.apple.security.application-groups entitlement and group identifier. The main app reads and writes to the shared container normally — only the extension's writes fail. This means resolved bundle identifiers can only be rendered in the extension's own SwiftUI view and cannot be c
4
0
181
3w
Reply to LiveCommunicationKit on watchOS: Displaying visual content during active call?
Unfortunately, on watchOS, the system doesn't seem to treat a video call any differently from an audio call and won't dismiss the system UI once it's answered. Basically... yes, that's what it does. watchOS VoIP support has a very narrow focus, which basically locks the screen into the CallUI in exactly the way you're describing. If you'd like this support to be expanded, please file a bug and post the bug number back here. We would like for our platform to be able to display visual content on the watch's screen during the call – in other words, we would like to be able to treat this as a video call. I believe the only way to do this at the moment is to stream the incoming video like any other video feed while using a PlayAndRecord audio session to capture audio from the user. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: General Tags:
3w
Reply to NSFileManager getRelationship:ofDirectoryAtURL:toItemAtURL:error: returning NSURLRelationshipSame for Different Directories
Thanks for all the information! The other problem here is that you're assuming the APIs involved here operate on paths... when they don't. Perhaps I didn't explain myself well. I wasn't making assumptions about how the the APIs operate - the only thing I was claiming (well trying to) was that paths provide the concept of file location and in certain contexts that concept matters to GUI apps (with the NSBrowser example being an obvious one). The current API for file reference urls that I'm aware of don't try to solve that problem in any way. Note that this INCLUDES FSEvents. [...] If the directory you're monitoring moves... then FSEventStreamCreate will happily continue sending you events about that directory, NOT the original path location. If you want to know when the directory you're monitoring moves, then that's what kFSEventStreamCreateFlagWatchRoot Very interesting. Yeah I use that (watch root) With the watch root flag set it does seem to just track whatever is at the path. To test this
Topic: App & System Services SubTopic: Core OS Tags:
3w
Reply to Source view disappearing when interrupting a zoom navigation transition
Dear Developers, This is a known issue that the relevant engineering team is aware of. If there is a fix available, we will make sure to update this thread. For those who have not yet filed a bug report, feel free to do so and post the FB number here, to receive automatic updates on the issue. You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label Resolution. We're unable to share any updates on specific reports on the forums. For more details on when you'll see updates to your report, please see What to expect after submission. Thank you for your patience, Richard Yeh  Developer Technical Support
Topic: UI Frameworks SubTopic: SwiftUI
3w
Reply to Kernel Panic: Power state transition (0 -> 2) timeout during DriverKit (DEXT) load sequence (IOUserSCSIParallelInterfaceController)
I would like to express my gratitude to Kevin from Apple DTS Thank you and you’re very welcome. In our legacy KEXT, we utilized PMinit(), registerPowerDriver(), and joinPMtree() to precisely control the timing of power management registration. In transitioning to the DriverKit SDK, we have not found clear guidance on several key points: Please file a bug on this and then post the bug number back here. Power management is definitely an area where the documentation could definitely be improved. Next, a quick comment here: Specifically, SetPowerState_Impl returns kIOReturnSuccess immediately upon being called. Are you calling super: DriverKit calls this method to notify your service when the power state of its provider changes. Implement this method in your service object and use it to put your driver in a safe state for the new power setting. Call super as the last step in your implementation. I think failing to call super can cause exactly the panic you're describing. __ Kevin Elliott DTS Engineer, Co
Topic: App & System Services SubTopic: Drivers Tags:
3w
Reply to Incorrect menu consistency warnings logged in Tahoe for NSStatusItem, performance issues related?
Dear Developers, This is a known issue that the relevant engineering team is aware of. If there is a fix available, we will make sure to update this thread. For those who have not yet filed a bug report, feel free to do so and post the FB number here, to receive automatic updates on the issue. You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label Resolution. We're unable to share any updates on specific reports on the forums. For more details on when you'll see updates to your report, please see What to expect after submission. Thank you for your patience, Richard Yeh  Developer Technical Support
Topic: UI Frameworks SubTopic: AppKit Tags:
3w
Reply to URLByResolvingAliasFileAtURL: Appears to Be Broken - resolves to the the wrong folder
So if I create an alias of a folder in Finder and hand the alias to my app (I also moved the alias file to a new folder, but I did not move the original folder)... Please file a bug on this and then post the bug number back here. I can explain what's going on, but URLByResolvingAliasFileAtURL should always resolve to the same location as the Finder. Only seems to happen if the folder I move the alias to happens to contain a sibling folder that has the same title as the original folder. So, making things concrete, the actual issue here is the following configuration sequence: (1) Create an alias file to the target beside that target: target target alias NewDir target (2) Move the object into a new directory beside another object with the same name as the target: target NewDir target alias target What's going on here is that bookmark resolution is driven by heuristics, one factor of which is the relative position of the bookmark and its target. Those heuristics are what allow resoluti
Topic: UI Frameworks SubTopic: AppKit Tags:
3w
Reply to BLE Peripherals streaming speeds are significantly slowed with new hardware (iPhone 17, iPad A16)
Hi @Engineer , I'm wondering if you know has there been any update on this? I have filed feedback with system diagnoses and BLE packet sniffing data at the following link: FB21147185 Thanks
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
3w
Reply to Get UDP/TCP Payload for NWConnections?
In the Network framework header file I have found the following doc comment for NWConnection.startDataTransferReport: /// Start a new pending data transfer report on a connection. Multiple /// reports may be created for a single NWConnection. The report begins /// capturing data when the connection moves to the .ready state, or when /// the report is created (whichever occurs last). So it seems that not capturing the TLS handshake is the intended behavior. Too bad! I also noticed that TLS alert messages are not included in the data report.
Replies
Boosts
Views
Activity
3w
Bonjour Conformance Test WARNING in Multicast DNS SHARED REPLY TIMING resolution
Hello and Good day! We are conducting Bonjour Conformance Test (BCT) for Printer device. BCT result is PASSED but with warning in Multicast DNS, specifically, WARNING: SHARED REPLY TIMING - UNIFORM RANDOM REPLY TIME DISTRIBUTION Other Shared Reply Timing is passed: PASSED: MULTIPLE QUESTIONS - SHARED REPLY TIMING - UNIFORM RANDOM REPLY TIME DISTRIBUTION Environment: BCT Tool Version: 1.5.4 (15400) MacOS Sequioa 15.5 DUT Firmware : Linux Debian 9 Apple mDNSResponder 1790.80.10 Service types: _ipps._tcp, _uscans._tcp, _ipp._tcp, _uscan._tcp Router : NEC AtermWR8370N Setup: 1-to-1 [Mac->Router<-DUT connection] Based on debug.log, this is where WARNING occurs: NOTICE 2026-03-04 10:51:06.870187+0900 _shared_reply_timing 04103: Shared reply response times: min = 26ms, max = 114ms, avg = 65.50ms WARNING 2026-03-04 10:51:06.870361+0900 _shared_reply_timing 04136: 50 percent of the replies within the correct range fell in the interval 20ms and 46ms (should be close to 25%). PASSED (SHARED REPLY TIMING) In the sa
Replies
9
Boosts
0
Views
236
Activity
3w
The xcode 26.3 project fails to compile after updating
0 0x10109152c __assert_rtn + 252 1 0x101006054 void std::__1::__introsort(ld::Atom const**, ld::Atom const**, ld::AliasAddressOrderer&, std::__1::iterator_traits::difference_type, bool) + 0 2 0x1010059a4 ld::LayoutLinkedImage::assignAtomOffsetsInSection(ld::SectionLayout&, unsigned int, bool) + 680 3 0x10100a724 void dispatchForEach(std::__1::span, unsigned long, ld::LayoutLinkedImage::sortAtomsWithinSections()::$_0)::'lambda'(unsigned long)::operator()(unsigned long) const + 7852 4 0x180818aec _dispatch_client_callout2 + 16 5 0x1808137f8 _dispatch_apply_invoke3 + 336 6 0x180818ad4 _dispatch_client_callout + 16 7 0x180801a60 _dispatch_once_callout + 32 8 0x180812938 _dispatch_apply_invoke + 252 9 0x180818ad4 _dispatch_client_callout + 16 10 0x1808359dc _dispatch_channel_invoke.cold.5 + 32 11 0x18081113c _dispatch_root_queue_drain + 736 12 0x180811784 _dispatch_worker_thread2 + 180 13 0x1809b7e10 _pthread_wqthread + 232 ld snapshot written at /tmp/AIChatDoctor-2026-03-10-150254.ld-snapshot ld: Assertio
Replies
1
Boosts
0
Views
101
Activity
3w
Reply to Recording a Packet Trace
Yes, that's the first thing I tried after tcpdump when I saw there were encrypted QUIC packets in the trace file. I could not get my device to connect to mitmproxy running on my Mac though, and running Proxyman directly on the device did not capture anything interesting.
Replies
Boosts
Views
Activity
3w
Reply to Apple Server Notifications V2
Please file a feedback ticket with details like Apple ID of the app and potentially a HAR file for the process of setting up the URLs. Steps to obtain a HAR log in Safari In Safari, go to the page where you are experiencing trouble. In the menu bar at the top, click Develop and select Show Web Inspector. Select the Network tab, select Preserve Log, then select the Trash icon. Refresh the page and reproduce the problem while the capture is running. After you successfully reproduce the issue, right-click any row of the activity pane and select Export HAR. Or select the Export icon beside Preserve Log (top right of Inspect Element section). Click the Console tab. Right-click any row and select Select all. Paste the content in a text file and name it console-log.txt.
Replies
Boosts
Views
Activity
3w
Reply to Is it possible to download or copy the iOS SDK for Xcode 26.1 using command-line tools? If so, how?
Thanks Ed, this did work. The confusion for me comes from the output & results of the downloadPlatform command above - the export file is automatically named iphonesimulator_26.1_23B86.dmg, and there's no mention in the output that the SDK Platform Support (ver 23B77) component has also been exported. There also wasn't anything in the output when running importPlatform to indicate that this component was being imported, however it did show up correctly in Xcode afterwards when viewing Settings -> Components. Perhaps some indication in the output from both of these commands that the platform support component is included would avoid this confusion?
Replies
Boosts
Views
Activity
3w
DeviceActivityReportExtension sandbox blocks all output channels — how to export resolved Application.bundleIdentifier?
DeviceActivityReportExtension sandbox blocks all output channels — how to export resolved Application.bundleIdentifier? Application.bundleIdentifier only resolves to a non-nil value inside a DeviceActivityReportExtension (ExtensionKit/XPC). The main app and DeviceActivityMonitor extension always return nil. However, the Report Extension's sandbox silently blocks every output channel I've tested: UserDefaults (App Group): Reads succeed, writes silently dropped File writes (App Group container): Fail silently or throw HTTP requests: Network blocked entirely Local Notifications: Couldn't communicate with a helper application UIPasteboard: Writes silently fail iCloud KVS: synchronize() returns false Both targets share the same com.apple.security.application-groups entitlement and group identifier. The main app reads and writes to the shared container normally — only the extension's writes fail. This means resolved bundle identifiers can only be rendered in the extension's own SwiftUI view and cannot be c
Replies
4
Boosts
0
Views
181
Activity
3w
Reply to LiveCommunicationKit on watchOS: Displaying visual content during active call?
Unfortunately, on watchOS, the system doesn't seem to treat a video call any differently from an audio call and won't dismiss the system UI once it's answered. Basically... yes, that's what it does. watchOS VoIP support has a very narrow focus, which basically locks the screen into the CallUI in exactly the way you're describing. If you'd like this support to be expanded, please file a bug and post the bug number back here. We would like for our platform to be able to display visual content on the watch's screen during the call – in other words, we would like to be able to treat this as a video call. I believe the only way to do this at the moment is to stream the incoming video like any other video feed while using a PlayAndRecord audio session to capture audio from the user. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
3w
Reply to libclang_rt.fuzzer_osx.a not found
Indeed, it's not currently included. The best thing to do here is to file an enhancement request using Feedback Assistant so that its inclusion can be considered for the future. Please post the FB number here once you do! — Ed Ford,  DTS Engineer
Replies
Boosts
Views
Activity
3w
Reply to NSFileManager getRelationship:ofDirectoryAtURL:toItemAtURL:error: returning NSURLRelationshipSame for Different Directories
Thanks for all the information! The other problem here is that you're assuming the APIs involved here operate on paths... when they don't. Perhaps I didn't explain myself well. I wasn't making assumptions about how the the APIs operate - the only thing I was claiming (well trying to) was that paths provide the concept of file location and in certain contexts that concept matters to GUI apps (with the NSBrowser example being an obvious one). The current API for file reference urls that I'm aware of don't try to solve that problem in any way. Note that this INCLUDES FSEvents. [...] If the directory you're monitoring moves... then FSEventStreamCreate will happily continue sending you events about that directory, NOT the original path location. If you want to know when the directory you're monitoring moves, then that's what kFSEventStreamCreateFlagWatchRoot Very interesting. Yeah I use that (watch root) With the watch root flag set it does seem to just track whatever is at the path. To test this
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
3w
Reply to Source view disappearing when interrupting a zoom navigation transition
Dear Developers, This is a known issue that the relevant engineering team is aware of. If there is a fix available, we will make sure to update this thread. For those who have not yet filed a bug report, feel free to do so and post the FB number here, to receive automatic updates on the issue. You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label Resolution. We're unable to share any updates on specific reports on the forums. For more details on when you'll see updates to your report, please see What to expect after submission. Thank you for your patience, Richard Yeh  Developer Technical Support
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
3w
Reply to Kernel Panic: Power state transition (0 -> 2) timeout during DriverKit (DEXT) load sequence (IOUserSCSIParallelInterfaceController)
I would like to express my gratitude to Kevin from Apple DTS Thank you and you’re very welcome. In our legacy KEXT, we utilized PMinit(), registerPowerDriver(), and joinPMtree() to precisely control the timing of power management registration. In transitioning to the DriverKit SDK, we have not found clear guidance on several key points: Please file a bug on this and then post the bug number back here. Power management is definitely an area where the documentation could definitely be improved. Next, a quick comment here: Specifically, SetPowerState_Impl returns kIOReturnSuccess immediately upon being called. Are you calling super: DriverKit calls this method to notify your service when the power state of its provider changes. Implement this method in your service object and use it to put your driver in a safe state for the new power setting. Call super as the last step in your implementation. I think failing to call super can cause exactly the panic you're describing. __ Kevin Elliott DTS Engineer, Co
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
3w
Reply to Incorrect menu consistency warnings logged in Tahoe for NSStatusItem, performance issues related?
Dear Developers, This is a known issue that the relevant engineering team is aware of. If there is a fix available, we will make sure to update this thread. For those who have not yet filed a bug report, feel free to do so and post the FB number here, to receive automatic updates on the issue. You can see the status of your feedback in Feedback Assistant. There, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label Resolution. We're unable to share any updates on specific reports on the forums. For more details on when you'll see updates to your report, please see What to expect after submission. Thank you for your patience, Richard Yeh  Developer Technical Support
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
3w
Reply to URLByResolvingAliasFileAtURL: Appears to Be Broken - resolves to the the wrong folder
So if I create an alias of a folder in Finder and hand the alias to my app (I also moved the alias file to a new folder, but I did not move the original folder)... Please file a bug on this and then post the bug number back here. I can explain what's going on, but URLByResolvingAliasFileAtURL should always resolve to the same location as the Finder. Only seems to happen if the folder I move the alias to happens to contain a sibling folder that has the same title as the original folder. So, making things concrete, the actual issue here is the following configuration sequence: (1) Create an alias file to the target beside that target: target target alias NewDir target (2) Move the object into a new directory beside another object with the same name as the target: target NewDir target alias target What's going on here is that bookmark resolution is driven by heuristics, one factor of which is the relative position of the bookmark and its target. Those heuristics are what allow resoluti
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
3w