Breakpoints do not work in xcode pod files

I have an xcode project that contains several cocoa pod files. When I put breakpoints in cocoa pod files, the debugger does not stop at these breakpoints, why? Can anyone have an idea about this?

+23
source share
2 answers

I followed @UdaySingh's comment and it worked, I’m not sure why he didn’t post the answer, but I understand that there are people who sometimes need step-by-step steps, and the visual guide really helps. Here is a visual version of his comment.

In the project navigator, select the blue project icon.

enter image description here

Choose Build Settings

enter image description here

In the search field, enter Build Active Architecture and make sure Debug set to Yes

enter image description here

In the same search field, now enter Optimization Level . Change Debug and Release to None

enter image description here

Following @matts comments below also do the cleaning afterwards.

it

+2
source

In my case, cleaning the Pods directory and installing the modules worked again. Spent hours on it, so I hope that it will be useful for those who still can not find a solution.

0
source

Source: https://habr.com/ru/post/1246393/


All Articles