Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Facebook SDK upgrade to 4.6 causes tests on xctool to hang while performing network operations #579

@IndieKevin

Description

@IndieKevin

I'm facing an issue with xctool after upgrading the Facebook SDK to v4.6 which, for some bizarre reason, causes xctool to hang. Reverting to a commit before the upgrade of the FBSDK results in consistent behavior. The FBSDK upgrade was the only change made in that commit.

The error that causes the hang is reproduced below:

2015-09-17 14:36:54.510 xctest[41073:302260] NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9807)

At the point of failure, the test that's running (unrelated to FBSDK in anyway) is attempting to make a network call. However, the call itself has been stubbed out via Kiwi so no actual network activity is being generated. Monitoring the execution of the tests using XCode and Charles Proxy, I noticed that no network activity is happening due to tests during normal execution. If that's the case, I think it's strange that this error even appears in the first place..

We're building using XCode 6.4 and our build target is iOS 8. After upgrading from v0.2.4 to v0.2.5 of xctool, xctool will sometimes run to completion with no error and sometimes hang. Between the two different outcomes, nothing code wise is changed.

This seems to be related to the issue that was closed before, but may have resurfaced in some way or form..
#451

The tests don't hang and pass normally while using XCode. Would be glad to provide additional details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions