Added dependencies for ios platform
fixed compile errors for ios