Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/multithreading/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 没有背景标识符的endBackgroundTask_Ios_Multithreading_Background_Crash - Fatal编程技术网

Ios 没有背景标识符的endBackgroundTask

Ios 没有背景标识符的endBackgroundTask,ios,multithreading,background,crash,Ios,Multithreading,Background,Crash,我使用的库是封闭源代码,正在启动后台任务,但我没有后台任务标识符 …有人对我如何结束这项背景任务有什么好主意吗 它总是运行到完成,我经常收到这样的崩溃报告: Application Specific Information: THEAPP[245] has active assertions beyond permitted time: {( <SBProcessAssertion: 0xee35590> identifier: UIKitBackground

我使用的库是封闭源代码,正在启动后台任务,但我没有后台任务标识符

…有人对我如何结束这项背景任务有什么好主意吗

它总是运行到完成,我经常收到这样的崩溃报告:

    Application Specific Information:
 THEAPP[245] has active assertions beyond permitted time: 
  {(
    <SBProcessAssertion: 0xee35590> identifier: UIKitBackgroundCompletionTask process:  THEAPP[245] permittedBackgroundDuration: 600.000000 reason: finishTask owner pid:245  preventSuspend  preventIdleSleep ,
     <SBProcessAssertion: 0xeed2a60> identifier: UIKitBackgroundCompletionTask process:  THEAPP[245] permittedBackgroundDuration: 600.000000 reason: finishTask owner pid:245  preventSuspend  preventIdleSleep ,
     <SBProcessAssertion: 0xee24f00> identifier: UIKitBackgroundCompletionTask process: THEAPP[245] permittedBackgroundDuration: 600.000000 reason: finishTask owner pid:245 preventSuspend  preventIdleSleep 
 )}

谢谢

这是库中的一个bug,我得到了一个更新的版本并进行了修复。似乎没有办法结束这项任务。

这听起来像是一个库错误,需要在库中修复。我不知道如何获取任务id。