Update code about XCode