fix open xcode bug