Unity Build iOS 工程运行时报: [App名称] was compiled with optimization - stepping may behave oddly; varia...

Unity Build iOS 工程运行时报: [App名称] was compiled with optimization - stepping may behave oddly; variables may not be available

在网上搜了很久, 有很多答案

比如: https://stackoverflow.com/questions/32772573/project-name-was-compiled-with-optimization-stepping-may-behave-oddly-varia

这个里面已经包含了市面上的很多操作了, 但是对我来说没有用, 毕竟我是通过 Unity Build出来的.

后来我就查到了这篇: https://stackoverflow.com/questions/45078851/optimization-stepping-may-behave-oddly-ios-unity

当我看到下图这句时, 我看了下我的Unity

15521858350811.jpg

我Unity工程里面的设置时开启的, 然后我就把它关闭了(取消勾选), 重新Build了一下, 居然成功了, 什么也没有做. 就改了下这个

你可能感兴趣的:(Unity Build iOS 工程运行时报: [App名称] was compiled with optimization - stepping may behave oddly; varia...)