refine the code for ios build. add authors StevenLiu. 0.9.177