Search results for

“offloading”

193 results found

Post

Replies

Boosts

Views

Activity

Reply to How do I use FSBlockDeviceResource's metadataRead method?
So, let me get the bug out of the way first: I reported this as a bug (FB18614667), but also wanted to ask here in case this is actually just me doing There are actually two bugs here: FSSupportsKernelOffloadedIO is the Info.pist key that marks whether or not to use FSVolumeKernelOffloadedIOOperations to shift file I/O into the kernel. We haven't actually documented that key, but there's actually a more general bug on that (r.156162068), which is to consolidate and document all the FSKit's Info.plist keys. That Info.plist key is currently restricting the metadataRead/Write APIs, which it really shouldn't (r.155070316). That is, you should be able to use metadataRead/Write, even if you don't offload I/O. I can't comment on our release schedule, but the fix is straightforward and the FSKit team is working very hard to ship as many fixes as possible in macOS 15 (not just macOS 26). In terms of what you do now: Once #2 is fixed, I believe your code will “just work”. I think it's perfectly reasonable to a
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’25
App quits right after launching
Since iOS 14, more and more users experience a severe problem: When they launch our app, it quits right after showing the launch screen, obviously even before executing one line of code. In some cases, offloading and re-loading the app can help in this situation, but not always. In iOS 13, the problem occurred in the same way, but offloading and re-loading always helped. This seems to be a licence problem and reinstalling is no option, because our app holds critical personal data that the user often did not backup. So what can we do in this situation?
0
0
637
Nov ’20
Reply to Does someone in this world have a working code with background fetch?
All I need is to check the data on the network every three hours and issue a warning when checking.This isn’t really the intended use case for background fetch. The idea behind background fetch is that the system learns when the user is using the app and, if the user is regularly using it at specific times, the system sends the app a background fetch event before that time so that it can refresh. For example:The user might run a social media app regularly throughout the day, so the system would send that app regular background fetch events.The user might run their news app at breakfast time, so the system would send that app a background fetch event early in the morning.The user might have a second news app on their device but never run it, in which case that app would never get any background fetch events.Background fetch does not guarantee regular background fetch events. Indeed, there is no mechanism on iOS that guarantees regular execution in the background.Once your app has checked the data on the networ
Topic: App & System Services SubTopic: Core OS Tags:
May ’18
Reply to Update SwiftUI View on NSManagedObject edit
hi, one correction to my last reply: point number (3) wasn't quite right (i had it backwards; sorry, it was the last thing i wrote before heading off to bed). it should have been: (3) instead, if you write something like ExerciceHistoryRow(name: exerciceHistory.name!) and you use var name: String for the View, that will be updated properly. be sure to NOT define this variable using @State, because that gives ownership of the View to SwiftUI. and in general, you'll obviously want to pass along more than just date for a single field in the object ... my conclusions about this whole display not updating situation, especially with Core Data objects (one i've been struggling with for some time): passing a reference to an object to a RowView works fine if it is an @ObservedObject -- and if the RowView makes any changes to the object, you'll know about it. however, deleting that object will crash if the RowView is still held onto by SwiftUI when the deletion occurs. (i think the situation is even more murky when usi
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’20
Reply to Unable to load a quantized Qwen 1.7B model on an iPhone SE 3
Running large models like Qwen3 1.7B on devices with limited resources, such as the iPhone SE 3 with 4 GB of RAM, is indeed challenging. Let's address your questions and explore potential approaches to mitigate the issues you're facing: Observations and Possible Causes Memory Spike During Load: Dynamic Shape Usage: While dynamic shapes can help manage memory allocation during inference by not preallocating for the full context length, the initial loading process often requires more fixed memory to parse the model, set up internal structures, and potentially convert certain operations to formats supported by the hardware. Intermediate Conversion: Core ML might internally convert some operations from INT4 to INT8 or FP16 if the underlying hardware (BNNS/ANE) doesn't natively support INT4 operations. This can cause temporary spikes in memory usage during loading. Memory Limitations: The iPhone SE 3's 4 GB RAM is quite limited for large models, especially if additional overhead from the operating system and other
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Feb ’26
Reply to MAC address spoofing not working
@somewhereInTime oh wow, I would've expected the built-in hardware of the Mac Mini to actually work with the shipped OS. Thanks for sharing! I specifically bought a OWC TB3 to 10GbE adapter, as it uses the Aquantia AQC107 chipset. According to the previously shared link to the guide on Github: With the above 5 drivers, currently Apple only uses 2 of them in their products: Aquantia is used on all Macs with 10Gbe ie. 2017 iMac Pro, 2019 Mac Pro, 2018 Mac mini Broadcom is used on all 2011+ Macs with 1Gbe ie. 2011-2020 iMacs, 2010-2020 Mac minis, 2013 Mac Pro However - no luck. Offloading seems to work, the used driver is Driver: com.apple.driver.AppleEthernetAquantiaAqtion. But using ifconfig ether still fails silently :( Upgrading to the latest macOS Sonoma Developer beta seems to have solved my other issue regarding WiFi 6E (6GHz), it now detects my AP correctly and actually connects. But regarding wired network adapters I didn't see any changes. As this is my daily driver I will downgrade to macOS V
Jun ’23
iOS18.2 Beta
I updated my device today with the new update iOS18.2. There were a couple of issues: The App Store won't load. I am unable to update or install applications and offloaded applications. Network issues (wifi) won't work. Unable to connect to a wifi access point.
0
0
251
Nov ’24
When to use the new FSExtentType.readOnly?
Is it necessary to switch to the new FSExtentType.readOnly when implementing kernel offloaded IO if my entire volume is read-only and marked as such via requestedMountOptions? (My assumption is no since I'd think all writes to the resource at that point should be prevented anyway, but wanted to ask just in case.)
1
0
67
1w
Reply to Background Transfer Service and Client Certificates
Hi again,Thanks for the reply. This makes me aware of a number of risks we did not appreciate.Could I just follow up to be sure I understand them right? Specifically, even after we‘ve switched to CA-signed server certificates, you point out two major reasons we should still avoid performing our own server trust challenge evaluation (or indeed handling any authentication challenge) with background sessions:The first reason is we might be penalized by the iOS resume rate limiter:For background sessions specifically, the resumes necessary to handle this authentication challenge counter against the resume rate limiter.Note This applies to all authentication challenges, not just server trust challenges.My question is, is this an issue even if I'm doing something computationally cheap like checking the certificate's common name? In other words, do you mean that any URLSessionDelegate object which implements urlSession(_ session: didReceive: completionHandler:) is a handicap for background execution, because simply
Topic: App & System Services SubTopic: General Tags:
Oct ’17
App "no longer" in App Store - but it is!
After searching the forum, I couldn't find this problem so thought it worth flagging.I wanted to see the process in the new feature of offloading an app rather than deleting it. I offloaded several apps and they stayed on my device but with a small cloud with downward arrow symbol indicating it was able to be reinstalled. However, I hit problems when I attempted to reinstall the app, as I got a pop-up informing me that my device was unable to download the app as it was no longer available in the App Store. I even got that for YouTube, which I am pretty certain is still in the App Store.I got this error whether I tried to reinstall directly from the app icon on my device or via the iPhone Storage sub-menu in Settings. If I go direct to the App Store and search for the app, it's there and I can reinstall it. I'm using a 5s for this.
2
0
996
Jun ’17
System data/other system data
I have an iPhone 12 Pro. I have 256GB of storage and 180.21GB is being taken by “system data”. I have offloaded apps, deleted files, cleared browser history, backed up, shut down etc and that number is still staying around the same. there have been a lot of posts about this without any answers. Has anyone found a resolution?
0
0
388
Dec ’21
Extract Images from CaptureSample App
Hi there, How's best to offload the images taken within the Capture Sample app to Desktop? Apologies if I'm missing the obvious. Many thanks, Allen
Replies
4
Boosts
0
Views
2.9k
Activity
Jun ’21
Reply to How do I use FSBlockDeviceResource's metadataRead method?
So, let me get the bug out of the way first: I reported this as a bug (FB18614667), but also wanted to ask here in case this is actually just me doing There are actually two bugs here: FSSupportsKernelOffloadedIO is the Info.pist key that marks whether or not to use FSVolumeKernelOffloadedIOOperations to shift file I/O into the kernel. We haven't actually documented that key, but there's actually a more general bug on that (r.156162068), which is to consolidate and document all the FSKit's Info.plist keys. That Info.plist key is currently restricting the metadataRead/Write APIs, which it really shouldn't (r.155070316). That is, you should be able to use metadataRead/Write, even if you don't offload I/O. I can't comment on our release schedule, but the fix is straightforward and the FSKit team is working very hard to ship as many fixes as possible in macOS 15 (not just macOS 26). In terms of what you do now: Once #2 is fixed, I believe your code will “just work”. I think it's perfectly reasonable to a
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’25
App quits right after launching
Since iOS 14, more and more users experience a severe problem: When they launch our app, it quits right after showing the launch screen, obviously even before executing one line of code. In some cases, offloading and re-loading the app can help in this situation, but not always. In iOS 13, the problem occurred in the same way, but offloading and re-loading always helped. This seems to be a licence problem and reinstalling is no option, because our app holds critical personal data that the user often did not backup. So what can we do in this situation?
Replies
0
Boosts
0
Views
637
Activity
Nov ’20
Inaccurate readings in regards to battery, storage, and app usage.
Has anyone experienced inaccurate readings? Iphone 6 will die at 12%, storage is greatly miscalculated with system taking most of my storage somehow, and offloading apps considers every app unused and will delete everything if enabled.
Replies
0
Boosts
0
Views
526
Activity
Sep ’17
Reply to Does someone in this world have a working code with background fetch?
All I need is to check the data on the network every three hours and issue a warning when checking.This isn’t really the intended use case for background fetch. The idea behind background fetch is that the system learns when the user is using the app and, if the user is regularly using it at specific times, the system sends the app a background fetch event before that time so that it can refresh. For example:The user might run a social media app regularly throughout the day, so the system would send that app regular background fetch events.The user might run their news app at breakfast time, so the system would send that app a background fetch event early in the morning.The user might have a second news app on their device but never run it, in which case that app would never get any background fetch events.Background fetch does not guarantee regular background fetch events. Indeed, there is no mechanism on iOS that guarantees regular execution in the background.Once your app has checked the data on the networ
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’18
Reply to Update SwiftUI View on NSManagedObject edit
hi, one correction to my last reply: point number (3) wasn't quite right (i had it backwards; sorry, it was the last thing i wrote before heading off to bed). it should have been: (3) instead, if you write something like ExerciceHistoryRow(name: exerciceHistory.name!) and you use var name: String for the View, that will be updated properly. be sure to NOT define this variable using @State, because that gives ownership of the View to SwiftUI. and in general, you'll obviously want to pass along more than just date for a single field in the object ... my conclusions about this whole display not updating situation, especially with Core Data objects (one i've been struggling with for some time): passing a reference to an object to a RowView works fine if it is an @ObservedObject -- and if the RowView makes any changes to the object, you'll know about it. however, deleting that object will crash if the RowView is still held onto by SwiftUI when the deletion occurs. (i think the situation is even more murky when usi
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’20
Reply to Unable to load a quantized Qwen 1.7B model on an iPhone SE 3
Running large models like Qwen3 1.7B on devices with limited resources, such as the iPhone SE 3 with 4 GB of RAM, is indeed challenging. Let's address your questions and explore potential approaches to mitigate the issues you're facing: Observations and Possible Causes Memory Spike During Load: Dynamic Shape Usage: While dynamic shapes can help manage memory allocation during inference by not preallocating for the full context length, the initial loading process often requires more fixed memory to parse the model, set up internal structures, and potentially convert certain operations to formats supported by the hardware. Intermediate Conversion: Core ML might internally convert some operations from INT4 to INT8 or FP16 if the underlying hardware (BNNS/ANE) doesn't natively support INT4 operations. This can cause temporary spikes in memory usage during loading. Memory Limitations: The iPhone SE 3's 4 GB RAM is quite limited for large models, especially if additional overhead from the operating system and other
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to MAC address spoofing not working
@somewhereInTime oh wow, I would've expected the built-in hardware of the Mac Mini to actually work with the shipped OS. Thanks for sharing! I specifically bought a OWC TB3 to 10GbE adapter, as it uses the Aquantia AQC107 chipset. According to the previously shared link to the guide on Github: With the above 5 drivers, currently Apple only uses 2 of them in their products: Aquantia is used on all Macs with 10Gbe ie. 2017 iMac Pro, 2019 Mac Pro, 2018 Mac mini Broadcom is used on all 2011+ Macs with 1Gbe ie. 2011-2020 iMacs, 2010-2020 Mac minis, 2013 Mac Pro However - no luck. Offloading seems to work, the used driver is Driver: com.apple.driver.AppleEthernetAquantiaAqtion. But using ifconfig ether still fails silently :( Upgrading to the latest macOS Sonoma Developer beta seems to have solved my other issue regarding WiFi 6E (6GHz), it now detects my AP correctly and actually connects. But regarding wired network adapters I didn't see any changes. As this is my daily driver I will downgrade to macOS V
Replies
Boosts
Views
Activity
Jun ’23
XPC communication between a sandboxed Network Extension and a privileged MachService
Hello, Is it possible for a Network Extension (running in its sandbox) to act as a client for an XPC service hosted by a Launch Daemon (e.g., to offload data processing)? Are there any specific sandbox restrictions or entitlement requirements for this type of XPC communication? Thank you in advance!
Replies
6
Boosts
0
Views
578
Activity
Mar ’26
iOS18.2 Beta
I updated my device today with the new update iOS18.2. There were a couple of issues: The App Store won't load. I am unable to update or install applications and offloaded applications. Network issues (wifi) won't work. Unable to connect to a wifi access point.
Replies
0
Boosts
0
Views
251
Activity
Nov ’24
System Data is at 40 gb on iOS 18.0 for iPad
I have erased all contents once and had reclaimed space on the storage on the iPad. The system data has returned to over take my storage. Without erasing it again, is there a way to reclaim the space? I have turned on offload used apps and deleted all non essential apps on my Home Screen.
Replies
0
Boosts
0
Views
478
Activity
Jun ’24
When to use the new FSExtentType.readOnly?
Is it necessary to switch to the new FSExtentType.readOnly when implementing kernel offloaded IO if my entire volume is read-only and marked as such via requestedMountOptions? (My assumption is no since I'd think all writes to the resource at that point should be prevented anyway, but wanted to ask just in case.)
Replies
1
Boosts
0
Views
67
Activity
1w
Reply to Background Transfer Service and Client Certificates
Hi again,Thanks for the reply. This makes me aware of a number of risks we did not appreciate.Could I just follow up to be sure I understand them right? Specifically, even after we‘ve switched to CA-signed server certificates, you point out two major reasons we should still avoid performing our own server trust challenge evaluation (or indeed handling any authentication challenge) with background sessions:The first reason is we might be penalized by the iOS resume rate limiter:For background sessions specifically, the resumes necessary to handle this authentication challenge counter against the resume rate limiter.Note This applies to all authentication challenges, not just server trust challenges.My question is, is this an issue even if I'm doing something computationally cheap like checking the certificate's common name? In other words, do you mean that any URLSessionDelegate object which implements urlSession(_ session: didReceive: completionHandler:) is a handicap for background execution, because simply
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’17
App "no longer" in App Store - but it is!
After searching the forum, I couldn't find this problem so thought it worth flagging.I wanted to see the process in the new feature of offloading an app rather than deleting it. I offloaded several apps and they stayed on my device but with a small cloud with downward arrow symbol indicating it was able to be reinstalled. However, I hit problems when I attempted to reinstall the app, as I got a pop-up informing me that my device was unable to download the app as it was no longer available in the App Store. I even got that for YouTube, which I am pretty certain is still in the App Store.I got this error whether I tried to reinstall directly from the app icon on my device or via the iPhone Storage sub-menu in Settings. If I go direct to the App Store and search for the app, it's there and I can reinstall it. I'm using a 5s for this.
Replies
2
Boosts
0
Views
996
Activity
Jun ’17
System data/other system data
I have an iPhone 12 Pro. I have 256GB of storage and 180.21GB is being taken by “system data”. I have offloaded apps, deleted files, cleared browser history, backed up, shut down etc and that number is still staying around the same. there have been a lot of posts about this without any answers. Has anyone found a resolution?
Replies
0
Boosts
0
Views
388
Activity
Dec ’21