Open source on iPhone

Open source iPhone apps? Is this even possible? Apparently yes. Mobile Colloquy http://colloquy.info/mobile/ is available through iTunes App Store but its source code is also available in Colloquy svn repository. Anyone can check it out from the repository but not everyone can transfer it to an iPhone.

OK so what do you need to compile and use this app on iPhone:

  • iPhone or iPod touch obviously, I only tried on iPhone
  • XCode with SDK for iPhone I use SDK version for iPhone OS 2.2 and it works fine
  • You need to be registered into iPhone developer program otherwise you cannot transfer built application to your device
  • I suggest you have svn binaries to checkout Colloquy source but you can also download a zip archive if you don't

If you have all of the above read on.

  1. Follow first three steps from this guide http://colloquy.info/project/wiki/Source%20Code if you don't have svn go to this address http://colloquy.info/project/browser/trunk and download zip archive link to it is down at the bottom
  2. In newly created Colloquy directory open Mobille Colloquy xcode project
  3. Try building it and running on simulator if all works fine
  4. Now you need to create new provisioning profile there are tutorials on iPhone developer program portal how to do it. I used info.colloquy.mobile for app identifier
  5. After you create new profile download it and add it to your iPhone. In Xcode find Targets list expand it, right click on "Mobile Colloquy" and select Get Info. On "Build" tab find "Code signing" section. For "Code signing identity" there should be an "Any iPhone OS device" property set this to provisioning profile you just imported
  6. Only thing left is to select "Device" as target sdk and click "Build and go". Xcode should compile and install Mobile Colloquy to your device

0 comments on Open source on iPhone

    Post new comment

    The content of this field is kept private and will not be shown publicly.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    • Web page addresses and e-mail addresses turn into links automatically.

    More information about formatting options