Search results for

file uri scheme

79,826 results found

Post

Replies

Boosts

Views

Activity

Reply to BGContinuedProcessingTask register block not called, submit does not throw an error
So, let me start with the message here: 2025-12-13 15:54:32.262042 +0000 dasd bgContinuedProcessing-com.jordanhipwell.datestamp.stamp_task.787334072261: Foregrounded apps () don't include expected identifier: The message here is slightly different than you're thinking. What the check that triggers this is actually doing is checking whether or the app that submitted the task (in this case, your app) is in the list of Foreground apps that duet returns, printing the message above when it's not. In other words, duet doesn't think your app is the foreground. WHY it thinks your app isn't in the foreground is less clear. I actually filed a bug asking use to un-redact the app list, but without that it's hard to know what duet was actually thinking. Do you know what the user is doing when the trigger this? More specifically, is your app presenting the mail composer? If you are, when do you actually trigger the task relative to the mail composer interaction? That's what it looks like from the log and it's pos
5d
Reply to UIImageWriteToSavedPhotosAlbum doesn't working on Mac catalyst
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: Programming Languages SubTopic: Swift Tags:
5d
Reply to WKWebView isBlockedByScreenTime
I recommend filing an enhancement request asking for documentation for these items. 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:
5d
Reply to For receiving audio in PushtoTalk, channelManager(_:didActivate:) not called when app receives first push after backgrounding
And when PTT notification arrives, saving the URL to the audio file in incomingPushResult, then downloading and playing that sound using AVAudioPlayer when didActivate is executed. It's working fine on the foreground, but when the app goes to the background, incomingPushResult is called as expected, but didActivate is not for some reason. Am I missing anything in my setup? Yes. The issue here is that you can't use AVAudioPlayer, as it does its own AudioSession activation. More specifically: It's working fine on the foreground. It works in the foreground app because the foreground app has inherent access to the audio system and can do whatever it wants. However: when the app goes to the background, incomingPushResult is called as expected, but didActivate is not for some reason. ...what happens in the background is that the same activation attempt then occurs and either fails entirely or succeeds (partially) but is then disrupted by callservicesd's own activation. Unfortunately, you'll ultimately end
Topic: App & System Services SubTopic: General Tags:
5d
Reply to Zsh kills Python process with plenty of available VM
I understand now, thanks for your patience. Unfortunately this means that the only way for this to work is having the Gurobi libraries' code, and incorporate mmap there, because that's where the memory-heavy node-files are created and put in memory. Too bad this is not open-source software, and therefore this is impossible. Is there an alternative to mmap to perhaps squeeze some extra space in the disk? I was wondering if renicing the process to, say, -20, can have some indirect benefits...
5d
Reply to BGTaskScheduler Terminated due to memory issue
Thanks so much again for your time and effort, Kevin! I did look into the documentation and tried different approaches, but none seem to work. I also found a BLE sample project on the Apple Developer Documentation, and it is also terminated after some time. Yes, and that's expected. Across most/all our background APIs, the focus isn't on ensuring that processes never terminate but is instead on relaunching the process and returning it to normal operation. Case in point, this is the real problem here: However, unlike the documentation states, I wasn't able to implement State Restoration and receive Characteristic updates once the app is terminated because of Memory Pressure. Why? Is the problem that you're not being relaunched or is state restoration failing? What happens from the accessory side? One side note here is that what triggers the relaunch is activity from the BLE accessory, so if your accessory never generates activity back to the iOS device, then you may not relaunch. May I suggest updating the doc
5d
Reply to Controlling UIDesignRequiresCompatibility via Remote Config
Thanks for the post. Very interesting. My 5 cents if I may. It is crucial to prioritize user experience by ensuring consistency and stability in production environments. This is why feature flags, such as UIDesignRequiresCompatibility, are typically controlled by developers rather than end-users and are not exposed for arbitrary user-based toggling in production builds. This key allows developers to test the feature but does not provide a way to deploy it as it can be turned off, as explained in the documentation. Therefore, developers should refrain from rolling out new designs broadly before testing them thoroughly. Controlled feature flags enable developers to incrementally roll out new designs to ensure stability. By monitoring feedback and performance, developers can address issues before a full deployment. Apps submitted to the App Store should not contain hidden features or debugging options that alter the intended user experience for the general public. In development, set up different build schemes
5d
Reply to Zsh kills Python process with plenty of available VM
Apologies if I misunderstand things completely. I am no developer, so memory management is completely foreign to me. OK. So, stepping back for a moment, I think what's helpful to understand is that one of the VM system’s basic primitive operations is designate that a range of address space corresponds to the contents of a file. That process is called mapping a file and is how, for example, executable files are loaded into memory so that they can be executed. That is, what part of what running an executable actually means is map the contents of that file into memory and start executing at a specific point. Similarly, the basics[1] of swap files are simple create a file and designate which parts of it correspond to specific memory ranges. Mapping VM address space to file ranges with what mmap() does. That is, a low-level mach memory function like vm_allocate() (what malloc calls within its implementation): https://web.mit.edu/darwin/src/modules/xnu/
5d
Reply to ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it
Thanks for the post and the details, the error is not about having the latest version of Xcode, looks like you do have it as Xcode Version 26.2 (17C52). The error message you're encountering, ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing., indicates that your app submission to App Store Connect is missing a required folder named SwiftSupport. So this is extremely interesting to me for sure. When archiving your app, ensure there are no build warnings about folders. Go to > , and then check the Organizer to ensure everything is correctly packaged. If your app uses Swift Package Manager, ensure that all packages are updated and correctly integrated. Sometimes issues arise from improperly configured packages? I believe this issue is always about packages you are using. Can you check that? read until the end where a post from an Apple engineer will give you more information. If you're manually managing your app bundle, ensure the folder is present in the archive's structure. It should b
5d
Real Time Spatial Video Streaming with Vision Pro
Hello, I am trying to build an AVP app for real-time zero-latency spatial video streaming. I am trying to figure out, on a high level, the best way to do this. Currently this is my method: Server sends stereo images via a WebRTC service (ie, livekit) The WebRTC stream is converted to a CVPixelBuffer, writes them to file, plays via AVPlayer, and applies a VideoMaterial to a plane entity. However, this is a bit hacky and it seems like this won't be compatible with Apple's spatial experinces. To my understanding, Apple supports HLS streaming for spatial experiences and APMP content. However, HLS (and even Low Latency HLS) introduces a second or more of latency, likely do to the segmentation nature of HLS. Thus, HLS will not work for us. Some other alternatives I've thought of are streaming the live stream video via webrtc from the server to a local computer in the AVP's network, and then using LL-HLS to stream from the local computer to the vision pro. Still, it seems like this would introduce latency o
0
0
22
5d
Reply to PSVR2 controller button quirks
Thank you Justin. There's one more quirk I've observed - Apple doesn't expose the analog proximity sensors on the trigger or grip buttons. These are the sense part of Sony's Playstation VR Sense Controller branding ;) In OpenXR / SteamVR with the Playstation VR2 these paths as independent triggers i.e. /user/hand/right/input/r1_sensor, /user/hand/right/input/r2_sensor, /user/hand/right/input/l1_sensor, /user/hand/right/input/l2_sensor, corresponding to the grips & triggers. Yes, this means the l2/r2 triggers have TWO analog capabilities - one for the analog relative touch/proximity, and one for the analog degree of trigger pull (which can be accessed via the .value on the button). Since this is an entirely new thing, should I update my existing feedback or file a new one?
Topic: Spatial Computing SubTopic: General Tags:
5d
Reply to application(_:didFinishLaunchingWithOptions:) not called on MDM iPads after overnight idle — app resumes without cold start
Hi Kevin, Q - How we know didFinishLaunchingWithOptions is not being called at user-visible launch time We agree that the most important question here is when the app was actually initialized versus when the user opens it. To address this, we have implemented explicit lifecycle logging at the very earliest entry points of the app, including: A log at process start Logs at the very beginning and end of application(_:didFinishLaunchingWithOptions:) Logs for all other UIApplication lifecycle callbacks We log all lifecycle events (including process start and didFinishLaunchingWithOptions) using a dedicated serial queue and persist them directly to disk. In simplified terms, our logging flow is: Logs are written via a serial logQueue Each log entry is appended to a file in the app’s Documents directory Logs include: ISO timestamps Explicit lifecycle markers The process ID (pid) This means: Logs are persisted to disk, not memory Logs survive suspension and backgrounding We do not clear or rotate logs on ba
5d
Reply to My Notifications Message Extension doesn't seem to run after distributing my app via Enterprise IPA
I have verified that in Xcode, my main target Runner has a bundle identifier of com.mycompany.pushnotifications and my extension target has a bundle identifier of com.mycompany.pushnotifications.pushnotificationsmessageextension I unzipped my .IPA file and see Payload/Runner.app/pushnotificationsmessageextension.appex In my uncompiled app, I looked in the pushnotificationsmessageextension/Info.plist file and see the following NSExtension NSExtensionPointIdentifier com.apple.usernotifications.service NSExtensionPrincipalClass $(PRODUCT_MODULE_NAME).NotificationService
5d
Reply to Fileprovider Recycle Bin recovery does not trigger the create event, and dataless files should not be moved to the Recycle Bin
I am currently encountering a problem: during the process of uploading a large file, I have moved the file that was not successfully uploaded to the trash can. These two operations have been tested to be serial (triggering the 'create Item' callback first, followed by the 'modify Item' callback), which means that the file must be uploaded before it can be moved to the recycle bin (which can also result in the file being stored in the cloud recycle bin). I want to implement: directly interrupt this upload process and then do not complete the upload. How can I achieve this? Please help me. Thank you
Topic: App & System Services SubTopic: Core OS Tags:
5d