XCode 4.3.3 – how to edit build settings

Analog Devices DSPWorking on my Logic Analyzer project, I wanted to setup a combined target structure in XCode, to have the complete E2E scenario built, from μC firmware to the cocoa libraries and application code. This means adding custom targets for μC build and upload. Well, as a short reminder, for now I am using a simple Arduino Uno to mock the data passed to the software logic analyzer, but I frankly hate the default Arduino code editor and I want to use XCode without switching between different IDE’s.

For those who know, there are several solutions for building your Arduino (or other custom μC programmer-based code) on Macs with Xcode. Probably the best is the CrossPack solution, that also has a comprehensive guide on how to achieve this. But they provide separate project based on separate project template and I did not want that. I wrote a post on how to achieve this, but one problem I was facing was when I tried to delete some entries (most of them) in the build settings of my custom target:

What if you want to delete some build settings from your custom XCode target ? Read the text to see how.

Most of these entries are not used by the custom Arduino/ μC target. How to delete them is not so straightforward as it seems.

Handy PrefSetter Application.

Googling did not help, but the solution is not as straightforward as it seems. But there is a solution. Let’s take the GCC_PREPROCESSOR_DEFINITIONS example. First, delete values for each build scheme: delete DEBUG=1:

Filed in Apple Programming, Blog, XCode. Bookmark the permalink.

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *