Search results for

file uri scheme

78,480 results found

Post

Replies

Boosts

Views

Activity

Reply to Guideline 3.2.2 - Business - Other Business Model Issues - Unacceptable
Thank you for your post. If you disagree with the outcome of the review, we recommend submitting an appeal to the App Review Board. When filing your appeal, make sure to: Provide specific reasons why you believe your app complies with the App Review Guidelines. Submit only one appeal per rejection. Respond to any requests for additional information before submitting an appeal. Once you have submitted the appeal we can escalate it to the App Review Board for review. The App Review Board will contact you directly as soon as they've completed their investigation.
1h
Reply to Entitlement values for the Enhanced Security and the Additional Runtime Platform Restrictions
If you haven't already, please file bugs on this and then post the bug number back here. Answering your question here officially: So, my question is, which settings are actually correct to enable the Enhanced Security and the Additional Runtime Platform Restrictions? Xcode is using the correct values: com.apple.security.hardened-process.enhanced-security-version 1 ... com.apple.security.hardened-process.platform-restrictions 2 For obvious reason, App Review uses an automated system to validate that entitlements have the correct value and format, and that's what's causing the rejection. They're working to sort that out now. I'd try replying to them and link them the documentation pages, asking them to double check. Unfortunately, it doesn't help that the documentation has issues (r.162641480) as well and claims that one of those values should be a string. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: Privacy & Security SubTopic: General Tags:
32m
Entitlement values for the Enhanced Security and the Additional Runtime Platform Restrictions
I recently turned on the enhanced security options for my macOS app in Xcode 26.0.1 by adding the Enhanced Security capability in the Signing and Capabilities tab. Then, Xcode adds the following key-value sets (with some other key-values) to my app's entitlements file. com.apple.security.hardened-process.enhanced-security-version 1 com.apple.security.hardened-process.platform-restrictions 2 These values appear following the documentation about the enhanced security feature (Enabling enhanced security for your app) and the app works without any issues. However, when I submitted a new version to the Mac App Store, my submission was rejected, and I received the following message from the App Review team via the App Store Connect. Guideline 2.4.5(i) - Performance Your app incorrectly implements sandboxing, or it contains one or more entitlements with invalid values. Please review the included entitlements and sandboxing documentation and resolve this issue before resubmitting a new binary. Entitlement co
2
0
664
32m
iPAD: achieve UserClient's privileges in background to have robust IOServiceAddMatchingNotification(...) as if ~[Background modes][Enable external communications].
1) The circumstances: iPADOS~>18, USB still-imaging-gadget, 1-3 gadgets might connect simultaneously via USB-hub, proprietary DExt, UserClient App in developers' iPADs or in TestFlight. = 1 variation A) UserClientApp has attribute [Background modes][Enable external communications]. = 1 variation B) active USB-hub vs passive. = 1 variation C) ConsoleApp logs iPAD vs ConsoleApp is not started. = 1 the term zombie below assume issue: == after plug-in ConsoleApp logs IOUsbUserInterface::init, ::start; == UserClient never receives respective callback from IOServiceAddMatchingNotification == further IOKit APIs teardown, restart and re-enumeration of connected gadgets doesn't reveal the zombie (while it sees another simultaneous gadget); == unplug of the gadget logs IOUsbUserInterface::stop. =2) The situation when UserClient is in foreground: ~ everything is fine. Note in MAC OS everything (same DExt and UserClient-code) works fine in background and in foreground. =3) The situation when UserClient is in backgroun
5
0
240
4h
[CarPlay] CPNowPlayingTemplate not being accepted when being passed to pushTemplate:animated:completion
Hey team, I have an app in CarPlay where i was pushing the CPNowPlayingTemplate as follows: self.interfaceController.pushTemplate(CPNowPlayingTemplate.shared(), animated: true) This used to work perfectly, but suddenly I have started to get this error NSInvalidArgumentException: Unsupported object passed to pushTemplate:animated:completion:. Allowed classes: {( CPActionSheetTemplate, CPAlertTemplate, CPVoiceControlTemplate, CPTabBarTemplate, CPListTemplate, CPInformationTemplate, CPContactTemplate, CPMapTemplate, CPGridTemplate, CPSearchTemplate )} How is this possible? Even on Apple docs, it says to pushTemplate Refer https://developer.apple.com/download/files/CarPlay-Developer-Guide.pdf https://developer.apple.com/documentation/carplay/cpnowplayingtemplate/
1
0
42
3h
Launching MacOS app via Url Scheme
I'm looking for answer or documentation on gatekeeper and launching a MacOS app via a url scheme/custom protocol. Our application is delivered via a zip file downloaded from the web. We utilize a url scheme. The act of extracting the app from the zip registers the url scheme with the OS. From previous research/testing we found we had to break the gatekeeper lock (have the user move the app from the downloaded location) to ensure that the url is honored on first launch of the application. To ensure user compliance, we added a check to make sure that the lock has been removed by looking at the quarantine attribute. This flow is not ideal. I am looking for alternatives and was previously under the impression that if we were to move to a DMG then that would provide the user a better user experience for moving it. However, now that I am getting around to looking into it, I am seeing some implied statements that this is not the case and that the quarantine bit will just be moved
Topic: Safari & Web SubTopic: General
2
0
172
4h
Reply to Launching MacOS app via Url Scheme
Sorry for the late reply to this, it was outside of the areas Quinn and I normally monitor and we both missed it. In any case, some additional questions were passed over to me through a DTS ticket, so I'm going to answer your questions above and then the other questions that were passed to me. (Splitting posts for length) First of all, as a general comment here: I am looking for alternatives and was previously under the impression that if we were to move to a DMG then that would provide the user a better user experience for moving it. So, one thing to understand here is that the pattern of using disk images for software distribution is primarily a holdover of what is now ancient history, not technical merit. It started when software was being distributed on floppy disk as the easiest way to exactly duplicate the contents of the original floppy disk. Originally, these images couldn't even be mounted, so their only purpose was to be written back out to physical media. That pattern was then carried over to CDs a
Topic: Safari & Web SubTopic: General
4h
Reply to Xcode 26 app crashed
@Gernot Do you have a crash file or better yet a focused sample that reproduces that issue? Posting a Crash Reports: https://developer.apple.com/forums/thread/688669 Focused Sample: That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. Thanks, Albert Pascual
  Worldwide Developer Relations.
