Random stuff

On your Project Info build tab, add two user-defined settings:

  • AD_HOC_CODE_SIGNING_ALLOWED: NO
  • CODE_SIGNING_REQUIRED: NO

Tell Xcode to not sign the binary, changing the following settings:

  • Code Signing Identity (Any iOS): Don’t Code Sign
  • Code Signing Entitlements: <blank>

Tell Xcode to not sign your binary.

We will still need to sign the binary with ldid later, and ldid does not support signing fat binaries, so we will need to pick just one architecture. If we tell Xcode to only build, armv6, your app will work on any device. So, still on your project settings, change the following options:

  • Architectures: armv6 (click on the selected option, choose “Other…”, remove whatever you have there and add “armv6″.
  • Valid Architectures: armv6 (just to be sure)

armv6-only

You can now build you project on Xcode normally.

Next, we will need to sign this binary with ldid (you can download ldid from here).

On Terminal, go to the folder where Xcode created your bundle and sign your binary with ldid: ldid -S MyApp.app/MyApp

And make it executable: chmod 755 MyApp.app/MyApp

That’s it! You can now either package your app for submission or ssh it to your device.

Building for Cydia submission with iOS 4.2 SDK and Xcode 3.2.6

There are so many artists I never heard of in Coachella’s 2010 line up that I wanted it somehow sorted by popularity. So I wrote a quick script to search those artists on Last.FM and sort the results by number of listeners.

Nothing fancy or accurate, but helped me check if any of the popular ones have slipped under my radar.

(more…)

Coachella 2010. Who’s popular?