Difference of Xcode for Mac and iPhone

What is good about iPhone SDK is that programming models for the two are same. So, Mac programmer can write code for iPhone/iPod touch without spending much time to learn how to write codes for them.

However, there are slight differences between Mac and iPhone/iPod touch.
Among those, I would like to mention about differences in the Xcode first.

Let’s take a look at this.


Project Setting in Xcode for Mac

Project Setting in Xcode

Project Setting in Xcode for iPhone

For Mac, most of setting for compilers and linkes are prepared. But strangely those for iPhone/iPod touch are not. So, you should type in such setting like GCC_PREPROCESSOR_DEFINITIONS manually. The Xcode doesn’t display nice self-explanatory string like it does for the Mac, either.

I think Apple should address this.


2 responses to this post.

  1. Posted by cdespinosa on March 21, 2009 at 10:20 PM

    This is not a difference, this is a bug. It happens when the Active SDK starts out different from the Base SDK in the project, and is resolved by changing the Active SDK to match, once. This is fixed in the version of Xcode in the iPhone OS 3.0 SDK.


    • Posted by jongampark on March 22, 2009 at 8:50 AM

      Thank you, cdespinosa, for your commenting.
      I thought that it was not just as refined as the Xcode env for the Mac. :)

      It is very nice to hear that it was resolved with the 3.0 SDK.
      I also noticed others which are small but things about IBAction is somewhat big. ( It depends how people think of it. )
      For example, if an IBAction is created with the IB for the Mac, if colon is omitted, the IB complains that the colon is required for the IBAction. But for the iPhone/iPod touch, it doesn’t and just creates a handler method without (id) sender parameter.

      I have thought about if this is a bug to report or not. I needed to think about if this means some changes in the programming model or convention. I noticed some programming model shift in terms of programming style for the iPhone/iPod thouch, so I am not sure.

      Thank you anyway for leaving your comment. :)


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: