Why does this shader show up black on iOS?

Hi everyone,
The following shader works fine in the editor and on Android devices, but is rendered completely black on iOS. Does anyone know how to fix this?

http://paste.ubuntu.com/13762578/

I hope you have the original uncompiled shader for your own sake. If not, what you have is pure evil and shame on whoever gave/sold you that.

Is your Graphics API on iOS set to Metal? Because that shader isn’t compiled for Metal.