Testing connectivity with XCode