Xcode 6: How to Disable Optimisation (Swift)

前端 未结 1 1689
青春惊慌失措
青春惊慌失措 2021-02-13 10:19

Breakpoints are not being triggered during debugging. I discovered it\'s because of optimised code.

How can you disable optimisation?
I\'ve walked through every t

相关标签:
1条回答
  • 2021-02-13 11:20

    In Xcode, look under 'Build Settings' for your target, scroll to 'Swift Compiler - Code Generation' and then 'Optimization Level'. Ensure that 'None' is selected.

    0 讨论(0)
提交回复
热议问题