The Gadgets

Covering the latest gadgets & gizmos like no other!

Subscribe to The Gadgets

Tutorial: How to Run iPhone Apps on a Mac

Posted by Owaeis On September - 25 - 2009
Run iPhone Apps on a Mac

Run iPhone Apps on a Mac

It has been in question that how can one run iPhone apps on a Mac so we have decided to provide you with a step by step guide on doing that easily.

Apple provides an iPhone simulator with the iPhone SDK for the developers to let them run their apps on their Macs. Unfortunately, XCode compiles completely different object code for the iPhone simulator and for the iPhone. Only the device code for ARM CPUs is uploaded to the App Store.

Before going further, please note that you will only be able to run those iPhone apps on your Mac, the source code of which you have access to. There are several apps whose source code is available on the web. The most prominent of them is “Wordpress for iPhone”. You can search the web for more open source iPhone apps. Here are a few. Also note that you need to have an Intel based Mac and at least Mac OS X 10.5.6 leopard.

Now follow these steps to run those iPhone apps on your mac.

1) Register yourself for free to iPhone developers program.

2) Log into iPhone Developers Website

3) Download iPhone SDK with iPhone Simulator.

4) Run the downloaded installation package (.dmg file)

5) You are ready to run iPhone apps on your mac.

6) To test, download the source code of BonFire app.

7) Extract the contents of the downloaded .zip file

8) Locate Bonfire.xcodeproj file in the extracted folder and run it. A window of the iPhone Development Envirenment “XCode” will open up.

XCode

XCode

9) Click on “Build and Go” in the XCode Window. iPhone simulator will automaticaly open with Bonfire running.

Enjoy!

Related Posts with Thumbnails

About the Author

Owaeis is a geek, a gadget freak and the founder of theGadgets.net. He writes about Apple, Microsoft and everything between them. Owaeis always has some great tips and tricks to share. Email Owaeis: owaeis@thegadgets.net

Comments to “Tutorial: How to Run iPhone Apps on a Mac”

  1. Imran Anwar says:

    Great posting, useful and fun. Good to know you on Twitter.

    Imran

  2. Jeba says:

    Great resource. Thank you so much. Exactly what i am looking for

Leave a Reply

About Us

TheGadgets.net brings you the latest news, reviews, tips and tricks about the latest gadgets and gizmos. Android, Apple & Microsoft are our main topics. Enjoy exploring the site and leave comments about your experience with us.

Flickr

Apple-Come-See-Our-Latest-Creation-540x368[1]3425464_068a1e6124_oFilm Title: Kung Fu Panda85424-SamsungBehold2[1]4262954121_7a01fc4b79_oBouton2[1]