Updated for iOS 7 (and maybe 6, but I don't have a device to test)

This also adds arm64 support.