Ever Lasting Art of Badshahi Masjid Lahore Pakistan

Posted on Updated on

Few days back, I was on visit to #WalledCity of #Lahore, and I stayed at historical #Badshahi Masjid. The glory of this masterpiece again forced me to take my cam to capture few clicks.

You can find rest of the photos on my Flick album Ever Lasting Art of Badshahi Masjid Lahore Pakistan

Waiting for your comments there (:

Flag Counter

“Redundant Binary Upload” Issue on iTunesConnect

Posted on Updated on

Hey Devs

If you are having following issue on new interface of iTunesConnect

“Redundant Binary Upload. There already exists a binary upload with build version ‘1.0’ for train ‘1.0’”

then you are not alone like forever alone guy. Like me and you, many others are facing this issue. But no worries, the solution is pretty simple.

More than one binary may be uploaded to iTunesConnect if the the Build number (Select the Target, then Xcode -> General -> Build, see the picture below) is increased by adding .1, i.e. if the version is 3.75, then increase it to: 3.75.1, but the Version is still `3.75 for the App (also in iTunesConnect). The build number just has to be unique for each binary that is loaded up to iTunesConnect.


After a new binary is uploaded and processed (~ 10 min), then you can select the new binary and submit it for review. In the picture below you may see the old and the new binary listed in iTunesConnect in the Build section of the current App version (you click the plus sign). Then the new binary is selected -> Saved -> Submit for Review. (Sometimes an error comes when submitting, then just try after a few mins or upload a new binary).

For those inclined to do this automatically with an Xcode script, here is a description of making an automatic script for updating Build numbers Better way of incrementing build number?

Note: The content of this post is extracted from this question over stakeoverflow.

Flag Counter

First Edition of LAFZ Magazine.

Posted on Updated on

ImageClick to enlarge

Alhumdulillah first printed edition of LAFZ magazine is out now. We worked really hard to make this moment possible today. Whole team, specially Yaseer Ali Choudhar (@yac_ali on Twitter) deserves big claps.

My article also made his place in this edition. This is about empress Nur Jahan of the Mughal Empire (1577 – 1645).

You can find my other articles in LAFZ magazine about

Stay blessed …

A shift towards Flickr

Posted on Updated on


So I have finally moved to #Flickr, for all my photography stuff. It was no doubt a long journey with #Picasa but after much consideration I finally vote for Flickr. Leaving Picasa was a sad moment as I always prefer to use #Google products (all solutions in one box) but due to some constraints Picasa wasn’t fitting with my needs.

The main reason was storage capacity. After having Canon EOS 100D as my professional camera, the need of more storage was inevitable. 1 terabyte of Flickr vs 15GB of Picasa is a huge difference, and this thing gave me really a breath of relax. As advertised over Flicker home page,  1 terabyte = 537,731 6.5 megapixel photos, and even if I chose high resolution photos of my cam .i.e. nearly 13 to 14mb per photo, even then there are 218,453 photos with 16.0 megapixel that I can upload over 1TB of free space. Waoooo … incredible.

You can find some of my click at https://www.flickr.com/photos/114820437@N08/sets … though they need to organize a bit more right now.

One interesting things is, I’m still using Picasa desktop tool to organize and edit all of my photos. There isn’t any match of Picasa desktop tool with any other photo organizer+editor. Here Picasa takes the stage.

Don’t you think that editing and organizing them in Picasa and uploading them over Flickr is something injustice with Google!!! ((:

Sometimes, I feel like this.

Flag Counter

Beta Builder :: Wireless Distribution of Your Adhoc Archive

Posted on Updated on

Hey .. how’s work going? It’s good Han !!! … good good … So you have done with your release and verified with QA after some bug fixing; That’s great; You done a good job;

Now Its time to share the Adhoc with client; Ok … so what would you do? You will probably generate an IPA and attach it in email along with release notes.. right ??? Or you will upload it over some ftp/dropbox to let the client download and install it via iTunes … han??

Well… orite .. that’s fine.. but you know what? In both cases when client has an IPA file, he/she has to use the iTunes to sync your app in device, and in case he is away from his desk (or wants to reinstall it after deleting the old installation) he is stuck ..

Listen .. you are missing one thing here … when you have IPA files and iOS version > 4.0, you should use the web-based, wireless distribution of Adhoc apps and the ability to embed provisioning profiles right into the IPA bundle; Your test users can now install the builds without ever using iTunes at all; Doesn’t it sound good? Read the rest of this entry »

Thumbnail Based MapView Annotation

Posted on

JPSThumbnailAnnotation is an open source library to customize your MapKit annotation view for displaying image thumbnail  along with title and subtitle.  Here is a quick screenshot from my sample project using this library.



Its free, and open source; You need to download JPSThumbnailAnnotation library from github and drag/drop the directory into your project; You will have following six files in library;

  1. JPSThumbnail.h
  2. JPSThumbnailAnnotation.h
  3. JPSThumbnailAnnotation.m
  4. JPSThumbnailAnnotationView.h
  5. JPSThumbnailAnnotationView.m
  6. JPSThumnail.m


 import JPSThumbnailAnnotation.h and add the following line of code to add one annotation on your map view

JPSThumbnail *faisaMosqueAnnotation = [[JPSThumbnail alloc] init];
faisaMosqueAnnotation.image = [UIImage imageNamed:@"faisalMasjid.jpg"];
faisaMosqueAnnotation.title = kFaisalMasjidTitle;
faisaMosqueAnnotation.subtitle = kFaisalMasjidSubTitle;
faisaMosqueAnnotation.coordinate = CLLocationCoordinate2DMake(33.72976, 73.03698);
faisaMosqueAnnotation.disclosureBlock = ^{ NSLog(@"Faisal Mosque selected"); };
JPSThumbnailAnnotation *annotation = [[JPSThumbnailAnnotation alloc] initWithThumbnail:faisaMosqueAnnotation];
[mapView addAnnotation:annotation];

You are good to go now .. You can download a sample project from here.

Flag Counter

Happy Programming .. (:

Local history/revision of files in Xcode

Posted on Updated on

Hello friends ..extra-xcode

hope things are going good on your desk ..

Last night I was going through my tweets, and there I found something really interesting; I crawled it for few minutes and after reading some blog posts I came to know about a very useful but hidden feature that I always miss in Xcode .i.e. local history/revision of your code files; (What!! what did you say!!! Say again … ) Read the rest of this entry »