update ios sdk to v10

ios8 compatibility