test for connect by Xcode.