`po` gives `error: :1:1: error: use of unresolved identifier`

后端 未结 7 1743
名媛妹妹
名媛妹妹 2020-12-08 13:00

I have this problem with po in the console where trying to output a function works in itself, but outputting a variable or constant doesn\'t.

7条回答
  •  悲&欢浪女
    2020-12-08 13:22

    If your project is using Swift, there are two separate "Optimization Level" settings in the project/target configuration. Its not only "SWIFT_OPTIMIZATION_LEVEL". Check this link: https://stackoverflow.com/a/32984193/2060180

    I'll leave it here in case it's useful to someone.

提交回复
热议问题