Search results for

“file uri scheme”

81,725 results found

Post

Replies

Boosts

Views

Activity

Metadata in Video stripped by Share Sheet / Airdrop
I have an application which records video along with some custom metadata and a chapter track. The resultant video is stored in the Camera Roll. When sharing the video via the Share Sheet or AirDrop, the metadata track is stripped entirely (the chapter markers are preserved) Sharing via AirDrop with the All Photos Data option does include the metadata track, as does copying from the device with Image Capture but this is a bad user experience as the user must remember to explicitly select this option, and the filename is lost when sending this way. I have also tried various other approaches (such as encoding my metadata in a subtitle track, which I didn't expect to be stripped as it's an accessibility concern) but it's also removed. Essentially I am looking for a definitive list of things that are not stripped or if there's a way to encode a track in some way to indicate it should be preserved. The metadata is added via AVTimedMetadataGroup containing one AVMutableMetadataItem which has its value as a JSON str
0
0
231
1w
Reply to filecopy fails with errno 34 "Result too large" when copying from NAS
All it takes, as you demonstrated, to get copyfile to fail is to feed it a file with a resource fork. Not exactly. Creating that failure required intentionally breaking a compressed file, which isn’t something that should be happening in the wild. That is, I replicated the problem that leads to this error, but I still don't know what/how the scenario is being created in the first place. In regards to the potential compression situation, I'm assuming Finder copying doesn't involve the user or set UF_COMPRESSED? Or does it? Correct, it's just copying the file. It'd be great if Finder shared the same copy engine with the rest of us, at least whatever issues would be consistent system-wide. But I get it…it probably won't ever happen. To be clear here, the isn't here isn't really about the Finder being special- to some extent we DID make the Finder's copy engine available, as that's what FSCopyObject[1] actually does. However, the problem here is twofold: The Finder's copy full copy engi
Topic: App & System Services SubTopic: Core OS Tags:
1w
Reply to DriverKit Entitlement Model Has No Viable Path for Open Source and Community-Maintained Drivers
A free or reduced-cost entitlement path for non-commercial volunteer-maintained drivers If you haven't already, please file a bug asking for the dev-only entitlements to be enabled on free developer accounts, and post the bug number back here. I can't promise it will happen, but it's an interesting idea that I don't think we've really considered. Published approval criteria and timelines so projects can plan accordingly Unfortunately, publishing truly formal criteria is much more difficult than it sounds since, in practice, it's very difficult to come up with a criteria set that EXACTLY covers every reasonable use case while also excluding every possible unreasonable use case... and that assumes we could even come up with every use case. However, on this point: Even if the developer is a professional company, some legacy hardware will go unsupported because of a lack of support from the vendor. Providing a way for users who need access to older hardware would be needed. We understand that the nature
Topic: App & System Services SubTopic: Drivers Tags:
1w
Reply to FileManager.replaceItemAt(_:withItemAt:) fails sporadically on ubiquitous items
What makes copies slow isn't the writes; it's the reads, since the data still has to be pulled off the disk so it can be sent back to write. That makes sense and does indeed seem to be the reason for the speed after first import (the developer of LibZip said much the same recently when I was asking for more details about how it takes advantage of file cloning). The initial read of the large file takes a while, but after that saving is fast, even on reopening the file (because it is read on open). Anyway, thanks again - this discussion has lead to some nice optimisations in the way I'm working with LibZip as well as working around the save error.
Topic: App & System Services SubTopic: Core OS Tags:
1w
Reply to File Export from iOS - eventually import too
It took me a little bit to realize that tapping on the text in the Share to Files interface provided a way to change the file name - when I share one item. In some online tutorials there was a way to set the full filename (like Export.csv) - but maybe that's only when writing to the app's file directory. Would you agree? I can't really think of a clean way to be able to name 2 files in that interface - so I fully understand why that's not available - and therefore I don't plan to proceed to a feedback for this. I should be able to combine elements so that I'm only sharing 1 item in for my original request. Could you clarify how DTS works now relative to these questions answered here on the forum? Since I did ask for a DTS - does this count as one? It doesn't matter to me right now because my dev account will renew soon. Thanks so much!
Topic: UI Frameworks SubTopic: SwiftUI
1w
Reply to Cannot find devices in RemoteImmersiveSpace
Hi @hungng Could you try running the Spatial Rendering App template and see if you can reproduce the issue there? To do so: Create a new project in Xcode by choosing File > New > Project. Navigate to the macOS section of the template chooser. Select the Spatial Rendering App template. Let me know if you run into the same issue with the template, thanks!
Topic: Spatial Computing SubTopic: General Tags:
1w
Advanced App Clip Experiences — Backend Shows PUBLISHED but iOS Returns "App Clip Unavailable" (CDN Propagation Failure)
We have 7 Advanced App Clip Experiences that have been stuck showing Received in the App Store Connect UI for 90+ days. However, after inspecting the underlying API response, we can confirm all 7 experiences show key: PUBLISHED, doc_count: 7 on the backend. Despite this, scanning a QR code on a device without the app installed returns App Clip Unavailable on every experience. This appears to be a CDN propagation failure — the backend is PUBLISHED but the edge nodes serving iOS devices are returning stale or missing data. Evidence – – App Clip Diagnostics tool shows all green checks for our registered experience URLs (screenshots attached) – App Store Connect UI shows Received for all 7 experiences – Backend API response (/appclips/api/v1/experiences) shows: jsonstatuses: { buckets: [ { key: PUBLISHED, doc_count: 7 } ] } – iOS devices without the app installed still return App Clip Unavailable when scanning QR codes – App version 1.4(6) is live and Ready for Distribution – AASA file is correctly confi
0
0
117
1w
Reply to Broken autocomplete in Xcode 26
Thank you for your post. I see that you have already submitted those files for the issue and appreciate your efforts. The team is currently experiencing high workloads and only communicates when a fix is released due to company policies. I can assure you that this issue is on the team’s priority list. It has been marked as an existing bug and will be addressed as soon as a fix is available. Once the fix is released, the team will notify you via Feedback Assistant to test the new release. I understand that the process can sometimes be slow, and this bug may have been present for a longer period than anticipated. Albert Pascual
  Worldwide Developer Relations.
