xcode ARC conversion error [CFString retain] crash

后端 未结 1 1113
鱼传尺愫
鱼传尺愫 2020-12-20 05:04

I converted my huge IOS program to ARC using xcode auto conversion. After that I am getting the following error: [CFString retain]: message sent to deallocated instance

相关标签:
1条回答
  • 2020-12-20 05:30

    imagePath is probably a __unsafe_unretained iVar (or maybe you're seeing weak or assign). Change it to strong so that it is retained by ARC.

    0 讨论(0)
提交回复
热议问题