I followed @UdaySingh's comment and it worked, I'm not sure why he didn't post an answer but I realize there are people who sometimes need a step by step and a visual guide tremendously helps. Here's the visual version of his comment.
In the project navigator select the blue project icon.
In Xcode 11.2.1 they switched the below photos to Project, it used to be under Target
Important. The pic below is from Project
in Xcode 11.2.1, this where you need to go:
Select Build Settings
.
The pic below is from Project
in Xcode 10.1, this is where you would need to go:
In the search field type Build Active Architecture
and make sure Debug
is set to Yes
In the same search field now type in Optimization Level
.
Change Debug
and Release
to None
As per @matt’s comments below also do a clean afterwards.
That's it
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…