Post

Replies

Boosts

Views

Activity

Reply to Are frames returned in presentation or decode order with AVAssetReader
From my testing, when using nil in the output settings, we can indeed get frames that are out-of-order from a presentation PoV. (For the same video with non-nil output settings, I did not get out-of-order frames.) Using nil output settings, we also do not get any image data (at least with the movie I tested), so it’s not very useful anyways… I’d very much like to get more info if possible. Might even open a DTS if I do not get feedback after a while…
Topic: Media Technologies SubTopic: Video Tags:
3w
Reply to How can an app detect which environment a push should be sent over / how should a server know whether to send pushes via production or sandox?
AFAIK the only way to get the environment in which the app is running is by parsing the embedded provisioning profile inside the app and retrieve the value for aps-environment, but its format is proprietary and subject to change. It is my understanding that the proper way to do is to try and send the notification on the production environment by default and fallback on the development environment if that fails. I have yet to find a confirmation for this but if we take a successful notification service like firebase that does not ask for an environment value, I don’t see how else they’d do it.
Nov ’24
Reply to ubiquitousItemIsExcludedFromSync
Tell me if there’s a better way, in the mean time, here’s a screen of the backtrace (nothing’s happening in thread 2). The code is dead simple: do { logger.debug("Treating path \(p)") var url = URL(fileURLWithPath: p) let rv = try url.resourceValues(forKeys: [.ubiquitousItemIsExcludedFromSyncKey]) logger.info("Excluding \(p)") var newRv = rv newRv.ubiquitousItemIsExcludedFromSync = true try url.setResourceValues(newRv) /* <- Hangs here */ } catch { logger.error("Error treating path \(p): \(error)") } A possibly interesting note: it seems the ubiquitousItemIsExcludedFromSync value is never filled (it is nil after the resourceValues call)
Topic: App & System Services SubTopic: General Tags:
Oct ’21
Reply to Unable to install Metal toolchain through Xcode Cloud
I have the same issue using Xcode 26.2. No issues with Xcode 26.3. FB22265099
Replies
Boosts
Views
Activity
2d
Reply to Are frames returned in presentation or decode order with AVAssetReader
From my testing, when using nil in the output settings, we can indeed get frames that are out-of-order from a presentation PoV. (For the same video with non-nil output settings, I did not get out-of-order frames.) Using nil output settings, we also do not get any image data (at least with the movie I tested), so it’s not very useful anyways… I’d very much like to get more info if possible. Might even open a DTS if I do not get feedback after a while…
Topic: Media Technologies SubTopic: Video Tags:
Replies
Boosts
Views
Activity
3w
Reply to Why is using clonefile for a folder strongly discouraged?
Hi! Thanks so much for this detailed answer. I took forever to reply as my company got bought in the mean time, but your answer definitely helped me very much. Here’s the feedback ID for the filePath API you asked to request: FB20238046.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’25
Reply to How can an app detect which environment a push should be sent over / how should a server know whether to send pushes via production or sandox?
AFAIK the only way to get the environment in which the app is running is by parsing the embedded provisioning profile inside the app and retrieve the value for aps-environment, but its format is proprietary and subject to change. It is my understanding that the proper way to do is to try and send the notification on the production environment by default and fallback on the development environment if that fails. I have yet to find a confirmation for this but if we take a successful notification service like firebase that does not ask for an environment value, I don’t see how else they’d do it.
Replies
Boosts
Views
Activity
Nov ’24
Reply to CIFilter + SpriteKit broken behavior on iOS 16
I did reproduce the issue in iOS 16.0 (simulator); the bug looks fixed in iOS 16.1 as the bug could not be reproduced in a simulator w/ this version and above. It’s probably related to the shaders having their y axis inverted on iOS 16.0 too…
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Dec ’23
Reply to Xcode 15: Core Data : No NSValueTransformer with class name XXX was found for attribute YYY on entity ZZZ for custom `NSSecureUnarchiveFromDataTransformer`
I have a workaround, but it clearly is a bug on Apple’s end. I also filed a Feedback (FB13453227).
Replies
Boosts
Views
Activity
Dec ’23
Reply to ubiquitousItemIsExcludedFromSync
Bug filed: FB9733892
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to ubiquitousItemIsExcludedFromSync
Tell me if there’s a better way, in the mean time, here’s a screen of the backtrace (nothing’s happening in thread 2). The code is dead simple: do { logger.debug("Treating path \(p)") var url = URL(fileURLWithPath: p) let rv = try url.resourceValues(forKeys: [.ubiquitousItemIsExcludedFromSyncKey]) logger.info("Excluding \(p)") var newRv = rv newRv.ubiquitousItemIsExcludedFromSync = true try url.setResourceValues(newRv) /* <- Hangs here */ } catch { logger.error("Error treating path \(p): \(error)") } A possibly interesting note: it seems the ubiquitousItemIsExcludedFromSync value is never filled (it is nil after the resourceValues call)
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21