You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
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:
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.
The text was updated successfully, but these errors were encountered:
IndieKevin
changed the title
Facebook SDK upgrade to 4.6 causes tests on xctool to hang while performing network operations (tests work fine on XCode)
Facebook SDK upgrade to 4.6 causes tests on xctool to hang while performing network operations
Sep 17, 2015
@IndieKevin, could you convert your tests to application test (specify test host app for the test bundle in the Xcode target settings) and verify if it helps?
Thanks for the quick reply @ExtremeMan, I encounter other unrelated errors when attempting to convert the tests to an application test (has to do with the way our tests are set up) and aren't able to do so in a convenient manner. Could I get some insight into your suggestion or what you think the problem may be?
Logic and app tests have different contexts in which they are run. I remember I was working on some bug reports where it helped that is why I've suggested that. Though, as you correctly pointed out to another issue those tests were logic because I am mentioning simctl which is used to run logic tests and not the app tests.
Just as an update, this problem still persists in 0.2.6 using XCode 7. Reverted to using xcodebuild for the time being until more time is spent looking into the issue. Looks like attempting to make network requests remains an issue.
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.
The text was updated successfully, but these errors were encountered: