I found another problem with the recommended Xcode settings for Pods. If you accept the recommended settings, Xcode changes the optimization level for the Pods project to "Quickly optimize the entire module." It modifies both Debug and Release. You can change manually only for Release. This fixed my unnecessary construction problem.
If you previously accepted the recommended settings, close Xcode and update and reinstall the containers. How to manually change the optimization level for the Pods project.

My first answer
Commit the changes and try again. It worked for me. If you are not using git or another source control, you can find the commit in the Xcode Source Control menu.
I'm not sure, but it's nice to clean compiled things too. (in the Xcode menu> Product> Clear)