LoginSignup
8
5

More than 5 years have passed since last update.

XcodeでBreakpointを設定したのに止まらない時の対処法

Posted at

環境

Xcode Version 9.4.1
BuildConfigration Release

再現

Xcode -> EditScheme -> Run -> BuildConfigration
上記の設定がDebugの時はBreakpoint(ブレークポイント)が正常に動作したがReleaseに変えた時にBreakPointが動作しなくなった

解決方法

ProjectのBuildSettings -> Optimization LevelをNo optimization[-Onone]に設定するとSchemeをRelease環境に設定した時も正常に動作するようになりました〜
Screen Shot 2018-07-26 at 16.00.24.png

参考

8
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
5