ASIHTTPRequest fails in production builds

自古美人都是妖i 提交于 2019-11-28 18:58:57

It looks like there's a bug in ASIHttpRequest, causing this crash when running with Release mode optimizations.

What worked for me is turning off optimization for the following 2 files: ASIFormDataRequest.m ASIHTTPRequest.m

Do this by selecting the target project, select the file in "Compile sources" section of the "Build Phases" tab; and add -O0 (capitol O zero).

You can read more about it here

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