4h
Xcode 26 app crashed
After switching from Xcode 16 to Xcode 26, the app crashes. It runs normally in Xcode 16 but crashes in Xcode 26. The stack trace is below. dyld[29371]: Library not loaded: /usr/lib/swift/libLiveExecutionResultsLogger.dylib Referenced from: /private/var/containers/Bundle/Application/306FCC79-E84A-4C54-ACBE-D1EC6A469560/BoxPlayer.app/BoxPlayer.debug.dylib Reason: tried: '/usr/lib/system/introspection/libLiveExecutionResultsLogger.dylib' (no such file, not in dyld cache), '/usr/lib/swift/libLiveExecutionResultsLogger.dylib' (no such file), '/private/preboot/Cryptexes/OS/usr/lib/swift/libLiveExecutionResultsLogger.dylib' (no such file), '/usr/lib/swift/libLiveExecutionResultsLogger.dylib' (no such file, not in dyld cache)
3
0
117
4h
Extract Subview option missing in Xcode 26
Hi everyone, I recently updated to Xcode 26.0 and noticed that the “Extract Subview” refactoring option seems to be missing. Now, in Xcode 26, the only options I see under Editor -> Refactor -> are: Extract to Selection File Extract to Method Extract to Variable Extract All Occurrences But there’s no Extract Subview as there was before. Was Extract Subview intentionally removed in Xcode 26? Or is it hidden behind a new menu location or renamed?
5
0
337
4h
Reply to Best Practices for Binary Data (“Allows External Storage”) in Core Data with CloudKit Sync
Thanks so much, @tbartelmess1—this is super helpful, and really appreciated a bit more context from our app: App context (what we store) The blobs we persist will be user-generated cruise photos, we would downsize those to more manageable size as iphone format photos can be quite big, but they would still be in the 1-3 mb after downsizing Realistic volume per active user: a few hundred images/year; heavy users could reach low thousands over time. Decision: use Core Data Binary Data + “Allows External Storage” We’ll keep originals as Binary Data (Allows External Storage) so Core Data handles externalization transparently, my philosophy has always been to offload as much work to the system services as possible. We’ll keep thumbnails as well inline in coredata (let coredata decide but likely will be inline (blob)). CloudKit mirroring We’ll rely on NSPersistentCloudKitContainer mirroring; we understand CloudKit decides when an attribute becomes a CKAsset independently of Core Data’s externalization threshold. Tha
4h
Best Practices for Binary Data (“Allows External Storage”) in Core Data with CloudKit Sync
Hello Apple Team, We’re building a CloudKit-enabled Core Data app and would like clarification on the behavior and performance characteristics of Binary Data attributes with “Allows External Storage” enabled when used with NSPersistentCloudKitContainer. Initially, we tried storing image files manually on disk and only saving the metadata (file URLs, dimensions, etc.) in Core Data. While this approach reduced the size of the Core Data store, it introduced instability after app updates and broke sync between devices. We would prefer to use the official Apple-recommended method and have Core Data manage image storage and CloudKit syncing natively. Specifically, we’d appreciate guidance on the following: When a Binary Data attribute is marked as “Allows External Storage”, large image files are stored as separate files on device rather than inline in the SQLite store. How effective is this mechanism in keeping the Core Data store size small on device? Are there any recommended s
2
0
207
4h
Reply to Building macOS apps with Xcode 26 on macOS 26 VM
Now that this is mostly working, I've come across a new issue I'm wondering if anyone else is seeing. Using UTM version 4.7.4 on a macOS 26.0.1 host, I am setting up a macOS 26.1 beta 3 guest. I am unable to log into my Apple ID in the macOS 26.1 beta host. This happened with beta 1 and now with beta 3. This is not just the normal limitations of logging into an Apple ID in a macOS VM. With macOS 26.1 beta, you can't login at all. This means no iCloud access. This means you can't even update to the next beta since you need iCloud access for the Software Update screen to even offer the Beta Software update option. I also have a macOS 15.7.1 VM and a maCOS 14.6.1 VM on this same host and they both let me login just fine (with the usual limitations). I filed bug FB20668616 but I'm curious if anyone has seen this. One step forward, one step back.
6h
PHPickerViewController unusable via Mac Catalyst on macOS 26 when interface is "Scaled to Match iPad"
There is a serious usability issue with PHPickerViewController in a UIKit app running on macOS 26 via Mac Catalyst when the Mac Catalyst interface is set to “Scaled to Match iPad”. Mouse click and other pointer interactions do not take place in the correct position. This means you have to click in the wrong position to select a photo and to close the picker. This basically makes it unusable. To demonstrate, use Xcode 26 on macOS 26 to create a new iOS app project based on Swift/Storyboard. Then update ViewController.swift with the following code: import UIKit import PhotosUI class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() var cfg = UIButton.Configuration.plain() cfg.title = Photo Picker let button = UIButton(configuration: cfg, primaryAction: UIAction(handler: { _ in self.showPicker() })) button.translatesAutoresizingMaskIntoConstraints = false view.addSubview(button) NSLayoutConstraint.activate([ button.centerXAnchor.constraint(equalTo: view.safeAreaLayoutGuide.cent
11
0
430
6h
Reply to Table container, when scrolling content, the content will appear underneath and to the top of the column headings.
Thank you for your post and providing a screenshot that illustrates the issue. Could you please specify the version of iOS and Xcode you are using? Additionally, do you have a focused sample project that I can utilize to reproduce the issue where the values appear beneath the labels? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. Any chance you already filed a bug for this issue? Thanks, Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: SwiftUI
7h