Received signal SIGSTOP on saving to iCloud

守給你的承諾、 提交于 2020-01-16 03:37:05

问题


When I save a single datum to the iCloud, it works fine and when I need to save number of data to iCloud, I put the same code steps to save inside the for loop.

When I tried saving number of data to iCloud, the following signal is received and the app is hanging infinitely. The signal received area is in the below image.

and the crash area points at

How I can debug this crash? Can someone help me with explantion ASAP


回答1:


The documentation for that method says, "Important: Do not call this method from your app’s main thread." The warning goes on to say that doing so may cause a deadlock. It sounds as if that's the condition you have.



来源:https://stackoverflow.com/questions/13529180/received-signal-sigstop-on-saving-to-icloud

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!