I need to add -ferror-limit=0
as a compiler flag. I’m using Xcode 14.1 but posts that show how to actually do it are older versions of Xcode. For example
Question posted in Xcode
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
2
Answers
Open your Xcode project and select the target for which you want to add the compiler flags.
Go to the "Build Settings" tab and search for "Other C Flags" or "Other Swift Flags" depending on the language you are using.
Double-click on the value for "Other C Flags" or "Other Swift Flags" to open the edit field.
Add your compiler flags, separated by spaces, in the edit field.
Press "Enter" or click "Done" to save your changes.