T3P #1 Setting up for IPhone Dev

 

The Tale of 3 Platforms Series (T3P) is the story of creating the same application NATIVELY on each platform IPhone, Windows Phone, and Android. (If you are looking to use phone gap for cross platform, check out my other series Phone Gap Tutorials) As we build the application we will talk about tips, tricks, and try to get the app to work on each platform the same way.

The first thing i had to do was go out a buy myself a Mac.  Something that was good enough to do dev on without breaking the bank.  I found a great deal at Best Buy (open box AND Rebate) for a MacBoo Air.  Installed Bootcamp (And Windows 7) and we were on our way.

NewImage

On a side note before we begin, I will say that it has been interesting to get back up to speed on a Mac. I have owned them in the past, but when you need to actually do things on one (besides email and web) it can be a real time drag to get comfortable.  For example, I needed a blog post editor like Live Writer, (since I am doing this post from the Mac). It turns out that Live Writer is the MAN (or errrr ummm the Writer).  I am using MarsEdit right now but can’t see spending the $40 it costs when my trial is over when it is so weak compared to Live Writer. There are a couple that are supposed to be better but they don’t work on Lion.   Another thing that took me a while is Screen Capture.  I figured out how to finally do it on a Mac : Ctrl +Cmnd+4+tab+stand on your head,  but it only allowed me to copy to clipboard or to desktop, no edit.  As you can see above, sometimes you need to blot something out.  Anyway, after some searching, I found a program called Skitch that is free and seems to do the job.   So I think that I have now realized that I am going to be dealing with a few non-dev issues before I can really get a nice dev flow going.

In addition to the above… I came to realize that I did not have enough room to do bootcamp on this machine.  This was the first thing that was really easy to fix (Thanks to my buddy Scott Cate) I just had to go to Finder and open up the bootcamp assistant and then three steps later, the mac had reclaimed the space.

 

OK… Back to our IPhone Setup.

The first thing I did was to sign up as a developer at apple. https://developer.apple.com/ .  This cost $99 dollars and took a few emails and about a day or so before I was “part” of the developer program.  On the developer site, there are Getting Started Videos and Getting Started Documents.  The videos seemed to be for development topics like “implementing in app purchases” or “Game Center Essentials”. So I went to the “Getting Started Documents” section. There I found the “Start Developing IOS apps today” document.  This looked like the right place.

Start Developing with IOS

 

The first page stated :

As you proceed through the road map, you will use Xcode and the iOS SDK, Apple’s tools for app development. You will learn the basics of programming with Objective-C, the language that powers all iOS apps and frameworks, and will explore the Cocoa Touch frameworks. You will create a simple iOS app and learn how to test it on a device. Finally, you will learn how to submit an app to the App Store.

 

Seems easy enough…

So first I went to the App Store to Download XCode

NewImage

 

But when I tried to install it, it said Sorry Charlie.

NewImage

 

As you can see above… I have 10.7.2.  So I need to update the mac os.

 

OK… Mac updated to 10.7.3 now… I went back to the App Store to Install Xcode and now it lets me install.

 

NewImage

 

Once this is complete, there is a Developer Folder on my Desktop with all the tools I need for development (I think) :).

In the next post we will start with a simple Hello World app before we move on to Android.

Other Posts in this Series

(This list will automatically grow as I write them)

 

[catlist name=taleof3platforms]

 




9 Responses to T3P #1 Setting up for IPhone Dev
  1. Kevin McMillen
    February 22, 2012 | 5:14 pm

    Great post Dan. If you’re interested I have some input.

    1. Go buy parallels for the desktop and then i’ll email you what to do to optimize the experience so that you don’t waste your battery when running win7 on it.  It will kill the awesomeness of the experience on the battery if you let it. Birger Steen ( I bet you remember him ) is the CEO of Parallels now and doing some incredible things.2. My favorite apps so far are of course Office for Mac with connectors for Office365 but also MonoDevelop and TweetDeck as well as Network Utility
    3. Tweetdeck in the AppStore is not as sweet as the Adobe Air version of Tweetdeck so don’t go there
    4. I’m sure that when you finish with the above setup you’ll think the Series 7 and 9 laptops are for the birds ( I’m guessing you were issued one of those )

    Finally, running windows8 on the air is like a dream come true – soooooo fast.

    I know I’m not the evangelist that you are and I hope you take my comment as a friendly hello and suggestion list on the things my team has learned.  Every developer is on a Mac product running Parallels in Coherence Mode.  You have IOS and WP7 dev as well as Android in one package.  We will most likely never look back. This hardware is incredible.  The OS sucks – but as a developer or any part of the dev team we require one machine with all the tools.  

    Also, so that anyone reading this knows – We are a 4 time Gold Competency recipient and 11 time Silver Competency recipient and a dedicated Microsoft Partner.  This is not a touting for Mac it is simply a requirement of our ever changing world and Apple is still making the best hardware bar none for the money and design.

  2. Amarwadi
    February 23, 2012 | 8:55 am

    I passed through the same phases you are going through. I agree with Kevin, the OS sucks, but the hardware is terrific. The fastest way for us to develop iOS,Wp7 and Android apps is by using the power of monodevelop with monotouch. I would never recommend any seasoned devs to write objective c. I’d rather stand on my head all day long :)
    Anyways, good luck and let me know if I can help in any way.

  3. DanielEgan
    February 23, 2012 | 9:19 am

    Hey Kevin,  Thanks for the input.  One of the things that I want to do is to run everything natively so I get the real experience and can correctly compare the 3.  So for now I think I will keep it as is and just figure it out. 

    As for tweetdeck… you are right… Twitter ruined it.

    Daniel

  4. DanielEgan
    February 23, 2012 | 9:20 am

    Hey Amarwadi…. I am staying away from Monotouch on this series to get a true picture of things.. but you are right, I am not looking forward to Objective C :)

  5. Jerry Nixon
    February 24, 2012 | 9:56 am

    Daniel, as a developer who has never had the pleasure of playing on a Mac, it is fascinating for me to read this series. Please include as much detail as possible (like you already have) because I have always had a morbid curiosity about how Windows people deal with the changes they encounter in the Apple OS. I ca only imagine that Apple has some great features I would love to see on Windows, and some annoying features that will make me pine for my W7 environment. This is a great series by the way. How much did that Mac cost?

  6. David McKenzie
    February 28, 2012 | 10:36 am

    Use the Grab utility (standard) for screen captures. It is waaaaay easier to use than the command-key shortcuts.

  7. iNvXnFkACYYTiph
    December 7, 2012 | 9:50 pm

    PywqERIFoxDCslKFHa 1290

  8. Thi Patten
    December 12, 2012 | 2:28 am

    I’ve learn some just right stuff here. Definitely value bookmarking for revisiting. I wonder how a lot effort you put to create this kind of excellent informative site.

  9. Elane Giglio
    December 12, 2012 | 1:00 pm

    hello people!! Huge site!