Search results for

“file uri scheme”

81,752 results found

Post

Replies

Boosts

Views

Activity

Reply to Instruments Crash using swiftui instrument
@HolgerGrauslund Thank you for your post. Unfortunately, I am unable to discuss other individuals’ bugs or timelines regarding an issue publicly. Additionally, I am uncertain if you are experiencing the same issue. I recommend creating a new thread and providing as much information as possible, including crash files, sysdiagnose results, and a focused project that reproduces the issue. This information will assist engineers in identifying the issue you are encountering. Thank you for your understanding. Albert Pascual
  Worldwide Developer Relations.
3w
Reply to Xcode Devices "Download Container" no longer works on latest Xcode 26.0 (24228) (Build 17A324)
I have same problem with Xcode 26.3 Bun on Xcode 16.4 - Download Container worked User Info: { DVTErrorCreationDateKey = 2026-03-11 14:49:00 +0000; NSURL = file:///Users/alexander/Developer/..../AppData/Library/SplashBoard/Snapshots/; } -- The specified file could not be transferred. Domain: com.apple.dt.CoreDeviceError Code: 7000 User Info: { NSURL = file:///Users/alexander/Developer/..../AppData/Library/SplashBoard/Snapshots/; } -- The request from the client is missing one or more required fields: A valid filename cannot end in a path separator character Domain: com.apple.dt.remoteservices.error Code: 11015 -- System Information macOS Version 15.7.4 (Build 24G517) Xcode 26.3 (24587) (Build 17C529) Timestamp: 2026-03-11T17:49:00+03:00
3w
Reply to invalid API object reference
Thanks for the help. I put the zipped application and the zipped log file on GitHub as a pre-release for my app. They are here: https://github.com/hasii2011/umldiagrammer/releases/tag/0.3.0 Code sign command: codesign --sign ${IDENTITY} '--force --timestamp --options=runtime <.so or .dylib to sign> Verification Command /usr/sbin/spctl -vvvv --assess --type exec /Users/humberto.a.sanchez.ii/PycharmProjects/umldiagrammer/dist/umldigrammer.app
3w
Please, Apple. I am begging you. Fix the broken Text-To-Speech in macOS
Every new build of macOS 26 further breaks some part of text-to-speech or voice control. I have filed multiple bug reports on this, yet the situation gets worse, not better, with each new build. I am begging you to fix this! I am disabled and rely on these features to work. Accessibility in macOS is more than 50% of my reasons for choosing Macs over Windows. Here's some of what is currently broken: Speak announcements only works if the Samantha voice is selected. If other voices are selected either the announcements don't speak, or they default to the Samantha voice. This became broken with 26.1. Announce the time only works with some voices. I would like to use Australian English Siri 2 but with that voice selected it defaults to Samantha. This became broken with 26.4. With voice control enabled there are two menu bar icons. The blue voice control icon and an orange microphone an application is accessing the microphone icon. This orange icon started appearing with 26.3. For four years of macOS relea
9
0
2.5k
3w
Reply to App group broken on Sequoia
I’m not sure what’s going wrong here but I have a couple of diagnostics tests for you to run. Both require you to get your file provider started. Once you have that: Use launchctl procinfo to check whether the process has the entitlements validated flag set. App Groups: macOS vs iOS: Working Towards Harmony has an explanation of how to do this. Use codesign to check the entitlements of the running process: % codesign -d --entitlements - PID where PID is the process ID. What do you see? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Entitlements Tags:
3w
Reply to Initial stack construction
I've done a lot more work on this, and I have the impression that this is a bug in macOS, at least on 12 and 13 Intel. #include #include #include #include #include #include // used for debugging apple pointer issues, see // https://bugs.kde.org/show_bug.cgi?id=517304 #define DEBUG_ENV // On Darwin there's this secret fourth argument, 'apple'. // That's kind of like a cut down obfuscated version of auxv. // For the moment we only support the first entry, executable_path= int main(int argc, char *argv[], char *envp[], char *apple[]) { char *pargv = calloc((PATH_MAX+1), sizeof(char)), *pappl = calloc((PATH_MAX+1), sizeof(char)); int i; for (i = 0; envp[i]; i++) { #if defined(DEBUG_ENV) fprintf(stderr, apple-main-arg: i %d &envp[i] %p envp[i] %sn, i, &envp[i], envp[i]); #endif } #if defined(DEBUG_ENV) fprintf(stderr, 2 slots after envpn); fprintf(stderr, apple-main-arg: i %d &envp[i] %p envp[i] %sn, i, &envp[i], envp[i]); fprintf(stderr, apple-main-arg: i %d &envp[i] %p envp[i] %sn, i+1,
3w
Unexpected Ambisonics format
When trying to load an ambisonics file using this project: https://github.com/robertncoomber/NativeiOSAmbisonicPlayback/ I get Unexpected Ambisonics format. Interestingly, loading a 3rd order ambisonics file works fine: let ambisonicLayoutTag = kAudioChannelLayoutTag_HOA_ACN_SN3D | 16 let AmbisonicLayout = AVAudioChannelLayout(layoutTag: ambisonicLayoutTag) let StereoLayout = AVAudioChannelLayout(layoutTag: kAudioChannelLayoutTag_Stereo) So it's purely related to the kAudioChannelLayoutTag_Ambisonic_B_Format
0
0
47
3w
Reply to libswiftCompatibilitySpan.dylib missing in XCode 26.3
Thanks for filing FB22189729. [quote='879085022, DTS Engineer, /thread/817488?answerId=879085022#879085022'] I’m going to talk to some colleagues [/quote] Based on that discussion, I think I’m gonna let my original recommendation stand, that is, add a dummy use of Subprocess within your app. It’s a bit kludgy, but it’ll get the job done. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
3w
Reply to invalid API object reference
That message corresponds to errSecCSInvalidObjectRef (-67071). That’s an obscure one. I’ve been supporting Mac coded signing for almost a decade and I’ve never seen it before. Well done! [quote='818406021, hasii2021, /thread/818406, /profile/hasii2021'] Can't figure out how to post the log file. [/quote] You can post log files as text attachments. I have info on how to do that in Posting a Crash Report. Its focus is on crash reports, but the process for posting a text attachment is the same in both cases. However, the notary log is unlikely to help here because, as you say, the app notarises successfully. Rather, this is a code signing error on your local Mac. [quote='818406021, hasii2021, /thread/818406, /profile/hasii2021'] when I try to verify the signature I get the above error. [/quote] How are you doing that? Normally I’d verify a signature like so: % codesign -v --deep --strict /path/to/my.app Is that what you’re doing? As to the potential causes of errSecCSInvalidObjectRef, there are
3w
Reply to ScreenCapture permissions disappear and don't return
My general approach for problems like this is to set up a VM that’s never seen my product before and then use that VM to test various user-level sequences. For example, I might install version N of the app, check that screen capture works, then install version N+1, and then check that it continues to work. The advantage of doing this on a VM is that you’re starting from a fresh machine and you can save and restore snapshots for your various tests. If your product passes those tests, and thus works in general, this becomes a question of what’s happening on specific user machines to cause the reported issue? That’s a much harder question to answer. macOS has lots of flexibility — with the user able to install and remove apps at will, install multiple copies of your app, and so on — and that flexibility causes serious challenges for TCC. There’s no easy way to map from specific symptoms back to the root cause. However, it’s unlikely to be your app’s issue. I mean, there’s nothing you can do at the code level to
Topic: Privacy & Security SubTopic: General Tags:
3w
On iOS 26, HLS alternate audio track selection behaves inconsistently
Summary On iOS 26, HLS alternate audio track selection behaves inconsistently on both VOD and live streams: the French track falls back to the DEFAULT=YES (English) track after manual selection, and in some cases switching to a non-default track appears to work but it is then impossible to switch back to English. Environment iOS version: 26 Players affected: native Safari on iOS 26 and THEOplayer (issue also reproducible on THEOplayer's own demo page) Stream type: HLS/CMAF with demuxed alternate audio renditions (CMFC container) Affected stream types: both VOD and live streaming Issue NOT present on iOS 17/18 Manifest #EXTM3U #EXT-X-VERSION:4 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=8987973,AVERAGE-BANDWIDTH=8987973,VIDEO-RANGE=SDR,CODECS=avc1.640028,RESOLUTION=1920x1080,FRAME-RATE=29.970,AUDIO=program_audio video_1080p.m3u8 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=program_audio,LANGUAGE=en,ASSOC-LANGUAGE=en,NAME=English,AUTOSELECT=YES,DEFAULT=YES,CHANNELS=2,URI=audio_ENG.m3u8 #EXT-X-MEDIA:TYP
1
0
115
3w
Unable to access sourceIcon URL in AccessoryNotification.File - AccessoryError error 0
Environment iOS Version: 26.4 Beta (Build 17E5170d) Xcode Version: 26.4 Beta Framework: AccessoryNotifications, AccessoryTransportExtension Description When implementing AccessoryNotifications.NotificationsForwarding.AccessoryNotificationsHandler, I'm unable to retrieve the URL for sourceIcon from AccessoryNotification. The file.url property throws AccessoryError error 0 with the message unable to get file URL. Code Sample func add( notification: AccessoryNotification, alertingContext: AlertingContext, alertCoordinator: any AlertCoordinating ) { Task { if let sourceIcon = notification.sourceIcon { do { let url = try await sourceIcon.url // Throws AccessoryError error 0 let data = try Data(contentsOf: url) // Process icon data... } catch { print(Failed to get sourceIcon URL: (error)) // Error: The operation couldn't be completed. // (AccessoryNotifications.AccessoryError error 0.) } } } } Observed Behavior The sourceIcon property is present and its type is correctly reported as public.image: │ sourceI
0
0
70
3w
Is there a way in AppKit to apply the Liquid Glass soft edge effect to a view placed outside an NSScrollView?
I’m developing a text editor that provides a line number view. This view is placed next to the NSScrollView that contains the main text view, rather than inside the scroll view. The line number view updates its drawing in sync with the NSScrollView’s scrolling and text editing in the NSTextView, so it can display the correct line numbers. This approach worked fine through macOS 15, but on macOS 26 with Liquid Glass, the line numbers end up being drawn without the expected blur/soft edge effect under the window toolbar area. In AppKit, some view controllers provide APIs to switch edge effects between soft/hard, but I can’t find any API to control this for the window toolbar region. I considered simply not drawing the numbers outside the content area, but if possible I’d like to apply the Tahoe-style soft edge effect instead. Does anyone have ideas? Is this currently impossible, meaning the only option is to file a feedback/API request? Also, for various reasons, the traditional approach of implementin
Topic: UI Frameworks SubTopic: AppKit
0
0
94
3w
Reply to iOS 26: default gray background on UITabBarItem
Hello SuneethaR, Apologies, the tintColor of a view controller's tab bar item refers to the color of its title and image, not the grey background that appears when an item is highlighted through selection. There's no supported way for you to customize it with the APIs currently available. If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here. If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why? We also recommend you move away from the Appearance APIs and reduce your use of custom backgrounds when customizing navigation elements. Let me know if you'd like to know more, Richard Yeh  Developer Technical Support
Topic: UI Frameworks SubTopic: UIKit
3w
Reply to Instruments Crash using swiftui instrument
@HolgerGrauslund Thank you for your post. Unfortunately, I am unable to discuss other individuals’ bugs or timelines regarding an issue publicly. Additionally, I am uncertain if you are experiencing the same issue. I recommend creating a new thread and providing as much information as possible, including crash files, sysdiagnose results, and a focused project that reproduces the issue. This information will assist engineers in identifying the issue you are encountering. Thank you for your understanding. Albert Pascual
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
3w
Reply to SwiftUI Instruments tool error: "Time Profiler: Time Profiler does not support the iOS platform"
Hi there! That is certainly not expected – could you please file a feedback with us, including model, OS version and sysdiagnose from your iOS device? Thanks, Kacper
Replies
Boosts
Views
Activity
3w
Reply to Xcode Devices "Download Container" no longer works on latest Xcode 26.0 (24228) (Build 17A324)
I have same problem with Xcode 26.3 Bun on Xcode 16.4 - Download Container worked User Info: { DVTErrorCreationDateKey = 2026-03-11 14:49:00 +0000; NSURL = file:///Users/alexander/Developer/..../AppData/Library/SplashBoard/Snapshots/; } -- The specified file could not be transferred. Domain: com.apple.dt.CoreDeviceError Code: 7000 User Info: { NSURL = file:///Users/alexander/Developer/..../AppData/Library/SplashBoard/Snapshots/; } -- The request from the client is missing one or more required fields: A valid filename cannot end in a path separator character Domain: com.apple.dt.remoteservices.error Code: 11015 -- System Information macOS Version 15.7.4 (Build 24G517) Xcode 26.3 (24587) (Build 17C529) Timestamp: 2026-03-11T17:49:00+03:00
Replies
Boosts
Views
Activity
3w
Reply to invalid API object reference
Thanks for the help. I put the zipped application and the zipped log file on GitHub as a pre-release for my app. They are here: https://github.com/hasii2011/umldiagrammer/releases/tag/0.3.0 Code sign command: codesign --sign ${IDENTITY} '--force --timestamp --options=runtime <.so or .dylib to sign> Verification Command /usr/sbin/spctl -vvvv --assess --type exec /Users/humberto.a.sanchez.ii/PycharmProjects/umldiagrammer/dist/umldigrammer.app
Replies
Boosts
Views
Activity
3w
Please, Apple. I am begging you. Fix the broken Text-To-Speech in macOS
Every new build of macOS 26 further breaks some part of text-to-speech or voice control. I have filed multiple bug reports on this, yet the situation gets worse, not better, with each new build. I am begging you to fix this! I am disabled and rely on these features to work. Accessibility in macOS is more than 50% of my reasons for choosing Macs over Windows. Here's some of what is currently broken: Speak announcements only works if the Samantha voice is selected. If other voices are selected either the announcements don't speak, or they default to the Samantha voice. This became broken with 26.1. Announce the time only works with some voices. I would like to use Australian English Siri 2 but with that voice selected it defaults to Samantha. This became broken with 26.4. With voice control enabled there are two menu bar icons. The blue voice control icon and an orange microphone an application is accessing the microphone icon. This orange icon started appearing with 26.3. For four years of macOS relea
Replies
9
Boosts
0
Views
2.5k
Activity
3w
Reply to App group broken on Sequoia
I’m not sure what’s going wrong here but I have a couple of diagnostics tests for you to run. Both require you to get your file provider started. Once you have that: Use launchctl procinfo to check whether the process has the entitlements validated flag set. App Groups: macOS vs iOS: Working Towards Harmony has an explanation of how to do this. Use codesign to check the entitlements of the running process: % codesign -d --entitlements - PID where PID is the process ID. What do you see? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
3w
Reply to Initial stack construction
I've done a lot more work on this, and I have the impression that this is a bug in macOS, at least on 12 and 13 Intel. #include #include #include #include #include #include // used for debugging apple pointer issues, see // https://bugs.kde.org/show_bug.cgi?id=517304 #define DEBUG_ENV // On Darwin there's this secret fourth argument, 'apple'. // That's kind of like a cut down obfuscated version of auxv. // For the moment we only support the first entry, executable_path= int main(int argc, char *argv[], char *envp[], char *apple[]) { char *pargv = calloc((PATH_MAX+1), sizeof(char)), *pappl = calloc((PATH_MAX+1), sizeof(char)); int i; for (i = 0; envp[i]; i++) { #if defined(DEBUG_ENV) fprintf(stderr, apple-main-arg: i %d &envp[i] %p envp[i] %sn, i, &envp[i], envp[i]); #endif } #if defined(DEBUG_ENV) fprintf(stderr, 2 slots after envpn); fprintf(stderr, apple-main-arg: i %d &envp[i] %p envp[i] %sn, i, &envp[i], envp[i]); fprintf(stderr, apple-main-arg: i %d &envp[i] %p envp[i] %sn, i+1,
Replies
Boosts
Views
Activity
3w
Unexpected Ambisonics format
When trying to load an ambisonics file using this project: https://github.com/robertncoomber/NativeiOSAmbisonicPlayback/ I get Unexpected Ambisonics format. Interestingly, loading a 3rd order ambisonics file works fine: let ambisonicLayoutTag = kAudioChannelLayoutTag_HOA_ACN_SN3D | 16 let AmbisonicLayout = AVAudioChannelLayout(layoutTag: ambisonicLayoutTag) let StereoLayout = AVAudioChannelLayout(layoutTag: kAudioChannelLayoutTag_Stereo) So it's purely related to the kAudioChannelLayoutTag_Ambisonic_B_Format
Replies
0
Boosts
0
Views
47
Activity
3w
Reply to libswiftCompatibilitySpan.dylib missing in XCode 26.3
Thanks for filing FB22189729. [quote='879085022, DTS Engineer, /thread/817488?answerId=879085022#879085022'] I’m going to talk to some colleagues [/quote] Based on that discussion, I think I’m gonna let my original recommendation stand, that is, add a dummy use of Subprocess within your app. It’s a bit kludgy, but it’ll get the job done. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
3w
Reply to invalid API object reference
That message corresponds to errSecCSInvalidObjectRef (-67071). That’s an obscure one. I’ve been supporting Mac coded signing for almost a decade and I’ve never seen it before. Well done! [quote='818406021, hasii2021, /thread/818406, /profile/hasii2021'] Can't figure out how to post the log file. [/quote] You can post log files as text attachments. I have info on how to do that in Posting a Crash Report. Its focus is on crash reports, but the process for posting a text attachment is the same in both cases. However, the notary log is unlikely to help here because, as you say, the app notarises successfully. Rather, this is a code signing error on your local Mac. [quote='818406021, hasii2021, /thread/818406, /profile/hasii2021'] when I try to verify the signature I get the above error. [/quote] How are you doing that? Normally I’d verify a signature like so: % codesign -v --deep --strict /path/to/my.app Is that what you’re doing? As to the potential causes of errSecCSInvalidObjectRef, there are
Replies
Boosts
Views
Activity
3w
Reply to ScreenCapture permissions disappear and don't return
My general approach for problems like this is to set up a VM that’s never seen my product before and then use that VM to test various user-level sequences. For example, I might install version N of the app, check that screen capture works, then install version N+1, and then check that it continues to work. The advantage of doing this on a VM is that you’re starting from a fresh machine and you can save and restore snapshots for your various tests. If your product passes those tests, and thus works in general, this becomes a question of what’s happening on specific user machines to cause the reported issue? That’s a much harder question to answer. macOS has lots of flexibility — with the user able to install and remove apps at will, install multiple copies of your app, and so on — and that flexibility causes serious challenges for TCC. There’s no easy way to map from specific symptoms back to the root cause. However, it’s unlikely to be your app’s issue. I mean, there’s nothing you can do at the code level to
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
3w
On iOS 26, HLS alternate audio track selection behaves inconsistently
Summary On iOS 26, HLS alternate audio track selection behaves inconsistently on both VOD and live streams: the French track falls back to the DEFAULT=YES (English) track after manual selection, and in some cases switching to a non-default track appears to work but it is then impossible to switch back to English. Environment iOS version: 26 Players affected: native Safari on iOS 26 and THEOplayer (issue also reproducible on THEOplayer's own demo page) Stream type: HLS/CMAF with demuxed alternate audio renditions (CMFC container) Affected stream types: both VOD and live streaming Issue NOT present on iOS 17/18 Manifest #EXTM3U #EXT-X-VERSION:4 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-STREAM-INF:BANDWIDTH=8987973,AVERAGE-BANDWIDTH=8987973,VIDEO-RANGE=SDR,CODECS=avc1.640028,RESOLUTION=1920x1080,FRAME-RATE=29.970,AUDIO=program_audio video_1080p.m3u8 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=program_audio,LANGUAGE=en,ASSOC-LANGUAGE=en,NAME=English,AUTOSELECT=YES,DEFAULT=YES,CHANNELS=2,URI=audio_ENG.m3u8 #EXT-X-MEDIA:TYP
Replies
1
Boosts
0
Views
115
Activity
3w
Unable to access sourceIcon URL in AccessoryNotification.File - AccessoryError error 0
Environment iOS Version: 26.4 Beta (Build 17E5170d) Xcode Version: 26.4 Beta Framework: AccessoryNotifications, AccessoryTransportExtension Description When implementing AccessoryNotifications.NotificationsForwarding.AccessoryNotificationsHandler, I'm unable to retrieve the URL for sourceIcon from AccessoryNotification. The file.url property throws AccessoryError error 0 with the message unable to get file URL. Code Sample func add( notification: AccessoryNotification, alertingContext: AlertingContext, alertCoordinator: any AlertCoordinating ) { Task { if let sourceIcon = notification.sourceIcon { do { let url = try await sourceIcon.url // Throws AccessoryError error 0 let data = try Data(contentsOf: url) // Process icon data... } catch { print(Failed to get sourceIcon URL: (error)) // Error: The operation couldn't be completed. // (AccessoryNotifications.AccessoryError error 0.) } } } } Observed Behavior The sourceIcon property is present and its type is correctly reported as public.image: │ sourceI
Replies
0
Boosts
0
Views
70
Activity
3w
Is there a way in AppKit to apply the Liquid Glass soft edge effect to a view placed outside an NSScrollView?
I’m developing a text editor that provides a line number view. This view is placed next to the NSScrollView that contains the main text view, rather than inside the scroll view. The line number view updates its drawing in sync with the NSScrollView’s scrolling and text editing in the NSTextView, so it can display the correct line numbers. This approach worked fine through macOS 15, but on macOS 26 with Liquid Glass, the line numbers end up being drawn without the expected blur/soft edge effect under the window toolbar area. In AppKit, some view controllers provide APIs to switch edge effects between soft/hard, but I can’t find any API to control this for the window toolbar region. I considered simply not drawing the numbers outside the content area, but if possible I’d like to apply the Tahoe-style soft edge effect instead. Does anyone have ideas? Is this currently impossible, meaning the only option is to file a feedback/API request? Also, for various reasons, the traditional approach of implementin
Topic: UI Frameworks SubTopic: AppKit
Replies
0
Boosts
0
Views
94
Activity
3w
Reply to iOS 26: default gray background on UITabBarItem
Hello SuneethaR, Apologies, the tintColor of a view controller's tab bar item refers to the color of its title and image, not the grey background that appears when an item is highlighted through selection. There's no supported way for you to customize it with the APIs currently available. If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here. If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why? We also recommend you move away from the Appearance APIs and reduce your use of custom backgrounds when customizing navigation elements. Let me know if you'd like to know more, Richard Yeh  Developer Technical Support
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
3w