1w
Passkey UI displays app icon from applinks association even when webcredentials is not configured
Summary When an app is associated with a domain via applinks in the Apple App Site Association (AASA) file, the app's icon is displayed next to passkey entries in the iOS passkey selection UI (e.g., in Safari's sign-in dialog). This occurs even when: The AASA file does not contain a webcredentials section The passkey's relying party ID (rp.id) matches the domain, but the app has no webcredentials association The URL path of the passkey login page does not match any paths specified in the applinks configuration Environment iOS 18.6.2 iPhone 16 Pro Safari / Passkey UI via WebAuthn Steps to Reproduce Create an iOS app and register it in App Store Connect (or distribute via TestFlight) Configure the AASA file on the domain with only applinks — no webcredentials section: json{ applinks: { apps: [], details: [ { appIDs: [TEAMID.com.example.myapp], components: [ { /: /specific-path/* } ] } ] } } Implement WebAuthn/passkey registration on the same domain with the domain as rp.id Install the
0
0
479
1w
Reply to FSKit passthrough sample fails to mount
Please try again after a restart. I went through this process myself and hit very similar symptoms. I found that fskitd had a bunch of threads stuck like this: 816 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 7004) [0x19b4ceb5c] 816 ??? (fskitd + 132900) [0x100988724] 816 ??? (fskitd + 86796) [0x10097d30c] 816 ??? (fskitd + 87588) [0x10097d624] 816 ??? (fskitd + 50740) [0x100974634] 816 objc_sync_enter + 20 (libobjc.A.dylib + 70452) [0x19b245334] 816 816 __ulock_wait2 + 8 (libsystem_kernel.dylib + 60532) [0x19b656c74] *816 ??? (kernel.release.t6031 + 6477368) [0xfffffe0008ea1638] (blocked by turnstile waiting for fskitd [634] thread 0x30444d) Worse yet, the number of threads kept growing, every time I retried the mount command! I was able to clear this by restarting, after which the mount command worked as expected. I did some spelunking based on internal resources and it seems that these threads are deadlocked due to some previous error starting the extension. Hence my idea to restart, in an a
Topic: App & System Services SubTopic: Core OS Tags:
1w
Background upload issue in WatchOS
We are developing a watchOS application that records long audio sessions and uploads them to our backend in chunks (~5 MB each) using pre-signed URLs and URLSession background upload. Current behavior: While audio recording is active, uploads continue successfully even when the app is in the background. Once the recording stops, if multiple chunks (e.g., 10+) are still pending, the remaining uploads do not proceed in the background and appear to be suspended. We attempted to use WKExtendedRuntimeSession (mindfulness type) to allow sufficient time to enqueue background upload tasks, but the session is invalidated when the app goes to the background (e.g., wrist down or app inactive), which prevents reliable scheduling of uploads. Additionally, we added the entitlement: com.apple.developer.extended-runtime-session (mindfulness) in the Watch app entitlements file, but Xcode automatic signing fails with: “Provisioning profile does not include the com.apple.developer.extended-runtime-session entitlement.”
2
0
141
1w
Metadata in Video stripped by Share Sheet / Airdrop
I have an application which records video along with some custom metadata and a chapter track. The resultant video is stored in the Camera Roll. When sharing the video via the Share Sheet or AirDrop, the metadata track is stripped entirely (the chapter markers are preserved) Sharing via AirDrop with the All Photos Data option does include the metadata track, as does copying from the device with Image Capture but this is a bad user experience as the user must remember to explicitly select this option, and the filename is lost when sending this way. I have also tried various other approaches (such as encoding my metadata in a subtitle track, which I didn't expect to be stripped as it's an accessibility concern) but it's also removed. Essentially I am looking for a definitive list of things that are not stripped or if there's a way to encode a track in some way to indicate it should be preserved. The metadata is added via AVTimedMetadataGroup containing one AVMutableMetadataItem which has its value as a JSON str
Replies
0
Boosts
0
Views
231
Activity
1w
Reply to filecopy fails with errno 34 "Result too large" when copying from NAS
All it takes, as you demonstrated, to get copyfile to fail is to feed it a file with a resource fork. Not exactly. Creating that failure required intentionally breaking a compressed file, which isn’t something that should be happening in the wild. That is, I replicated the problem that leads to this error, but I still don't know what/how the scenario is being created in the first place. In regards to the potential compression situation, I'm assuming Finder copying doesn't involve the user or set UF_COMPRESSED? Or does it? Correct, it's just copying the file. It'd be great if Finder shared the same copy engine with the rest of us, at least whatever issues would be consistent system-wide. But I get it…it probably won't ever happen. To be clear here, the isn't here isn't really about the Finder being special- to some extent we DID make the Finder's copy engine available, as that's what FSCopyObject[1] actually does. However, the problem here is twofold: The Finder's copy full copy engi
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1w
Reply to DriverKit Entitlement Model Has No Viable Path for Open Source and Community-Maintained Drivers
A free or reduced-cost entitlement path for non-commercial volunteer-maintained drivers If you haven't already, please file a bug asking for the dev-only entitlements to be enabled on free developer accounts, and post the bug number back here. I can't promise it will happen, but it's an interesting idea that I don't think we've really considered. Published approval criteria and timelines so projects can plan accordingly Unfortunately, publishing truly formal criteria is much more difficult than it sounds since, in practice, it's very difficult to come up with a criteria set that EXACTLY covers every reasonable use case while also excluding every possible unreasonable use case... and that assumes we could even come up with every use case. However, on this point: Even if the developer is a professional company, some legacy hardware will go unsupported because of a lack of support from the vendor. Providing a way for users who need access to older hardware would be needed. We understand that the nature
Topic: App & System Services SubTopic: Drivers Tags:
Replies
Boosts
Views
Activity
1w
Reply to FileManager.replaceItemAt(_:withItemAt:) fails sporadically on ubiquitous items
What makes copies slow isn't the writes; it's the reads, since the data still has to be pulled off the disk so it can be sent back to write. That makes sense and does indeed seem to be the reason for the speed after first import (the developer of LibZip said much the same recently when I was asking for more details about how it takes advantage of file cloning). The initial read of the large file takes a while, but after that saving is fast, even on reopening the file (because it is read on open). Anyway, thanks again - this discussion has lead to some nice optimisations in the way I'm working with LibZip as well as working around the save error.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1w
Reply to Family Controls extensions stuck in "Submitted"
@voyage11 Please file a code-level support request with your Team ID for assistance.
Topic: Code Signing SubTopic: Entitlements Tags:
Replies
Boosts
Views
Activity
1w
Reply to Why are Family Controls API requests taking this long?
@SamuelOsondu Did you use the following link to file a code-level support request: https://developer.apple.com/support/technical If not, please use this link to file a code-level support request that includes your Team ID.
Replies
Boosts
Views
Activity
1w
Reply to File Export from iOS - eventually import too
It took me a little bit to realize that tapping on the text in the Share to Files interface provided a way to change the file name - when I share one item. In some online tutorials there was a way to set the full filename (like Export.csv) - but maybe that's only when writing to the app's file directory. Would you agree? I can't really think of a clean way to be able to name 2 files in that interface - so I fully understand why that's not available - and therefore I don't plan to proceed to a feedback for this. I should be able to combine elements so that I'm only sharing 1 item in for my original request. Could you clarify how DTS works now relative to these questions answered here on the forum? Since I did ask for a DTS - does this count as one? It doesn't matter to me right now because my dev account will renew soon. Thanks so much!
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
1w
Reply to WKWebView could not access local javascript files
Thanks Apple, I filed DTS ticket, and get the solution from Apple Engineer. It is resolved.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to Cannot find devices in RemoteImmersiveSpace
Hi @hungng Could you try running the Spatial Rendering App template and see if you can reproduce the issue there? To do so: Create a new project in Xcode by choosing File > New > Project. Navigate to the macOS section of the template chooser. Select the Spatial Rendering App template. Let me know if you run into the same issue with the template, thanks!
Topic: Spatial Computing SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Advanced App Clip Experiences — Backend Shows PUBLISHED but iOS Returns "App Clip Unavailable" (CDN Propagation Failure)
We have 7 Advanced App Clip Experiences that have been stuck showing Received in the App Store Connect UI for 90+ days. However, after inspecting the underlying API response, we can confirm all 7 experiences show key: PUBLISHED, doc_count: 7 on the backend. Despite this, scanning a QR code on a device without the app installed returns App Clip Unavailable on every experience. This appears to be a CDN propagation failure — the backend is PUBLISHED but the edge nodes serving iOS devices are returning stale or missing data. Evidence – – App Clip Diagnostics tool shows all green checks for our registered experience URLs (screenshots attached) – App Store Connect UI shows Received for all 7 experiences – Backend API response (/appclips/api/v1/experiences) shows: jsonstatuses: { buckets: [ { key: PUBLISHED, doc_count: 7 } ] } – iOS devices without the app installed still return App Clip Unavailable when scanning QR codes – App version 1.4(6) is live and Ready for Distribution – AASA file is correctly confi
Replies
0
Boosts
0
Views
117
Activity
1w
Reply to WKWebView could not access local javascript files
Hi, If this is still reproducing, could you file a feedback report, and possibly attach a demo Xcode project that is reproducing the issue?
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to Broken autocomplete in Xcode 26
Thank you for your post. I see that you have already submitted those files for the issue and appreciate your efforts. The team is currently experiencing high workloads and only communicates when a fix is released due to company policies. I can assure you that this issue is on the team’s priority list. It has been marked as an existing bug and will be addressed as soon as a fix is available. Once the fix is released, the team will notify you via Feedback Assistant to test the new release. I understand that the process can sometimes be slow, and this bug may have been present for a longer period than anticipated. Albert Pascual
  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
