Thanks, this is helpful. And yeah, I understand that the task isn't scheduled to complete at a certain time, but rather the OS determines the appropriate time to execute the task after the specified period of time. I've included a timestamp to capture when the task last ran, so if the app opens and the background task did not execute as desired, the app launch will trigger it. I'll be sure to include logic to cancel and reschedule pending tasks as well, if the task runs on app launch.
Post
Replies
Boosts
Views
Activity
FWIW, in another thread on the same issue, a user suggested going to Build Settings -> Build Options -> Debug Information Format, and changing the selection to DWARF only for both the debug and release build, and then change it back to DWARF with dSYM File. I haven't uploaded a new archive yet to test, but after making that change, the following lines are added to project.pbxproj. Given that DWARF with dSYM was originally selected and these lines were added only after changing to DWARF and back, it seems that XCODE 16+ fails to add those options to the project file