Post

Replies

Boosts

Views

Activity

Reply to BGContinuedProcessingTask what's the point?
Kevin, When you as for duet log are you refering to the logs from this: What is duetexpertd? It's a background daemon (part of Apple's "Duet" proactive intelligence framework) that handles personalized features and data syncing across iOS and macOS. When I talk of syncing it is our own syncing process and not iCloud syncing. Regarding your last point, about human time vs computer time, I will look into reporting process on human time.
Oct ’25
Reply to BGContinuedProcessingTask what's the point?
Huh. How long does it take to expire once you enter the background? What does the console log show (particularly from "duet") when your task is expired? It can be a few minutes. I haven't time it. As background context, what's the work you're actually "doing"? I'm curious to why this would make a difference. It is running a long initial sync of data loading data into CoreData from a server. It almost always dies when trying to load relationships into CoreData. We are talking about 7000 plus relationship connections. How fast is that progress in real-world terms? A minute or two. How long does it take to process "one" item? A fraction of a second, I don't have exact times. How often are you updating progress? Many times a second. if you reduce the work such that you make "rapid" progress, both in terms of how long you take to complete and how frequently you report progress? I can't reduce how long it takes to update CoreData, On an initial sync, it's all or nothing; otherwise data will be corrupted. I broke up the work to advance the progress bar, showing faster updates. Example, 1000 at a time, updating from 0 to 1000. The user feedback is noticeably faster, but the expirationHandler still gets called. This initial sync is rare from a user perspective. Some may never have initial syncs that will take 2-3 minutes. Question is 2-3 minutes outside the use case for this new feature?
Oct ’25
Reply to 90714: Invalid binary. The app contains one or more corrupted binaries. Please rebuild the app and resubmit.
Started happening on Xcode 26.0.1 or were you successful with that version of Xcode? To clarify, it works properly with an iOS app upload. It is only for MacCatalyst app. So Xcode 26.0.1 works for ios and not for MacCatalyst. Have you tried today to submit one to TestFlight? I have, twice, still been getting the same issue. I will try again later today. Do you have all the logs? I have the build logs. But it is too big to attach to this reply. I will add it to the bug report.
Oct ’25
Reply to BGContinuedProcessingTask what's the point?
What do you mean by "not finish"? Is it expiring or is something else happening? It is expiring and calling the expirationHandler. What actually happens when you enter the background? Also are you locking the device or switching over to other apps? I'm double checking, but I think we may expire tasks on device lock. I'm just sitting in the Springboard watching the progress indicator move forward. It looks to be moving slowly because 5000 items are being processed, but there is constant movement. The device is not being locked, nor am I opening another app. I haven't gotten that far yet. Thoughts?
Oct ’25
Reply to BGContinuedProcessingTask what's the point?
Kevin, When you as for duet log are you refering to the logs from this: What is duetexpertd? It's a background daemon (part of Apple's "Duet" proactive intelligence framework) that handles personalized features and data syncing across iOS and macOS. When I talk of syncing it is our own syncing process and not iCloud syncing. Regarding your last point, about human time vs computer time, I will look into reporting process on human time.
Replies
Boosts
Views
Activity
Oct ’25
Reply to BGContinuedProcessingTask what's the point?
Huh. How long does it take to expire once you enter the background? What does the console log show (particularly from "duet") when your task is expired? It can be a few minutes. I haven't time it. As background context, what's the work you're actually "doing"? I'm curious to why this would make a difference. It is running a long initial sync of data loading data into CoreData from a server. It almost always dies when trying to load relationships into CoreData. We are talking about 7000 plus relationship connections. How fast is that progress in real-world terms? A minute or two. How long does it take to process "one" item? A fraction of a second, I don't have exact times. How often are you updating progress? Many times a second. if you reduce the work such that you make "rapid" progress, both in terms of how long you take to complete and how frequently you report progress? I can't reduce how long it takes to update CoreData, On an initial sync, it's all or nothing; otherwise data will be corrupted. I broke up the work to advance the progress bar, showing faster updates. Example, 1000 at a time, updating from 0 to 1000. The user feedback is noticeably faster, but the expirationHandler still gets called. This initial sync is rare from a user perspective. Some may never have initial syncs that will take 2-3 minutes. Question is 2-3 minutes outside the use case for this new feature?
Replies
Boosts
Views
Activity
Oct ’25
Reply to 90714: Invalid binary. The app contains one or more corrupted binaries. Please rebuild the app and resubmit.
Started happening on Xcode 26.0.1 or were you successful with that version of Xcode? To clarify, it works properly with an iOS app upload. It is only for MacCatalyst app. So Xcode 26.0.1 works for ios and not for MacCatalyst. Have you tried today to submit one to TestFlight? I have, twice, still been getting the same issue. I will try again later today. Do you have all the logs? I have the build logs. But it is too big to attach to this reply. I will add it to the bug report.
Replies
Boosts
Views
Activity
Oct ’25
Reply to BGContinuedProcessingTask what's the point?
What do you mean by "not finish"? Is it expiring or is something else happening? It is expiring and calling the expirationHandler. What actually happens when you enter the background? Also are you locking the device or switching over to other apps? I'm double checking, but I think we may expire tasks on device lock. I'm just sitting in the Springboard watching the progress indicator move forward. It looks to be moving slowly because 5000 items are being processed, but there is constant movement. The device is not being locked, nor am I opening another app. I haven't gotten that far yet. Thoughts?
Replies
Boosts
Views
Activity
Oct ’25