I’m using iPhone OS 3.x on my iPhone and recently i had problems to get my .mp4 files displayed in mobile Safari. I tried different settings for encoding the files but not a single one worked. When i clicked the link to the .mp4 file in mobile Safari, all i got was the “file can’t get downloaded” error. After some googling i found a clue that it might has something to do with MIME types and the apache server hosting the videos.
Solution:
- encode your videos for iPhone / iPod Touch (Compressor, Quicktime, Adobe Media Encoder, …)
- test them on the device (add the video to your iTunes library and upload it to your iPhone and watch it!)
- upload the video to your webserver
- make sure you have the following line in your apache config or in a .htaccess file in your directory on your webserver:
1
| AddType video/mp4 mp4 mp4v mpg4 m4v |
That’s it, now progressively watching .mp4 videos from your webserver on your iPhone should work (again).
For quiete some time it bothers me that i’m not able to update apps for my iPhone / iPod Touch directly in iTunes. I get a notification that some apps have been updated, but when i click on this link, i enter the infinite loop of login to the appStore: i enter my username / password correctly, but get the login window again and again and again …
Today i finally found a solution for that problem here.
Nearly at the end of the thread user “X Rookie” got the right hint for me. The problem wasn’t iTunes or Mac OS X, the problem was NetBarrier! I use it as my personal firewall and like it, but somehow a setting in the data privacy part of the program caused all the trouble and i didn’t set it

After unchecking the “hide my AppleID when using iTunes MiniStore” checkbox, the problems with the appStore updates are gone
Here’s how to revert to a previous firmware version on your iPod Touch (iPhone?), even when apple states in it’s release notes for the new (beta) firmware that it’s not possible to revert
The trick is to correctly enter your iPod into the DFU (Device Firmware Update) mode.
- start iTunes
- connect your iPod to your computer
- press the power button and home button down for at 10 seconds
- release the power button and?keep the home button pressed until iTunes shows a message that it has found an iPod in recovery mode
- option – click on the restore button in iTunes
- select your firmware file (in my case 2.2.1), if you can’t find it, download it here and rename the .zip file into .ipsw, then select it in iTunes
- the firmware update starts, but keep patient! (sometimes it seems nothing happens, but wait, you will see it does)
After upgrading to iPhone SDK 2.2 and updating my iPod Touch’s Firmware to 2.2 (hell yeah, i love the option to disable automatic spellchecking!!!), i got an error building my iPhone Project:
ld: library not found for -lcrt1.10.5.o
The solution:
The error indicates some error when crosscompiling similar to crosscompiling from OS X 10.5?to Mac OS X 10.4?.
I checked the settings for my project and found that i had still set “Device – iPhone OS 2.1″ as my Base SDK. After changing the Base SDK to the most recent (and installed) version of the SDK it worked:
