Search results for

file uri scheme

79,853 results found

Post

Replies

Boosts

Views

Activity

FSKit Sandbox restrictions and automatic tests
Hi, I am currently in the process of writing a fskit extension. My goal is it to implement something similar like unionfs/mergerfs with fskit. For this to work my extension requires access to a set of user provided file paths. I use FSGenericURLResource with query parameters for this. But the sandbox restrictions make this impossible. This is why I tried to implement a privileged helper, but this makes it even more complicated and slower. Is there a way to disable the sandbox restrictions for the extension? I don't plan any app store publishing which makes this even more frustrating. When I remove the sandbox entitlement, I can't load the plugin with pluginkit -a anymore. Or is there any other recommend way, except a privileged helper? Another question I have on my mind: How to write proper tests for an fskit extension? You can load the extension via pluginkit -a and also remove it, but you can't enable it in the system panel. I have no idea how to build automatic tests with this restriction. Lovely
5
0
191
Nov ’25
Reply to Persistent font registration crashes when fonts are delivered via Apple-Hosted Background Assets
[quote='867195022, Sandya, /thread/808036?answerId=867195022#867195022, /profile/Sandya'] This does prevent the crash. [/quote] Cool. [quote='867195022, Sandya, /thread/808036?answerId=867195022#867195022, /profile/Sandya'] the fonts still do not install system-wide [/quote] Bummer. [quote='867195022, Sandya, /thread/808036?answerId=867195022#867195022, /profile/Sandya'] Is .persistent font registration intended to work with fonts delivered through Apple-Hosted Background Assets? [/quote] I don’t know, but I’m not sure that matters. You want this to work, and that’s a pretty reasonable request. So either this as a bug or an enhancement request, and the path forward is the same in both cases: File a report in Feedback Assistant. However, looking at FB21109320 it seems like we’ve decided to use it to drive that investigation, rather than use it to track the CT annotation issue. So I don’t think there’s anything else for you to do here, other than to keep on eye on FB21109320 in Feedback Assistant. Shar
Nov ’25
Reply to How to add icon and thumbnail image for a Screensaver ?
[quote='867165022, pabugeater2, /thread/806641?answerId=867165022#867165022, /profile/pabugeater2'] because I was not changing the icon, and it had been previously cached. [/quote] OK. But you can test this by setting up a new macOS 15 machine and trying it there. I usually use a VM for this sort of thing, because it lets me quickly get back to a ‘fresh’ state by restoring a snapshot. [quote='867165022, pabugeater2, /thread/806641?answerId=867165022#867165022, /profile/pabugeater2'] it seems I learned to include two thumbnail files [/quote] Ah, that explains my confusion. Given that this isn’t documented as part of the screen saver API, it’s basically an implementation detail that you can’t rely on. Oh, and I’d be remiss if I didn’t repeat my standard spiel: The current screen saver API is based on legacy in-process plug-in technology. This results in a wide range of performance and compatibility problems. If you’re interested in having a better screen saver API, one based on app extensions, I encour
Topic: App & System Services SubTopic: General Tags:
Nov ’25
Reply to Reoccurring data access prompt issue with Swift Playgrounds 4.6.4 on macOS 26.1
Same problem here with 26.1 I have complete wild guess: The issue may originate from iCloud-Apple-whatever-enforced constraints within the local filesystem sandbox or from misconfigurations in the iCloud container provisioning layer or failures in the underlying iCloud service endpoints responsible for file coordination and metadata synchronization. Alternatively, the root cause could be an incomplete or corrupted code-signing pipeline within Xcode or the like. In addition, a failed or skipped notarization step, an unprocessed staple operation, or an artifact that was signed outside the expected keychain context can prevent the resulting binary from passing Apple’s runtime validation, ultimately blocking proper initialization. It has perhaps its root cause in the new (ugly and power lavishing 2007ish Windows Vista Aero designed) OS. Perhaps it's so complicated to fix, that this app is beyond (costly) repair. Best regards, S.
Nov ’25
Static library produced by Xcode 26 causes link error on Xcode 16
When a static library is built with Xcode 26 (with deployment target set to iOS 13) and then linked into an app project compiled with Xcode 16, the build process fails with the following linker error: Undefined symbols for architecture arm64: _swift_coroFrameAlloc This occurs even though both the static library and the app project have their deployment targets set to iOS 13.0. The static library works on Xcode 26, but fails to link on Xcode 16. This issue shows up with certain Swift syntax. For example, in my case, using a property getter and setter caused the compiler to emit a reference to _swift_coroFrameAlloc, which in turn triggered the issue. This issue prevents us from distributing pre-built static libraries compiled with Xcode 26 to teammates who are still using Xcode 16. I’ve filed feedback for this issue (FB21130604). Is there any way to work around it? For example, by adding specific Build Settings or something similar? A demo project is available here: https://github.com/Naituw/SwiftLibra
2
0
267
Nov ’25
Reply to Mac App Packaging
Inno Setup was a sweet app. I used to use that when I made Windows software. I don't know anything about Filemaker. A quick search says that runtimes were deprecated and removed years ago. Apparently Filemaker 18 was the last version to support them. There is some kind of iOS App SDK that may still be supported. It doesn't sound like this would be a quick and/or easy solution, but that seems to be all there is. After Hypercard, there was never the same kind of custom database app community (Clipper, Access, Paradox, etc.) as on PCs. I don't know what you mean by inherited icons. A DMG is just a disk image. Its use in installing software is problematic. Why use a zip files or pkg installer when you can use DMGs that make it 3 times more difficult? Look at the pkgutil tool. All you need is a folder with the app you want to install. Create a directory tree of all the locations where you want to install files. Then use pkgutil to create an installer for that. Forget everything I said about the M
Nov ’25
Notarization Time
Hi, I'm currently at 19 hours waiting for notarization. My dev account is new and this is the first time I'm submitting anything to be notarized. I've gathered from my research that this is normal (unfortunately). I figure the only thing I can do is wait, but is there any way for me to know if I'm waiting for a human to manually review it? I was going to file a support request, but I saw that they won't be responding to any support requests until after their Thanksgiving break, and I assume nobody is manually reviewing notary submissions for the next week+. I attached the submission below, thanks! createdDate: 2025-11-21T21:17:10.082Z id: c9746d42-1dc7-4641-aec1-62c6cedff1a2 name: ***********.zip status: In Progress
3
0
328
Nov ’25
Reply to DEXT (IOUserSCSIParallelInterfaceController): Direct I/O Succeeds, but Buffered I/O Fails with Data Corruption on Large File Copies
Hi Kevin, Regarding your previous analysis of the KEXT configuration, specifically where you pointed out the IOMaximumByteCount is actually 0x80000 (512KB) in this post. We observed the runtime logs of the legacy KEXT, and the results align perfectly with your observation. Even when copying a 2GB file, the KEXT actually splits the request into 512KB (0x80000) chunks per transfer. [ProcessParallelTask] [KEXT_CHECK] WRITE (0x2a) | T:0 L:0 | Size: 524288 bytes (512 KB) This confirms that our current 1MB limit in the DEXT actually exceeds the behavior of the legacy driver. Since the current setting has passed all data integrity verifications, we consider the transfer size issue resolved and will not pursue larger transfer sizes at this stage. As per your recommendation, we are currently implementing the UserProcessBundledParallelTasks architecture to strictly follow DriverKit best practices and optimize performance (it is currently causing the DEXT to crash, so we are in the middle of debugging it). Than
Topic: App & System Services SubTopic: Drivers Tags:
Nov ’25
crash while exectuing __llvm_profile_write_file() in Xcode26.0
I am developing an iOS in-app SDK for collecting code coverage data. The SDK writes coverage data to a specified file by calling __llvm_profile_set_filename and __llvm_profile_write_file. This implementation worked correctly until I switched to Xcode 26.0 to build my project. Now, when __llvm_profile_write_file() is executed, it crashes with the following error stack. Can anyone provide any assistance? Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000001 Exception Codes: 0x0000000000000001, 0x0000000000000001 Termination Reason: Namespace SIGNAL, Code 11, Segmentation fault: 11 Terminating Process: exc handler [454] Thread 96 name: Dispatch queue: com.test-coverage.processing Thread 96: Crashed: 0 Demo 0x122602ea8 initializeValueProfRuntimeRecord (in Demo) (InstrProfilingValue.c:351) 1 Demo 0x00000001226064c0 writeOneValueProfData (in Demo) (InstrProfilingWriter.c:153) 2 Demo 0x0000000122606308 writeValueProfData (in Demo) (InstrProfilingWriter.c:234)
0
0
187
Nov ’25
ARView environment.lighting IBL from HDR file
I have an iOS app that can display a USDZ model downloaded from the Internet (and cached locally) via an ARView. I would like to light that model with an image based light (IBL) also downloaded from the Internet. However, as far as I can tell, ARView can only create an IBL from a resource that has been compiled into the Xcode project and loaded with EnvironmentResource(named:in:) or EnvironmentResource.load(named:in:). Is there a way to create an EnvironmentResource from an HDRI via a file URL to use in ARView in iOS?
0
0
593
Nov ’25
Reply to PushToTalk session sometimes returns silence data after activation
I have a working walkie-talkie app based on the PushToTalk framework. Everything works fine except for an intermittent bug that I face from time to time on different devices with different iOS versions, from iOS 18 to iOS 26.2 Beta. The next time this occurs, please capture a sysdiagnose, file a bug on this, then post the bug number back here. What you're describing sounds similar to a CallKit issue (r.157725305). A fix is being investigated for the CallKit issue, but if it's happening to the PTT system, then that's something we'd need to address. Once I leave the channel and rejoin it again, the issue is fixed and I start to receive non silent buffers of varying size, as expected. Assuming this is similar to the CallKit issue, this works because it's updating the audio session ID that callservicesd uses to activate your audio session. Unfortunately, that also means that it's basically the only thing that WILL work. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: General Tags:
Nov ’25
Saving a file to ubiquitous storage overwrites iCloud version without conflict
Our app saves its data to iCloud by default. In most cases, this is working as intended & the data can be synced across devices with no problems. But recently, in testing, we discovered a situation where it's possible to save data before the NSMetadataQuery finishes & starts downloading the cloud files. When this happens, the query will then finish, and return the NEW file (with no other versions or conflicts). Is there a way to ensure that writing a file (version A) to ubiquitous storage when another version (version B) exists in the cloud is treated as a conflict, rather than just stomping all over the other version? I've tried querying the file metadata for the file URL (NSURLIsUbiquitousItemKey, NSMetadataUbiquitousItemDownloadingStatusKey, NSURLUbiquitousItemDownloadRequestedKey, NSURLUbiquitousItemHasUnresolvedConflictsKey) before saving, but it just returns nil.
0
0
95
Nov ’25