Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode crashes right after new cassette recorded #33

Closed
ksm opened this issue Nov 20, 2015 · 3 comments
Closed

Xcode crashes right after new cassette recorded #33

ksm opened this issue Nov 20, 2015 · 3 comments

Comments

@ksm
Copy link

ksm commented Nov 20, 2015

Both my Xcode's (7.1 and 7.2-beta.3) crash when I run a test that uses DVR where no cassette exists yet. Crash happens right after DVR records the request, logs the fact to console and then aborts to stop running - immediately after or maybe even at the time of the abort there's a crash.

Here's a snippet from the crash log:

Crashed Thread:        38  <DBGLLDBSessionThread (pid=2221)>  Dispatch queue: DVTInvalidationPreventionQueue

DVR is probably not at fault here, but has anyone experienced this and been able to fix or workaround the crash?

@ksm
Copy link
Author

ksm commented Nov 20, 2015

Update: worked around the crash by removing the DVR framework from the project (it was added via Carthage). Then I copied and pasted the DVR source files into the project and added them to the test target. Works.

@ksm ksm closed this as completed Nov 20, 2015
@ksm
Copy link
Author

ksm commented Nov 20, 2015

I suspected it could have been some Xcode/Carthage interop problem, so I made sure that Carthage was compiling with correct version of Xcode and recompiled all Carthage dependencies for good measure. The command I use for recompiling: carthage update --platform iOS --no-use-binaries. Still crashed.

@mihaigeorgescu-newstore

I had the same issue, but the recompiling command did the trick for me. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants