ios project and fix some warning