Visit my site @ mugunthkumar.com


Categories » ‘Tech’

How to deploy on iPhone OS 3.1.3 without downloading the 2GB SDK

February 3rd, 2010 by Mugunth Kumar

Like most of you, I too downloaded the 3.2 beta and was playing around with some iPad stuff. Today when iPhone OS 3.1.3 is released, without second thought, I immediately updated my iPhone. My iPhone being a development device, I understood that I can no longer use the current XCode installation to run apps on device. When I launched XCode, the Organizer reported,

“The version of iPhone OS on “ABC’s iPhone” does not match any of the versions of iPhone OS supported for development with this installation of the iPhone SDK”

So does that mean, you should re-install the SDK? Just like me, you will probably have confusions like,

Will installing it corrupt or overwrite your 3.2 beta?


Should I re-install 3.2 beta again?

I too had these. Fortunately, I decided to hack things myself and got the 3.1.3 working without downloading the entire SDK. This is how I did. Type the following command into your terminal.


ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2\ \(7D11\) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.3

Now quit and restart XCode. Voila! you have effectively “fooled” XCode! and you have saved countless hours which you can effectively use on programming another cool app!

Note that this hack will work *any* minor OS updates. However, if you are using a feature specific to the new version you will probably find yourself in trouble. In other words, don’t try to apply the same technique when 3.2 or 4.0 launches.


Mugunth

Custom URL Shortening and Self Hosted “TwitPic”

October 17th, 2009 by Mugunth Kumar

With the outburst of Twitter and microblogging services, many companies who want to make some quick money started services that include, URL shortening like tinyurl, bit.ly, tr.im and others or image sharing services like TwitPic, yFrog and so on. However, due to lack of a proper business model, some of these sites are struggling to meet their bandwidth costs. Because most of these services are just a week long PHP programming work, it’s easy for other companies to enter the URL shortening bandwagon. As such it’s difficult for companies to really make a business model out of this.

Recently, Twitter’s switch from tinyurl to bit.ly as it’s default shortening service infuriated companies like tr.im as they announced that they will probably be shutting down their service, though they reverted their decision later. When such companies go out of business, what will happen to your URLs? Dead and gone for good? So why not host our own URL shortening services? How difficult is it to write our own URL shortening service? Turns out that a few couple of PHP files, and a MySQL database and a mod-rewrite enabled Apache server is all what you need for hosting your own URL shortening service. Writing those PHP code is not for the those who are not conversant with PHP (including me). For people like us, two smart guys, Lester Chan and Ozh Richard at yourls.org have written a custom URL shortener that you can use it for free on your blog. In this post, I will briefly explain how to host your own custom URL shortener using YOURLS. Later we will also look at how to host your own “TwitPic” service.

(more…)

Ego Searching to the core…!

September 2nd, 2009 by Mugunth Kumar
I know… For ages, I’ve been an egosearcher… But just today, I noticed that Google is suggesting my full name when my first name is typed.
Am I really this popular???
Ego Searching with Safari

Ego Searching with Safari


And now in Google Website itself… :D

Ego Searching in Google

Ego Searching in Google

Am so happy now…!

Mugunth


11 visitors online now
11 guests, 0 members
Max visitors today: 13 at 12:58 am SGT
This month: 58 at 03-01-2010 02:57 am SGT
This year: 59 at 02-12-2010 06:23 am SGT
All time: 59 at 12-19-2009 09:48 pm SGT