Xcode 8 Breakpoint in file not working

前端 未结 11 666
Happy的楠姐
Happy的楠姐 2020-12-31 00:42

I have one file,SignInViewController.swift, in my Xcode project that out of nowhere has begun not stopping on breakpoints. I have a breakpoint in viewDidL

11条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-31 01:20

    In my case breakpoint was not hit in just one callback, so I changed "Swift Compiler" "Optimization Level" to "No optimization" in project target build settings for debug, and it started working in Xcode 9.3 as well as AppCode.

提交回复
热议问题