iPhone Dev, OS11 repository changes and hope for OGG

iPhone Dev, OS11 repository changes and hope for OGG

So today I joined the official iPhone Developer folks. First thing you do is to download the heavy iPhone SDK which comes in a “.dmg” file as many other bundles on Mac OS X.

What do you do though when you download it in Linux and want to look into it?

Yes, you put on your googlz and find that most people refer that you can mount that stuff using the loop device thing.

# mount -t hfsplus -o loop iphone_sdk_final.dmg /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so

Bah, doesn’t work.

# file iphone_sdk_final.dmg
iphone_sdk_final.dmg: VAX COFF executable not stripped

This appears to be a new kind of “.dmg” format which is probably compressed and in order to access it we have to process it a bit…

Let’s check the web for some nice tools, one is dmg2img a converter to create a general hfsplus image out of this file, the other is xar an archiver which Mac OS X is using a lot to extract further files within the bundles.

I have added those tools to my openSUSE 11 repository which is now split into a generic one and a GNOME specific one. Update your sources!

Unfortunately dmg2img did process and create an img file, however it could not be mounted and seemed corrupted…

Anyone with further advice on this?

Of course I have Macs and am able to open it, but I want to be able to do it in Linux.

In other news today, Firefox 3.1+ is gaining native support for the free and open OGG audio/video format! Could this be the final turnover that the OGG format needs to gain wide user margin? Let’s hope so…

One Response

  1. Gerardo says:

    Any updates on this? Got the same issue here.
    Please let me know if you could solve it.

Comments are closed.