简体   繁体   中英

optimization - stepping may behave oddly; variables may not be available in Xcode 9.1

When i put debug point in project i get this one error

App Name was compiled with optimization - stepping may behave oddly; variables may not be available.

And Also i don't get debug point and xcode not print any log.

If anyone know solution please share.

You are receiving this message because you set your target's optimization level to one of the Fast options.

Set the Optimization Level to None while debugging to make the message go away and your break points behave normally:

在此输入图像描述

我有同样的问题,我解决了它添加到Apple LLVM - 自定义编译器标志:

Other C Flags: -DRUNTIME_IL2CPP=1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM