Xcode 6: How to Disable Optimisation (Swift)
问题 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 toolbar and the closest option that I could find is Product => Perform Action => Generate Optimisation Profile . This does not work as I am debugging in the simulator, says Xcode. Is it possible to disable code optimisation in Xcode 6.1 using the simulator and writing in Swift, and if so, how would I go about that? SOLUTION: Click your