1、以生产模式调试


2、查看闪退地方的日志
error: Couldn't materialize: couldn't get the value of variable result: variable not available
Errored out in Execute, couldn't PrepareToExecuteJITExpression
3、修改项目配置BuildSetting -> optimization level ->Realease -> None

error: Couldn't materialize: couldn't get the value of variable result: variable not available
Errored out in Execute, couldn't PrepareToExecuteJITExpression
本文标题:【Swift3.0】iOS项目“调试正常,打包闪退”问题
本文链接:https://www.haomeiwen.com/subject/qzchjxtx.html
网友评论