do this:
compile or download the dmg2img binary. run it on the sdk. then mount it i think the command is like
Code:
sudo mount -t hfsplus -o loop /path/to/iphonesdkconvertedimage.img /path/to/mount/image/at
then, find inside that mounted image, iPhoneSDKHeadersAndLibs.pkg
run sudo apt-get install xar in terminal, and run these commands on the package.
Code:
xar -xf iPhoneSDKHeadersAndLibs.pkg Payload
mv Payload Payload.gz
gunzip Payload.gz
cat Payload | cpio -i
and you will have the sdk frameworks, which hold a folder in each named "Headers", that holds the headers.