Observing property crashes Instruments (Leaks profile) Xcode 9.3 (Swift 4.1)

≯℡__Kan透↙ 提交于 2019-12-05 09:45:48

I tried three word-arounds:

  1. Disabling "Record Reference Count". This stopped it from crashing. But the instruments showed me much more leaks than usual, which makes locating real leaks impossible.
  2. Commenting all my KVO calls. Didn't work in my case.
  3. Downgrading my code to Swift 4.0. I re-installed Xcode 9.2, and it works now.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!