Search results for

file uri scheme

79,849 results found

Post

Replies

Boosts

Views

Activity

Reply to "Signing certificate" and post-installation assignment fail due to IOPCIPrimaryMatch
However, currently, if I enter &, the Signing Certificate status displays Failed. Based on the current situation, does this mean that when resubmitting, I'm required to enter the following value, including &? I don't think it actually matters. More specifically, if you submitted with a value of: 0x00001916&0x0000FFFF We'd HAVE to modify that to: 0x00001916&0x0000FFFF That is, we CANNOT create a provisioning profile that directly contained that first configuration. That configuration is invalid XML. I don't think any of our tooling will allow it to be created, and I do know that none of our validators will accept it. Now, theoretically, we could construct an entitlement which displayed as: 0x00001916&0x0000FFFF Because its raw text value was: 0x00001916&0x0000FFFF However: I believe our internal tooling is set up to prevent that. Even if it didn't, our tooling actually shows the raw value when we create entitlements, and the approvers know enough about all this to recognize that the
Topic: Code Signing SubTopic: Entitlements Tags:
3w
Resources for Retro style Games wanting 90 degree Window corners
I've been thinking of bringing some older games back to the modern Mac. Rewriting old titles in Swift but using the original data files that assume use of non-rounded corners Windows. Many of these games require all the Window space of a 90 degree cornered Window. Can anyone point me at some useful workarounds or Is Apple simply deaf to the needs of this type of product?
2
0
458
3w
macOS 26.1 Tahoe on ARM: FinderSync extension does not work
When running the currently latest version of macOS (26.1) on a machine with ARM CPU (I could not reproduce the issue with Intel-Based machines) Finder Sync extensions do not work any more in general. Steps to reproduce the problem: In Xcode create a new macOS App project with default settings (in my case I chose XIB for the UI and Objective-C as language, and disabled testing, but that should not make any difference) In Xcode add a new target / Finder Sync Extension to the project with default settings, this adds a new Finder Sync Extension with example code to the app. Run the application and open Finder and navigate to /Users/Shared/MySyncExtension Documents In the system settings (Login Items & Extensions) enable the extension (Listed as File Provider). On systems where it is working, in the context menu of that folder an entry Example Menu Item will appear. On systems where it does not work it is missing. Some findings: Adding the *.appex with pluginkit -a registers the extension as expected,
10
0
291
3w
Reply to Dropping support for Intel from Mac Catalyst App
Thanks for the post. This is interesting you want to remove some support. On top of my head. What about setting the architecture the project supports? Xcode Project Settings: Open your project in Xcode. Go to your project settings by selecting the project file in the Project Navigator. Select your app target, then navigate to the Build Settings tab. In the search bar, type Valid Architectures. You may need to show all settings by clicking the All button at the top. Set Valid Architectures to arm64. This change ensures that your app is built only for Apple Silicon, which uses the ARM architecture. Will that work for what you trying to accomplish? Other developers here may have better ideas of how to drop support for Intel. Please be sure to note that if you targeting the App Store. In general, App Store does not allow you to ‘narrow’ your requirements. You can’t remove support for device type in a newer version. There is a device narrowing exception that you can apply for to allow this sort of thing.
3w
Reply to BGContinuedProcessingTask code pauses when device is locked
Is there any resolution on the horizon for this issue? Have you specifically tested this in iOS 26.1? FB19916760 should have been fixed in that release. Would it help if I file a Feedback Assistant report or can I join an existing one? If it's happening on 26.1, then the next step is to test in the latest seed* of iOS (iOS 26.2 beta 3/23C5044b). If it's still happening there, then please file a bug, upload sysdiagnose, and then post the bug number back here. *This both makes sure it's still happening and avoids being asked to reproduce on the latest seed. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
3w
Reply to Are read-only filesystems currently supported by FSKit?
I suppose a lot of my confusion lies in how FSBlockDeviceResource.blockSize is described as The logical block size, the size of data blocks used by the file system, which I understand to mean that in my case, I should be able to set it to the value stored in the superblock (let's say that's 4096). So, the more useful description is what's in the discussion: FSBlockDeviceResource.physicalBlockSize: This is equivalent to the DKIOCGETPHYSICALBLOCKSIZE device parameter. Conceptually, this means the smallest transfer the device is physically capable of transferring. In high-level API terms, all I/O done to the rdev (raw dev node) MUST be an even multiple of this value, otherwise the I/O will immediately fail without ever reaching the hardware driver. FSBlockDeviceResource.blockSize: This is equivalent to the DKIOCGETBLOCKSIZE device parameter. This value is the device’s preferred I/O size, meaning the size it would like to have even if it COULD handle smaller requests. Two points to understand here: Much
Topic: App & System Services SubTopic: Core OS Tags:
3w
Reply to reference preinstalled certificate keypair from an MDM profile
For additional security we would like to avoid keeping generated certificates (their private keys) on our server after installing them on a device, This is a very good goal for security. However it still involves the movement of private keys, which is inherently less secure than a system where the private key never moves. Apple devices offer support for ACME and SCEP. With those protocols the private key is generated on the device and never moves. In addition Apple's support for ACME includes support for hardware-bound keys, which offer very strong protections against exporting private keys. Considering your attention to the security of your architecture, I would strongly suggest adopting ACME instead of identities generated by your MDM server. That aside, configuration profiles require that (in nearly all cases) when one payload references another payload, both payloads must be in the same configuration profile. That requirement applies to all identity types (PKCS12, ACME and SCEP). Declarative Device Manage
3w
Reply to WKNavigationActionPolicy of "cancel" prints stack trace to console
Our engineering teams need to investigate this issue, as resolution may involve changes to Apple's software. Please file a bug report, include a small Xcode project and some directions that can be used to reproduce the problem, and post the Feedback number here once you do. If you post the Feedback number here I'll check the status next time I do a sweep of forums posts where I've suggested bug reports. Bug Reporting: How and Why? has tips on creating your bug report.
Topic: Safari & Web SubTopic: General Tags:
3w
Building SimpleAudioDriver example
Hi there, I am trying to build the Apple SimpleAudioDriver example but fail with codesign and/or provisioning. I would be ok for now with the local option, but XCode 16.4 doesn't show the option build to run locally (SIP is disabled). When using Automatically manage signing it ends in a Please file a bug report. I found that having two different development teams tripped it up, so I deleted all certificates and keys and made sure to be only signed into one account in Xcode. Can anyone give advice? Thanks a ton! Here is the URL to the sample: https://developer.apple.com/documentation/coreaudio/building-an-audio-server-plug-in-and-driver-extension macOS: 15.6.1 XCode: 16.4 Hardware: MacBook Pro M2 Max SIP: disabled
11
0
1.1k
3w
Reply to SwiftData
The SwiftData files can be found via the modelConfiguration.url property, typically in the program container's Application Support folder. If you have a ModelContainer, you can pass it to something like this: showDatabase.txt Which will print all the filenames and sizes for the sqlite databases as well as any support files for model attributes marked as external storage.
3w
Crashing build when testing my app
The Test target not build for not such file or directory: 'CoreGraphics'. Not sure why I get this error, but I configured the target without forgetting the variables BUNDLE_LOADER with $(BUILT_PRODUCTS_DIR)/MyExistingApp.app/MyExistingApp value and TEST_HOST with $(BUNDLE_LOADER) value. App target (not the test target), the Symbols Hidden by Default build setting its equal to NO, unlike the Test target that is set to YES. Any variable more for this? I'm not sure if I should take anything into account when using Xcode 26.1.1 and Swift Testing framework.
1
0
188
3w
Reply to iOS folder bookmarks
The way this is written makes it sound like there will be a call to... Yes, and I'm actually not sure where that documentation entry actually came from, as it doesn't actually make very much sense (r.165622059). The header doc is a bit more clear: Disable implicitly starting access of the ephemeral security-scoped resource during resolution. Instead, call -[NSURL startAccessingSecurityScopedResource] on the returned URL when ready to use the resource. Not applicable to security-scoped bookmarks. The key word there is ephemeral. On macOS, there is infrastructure in place such that if an app makes a normal bookmark and gives it to another app, that other app has access to the file it JUST received without any additional action. That mechanism is what ephemeral and implicit refer to. That system is better described in NSURLBookmarkCreationWithoutImplicitSecurityScope: Bookmarks that you create without security scope automatically carry implicit ephemeral security scope. This security scope is valid unti
Topic: App & System Services SubTopic: Core OS Tags:
3w
iOS folder bookmarks
I have an iOS app that allows user to select a folder (from Files). I want to bookmark that folder and later on (perhaps on a different launch of the app) access the contents of it. Is that scenario supported or not? Can't make it work for some reason (e.g. I'm getting no error from the call to create a bookmark, from a call to resolve the bookmark, the folder URL is not stale, but... startAccessingSecurityScopedResource() is returning false.
28
0
536
3w
Reply to iOS folder bookmarks
First, a quick comment here: And on iOS, what are the equivalent creation and resolve options? The minimal variants? So, let me actually run through the option set here. First, the standard cases that are actually in common usage: 0/NULL/No Option: This is a default bookmark and what you'd almost always use on iOS. On macOS, they're also used to transfer access between processes and may be used if/when you're trying to track files in a situation where you're already known to have access to the file (for example, shoebox apps tracking files within their shoebox directory). NSURLBookmarkCreationSuitableForBookmarkFile: This creates the exact same data used to create Alias files in the Finder. NSURLBookmarkCreationWithSecurityScope/OnlyReadAccess: The macOS bookmark type used to preserve access: Edge cases: NSURLBookmarkCreationWithoutImplicitSecurityScope: Discussed in more detail below, but allows the creation of a bookmark that specifically DOESN'T provide any access to the
Topic: App & System Services SubTopic: Core OS Tags:
3w
Reply to HLS CMAF playlist with multiple DRM changes
You can interleave encrypted and unencrypted segments without DISCONTINUITY tags (assuming there is continuity otherwise) by using EXT-X-KEY to specify the encryption (or not) of the init / media segments. A brief audio dropout across the transition is a known issue. Please file an enhancement request if that creates a problem for your application.
Topic: Media Technologies SubTopic: Streaming Tags:
3w