1w
Passkey UI displays app icon from applinks association even when webcredentials is not configured
Summary When an app is associated with a domain via applinks in the Apple App Site Association (AASA) file, the app's icon is displayed next to passkey entries in the iOS passkey selection UI (e.g., in Safari's sign-in dialog). This occurs even when: The AASA file does not contain a webcredentials section The passkey's relying party ID (rp.id) matches the domain, but the app has no webcredentials association The URL path of the passkey login page does not match any paths specified in the applinks configuration Environment iOS 18.6.2 iPhone 16 Pro Safari / Passkey UI via WebAuthn Steps to Reproduce Create an iOS app and register it in App Store Connect (or distribute via TestFlight) Configure the AASA file on the domain with only applinks — no webcredentials section: json{ applinks: { apps: [], details: [ { appIDs: [TEAMID.com.example.myapp], components: [ { /: /specific-path/* } ] } ] } } Implement WebAuthn/passkey registration on the same domain with the domain as rp.id Install the
Replies
0
Boosts
0
Views
479
Activity
1w
Reply to FSKit passthrough sample fails to mount
Please try again after a restart. I went through this process myself and hit very similar symptoms. I found that fskitd had a bunch of threads stuck like this: 816 _dispatch_call_block_and_release + 32 (libdispatch.dylib + 7004) [0x19b4ceb5c] 816 ??? (fskitd + 132900) [0x100988724] 816 ??? (fskitd + 86796) [0x10097d30c] 816 ??? (fskitd + 87588) [0x10097d624] 816 ??? (fskitd + 50740) [0x100974634] 816 objc_sync_enter + 20 (libobjc.A.dylib + 70452) [0x19b245334] 816 816 __ulock_wait2 + 8 (libsystem_kernel.dylib + 60532) [0x19b656c74] *816 ??? (kernel.release.t6031 + 6477368) [0xfffffe0008ea1638] (blocked by turnstile waiting for fskitd [634] thread 0x30444d) Worse yet, the number of threads kept growing, every time I retried the mount command! I was able to clear this by restarting, after which the mount command worked as expected. I did some spelunking based on internal resources and it seems that these threads are deadlocked due to some previous error starting the extension. Hence my idea to restart, in an a
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
1w
Background upload issue in WatchOS
We are developing a watchOS application that records long audio sessions and uploads them to our backend in chunks (~5 MB each) using pre-signed URLs and URLSession background upload. Current behavior: While audio recording is active, uploads continue successfully even when the app is in the background. Once the recording stops, if multiple chunks (e.g., 10+) are still pending, the remaining uploads do not proceed in the background and appear to be suspended. We attempted to use WKExtendedRuntimeSession (mindfulness type) to allow sufficient time to enqueue background upload tasks, but the session is invalidated when the app goes to the background (e.g., wrist down or app inactive), which prevents reliable scheduling of uploads. Additionally, we added the entitlement: com.apple.developer.extended-runtime-session (mindfulness) in the Watch app entitlements file, but Xcode automatic signing fails with: “Provisioning profile does not include the com.apple.developer.extended-runtime-session entitlement.”
Replies
2
Boosts
0
Views
141
Activity
1w