Fix upload for Iphone.
Cleanup.