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:

Toshiba Satellite, L855

Several years ago I completely switch to Apple starting with an iPod and culminating, some months later, with an iMac, a 13″ MacBook and, finally, with a QuadCore i7 MacBook Pro. Still very happy with may MBP, and things got better and better with each OSX release. Now, with Mountain Lion cannot be more satisfied. […]

Logic Analyzer!

…and not only software (maybe). OK, to keep things short, I got tired by limitations of my Saleae logic analyzer, especially on the software side so I decided to build one. This is my new project: a DIY logic analyzer that I will hopefully use to better extent in my other projects. First results promising. […]

Leave a Reply

Your email address will not be published. Required fields are marked *