test project and fix some bugs
update xcode