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

Getting crash on XCUI testrun #220

Closed
zacoid55 opened this issue Nov 20, 2017 · 5 comments
Closed

Getting crash on XCUI testrun #220

zacoid55 opened this issue Nov 20, 2017 · 5 comments

Comments

@zacoid55
Copy link

zacoid55 commented Nov 20, 2017

I'm trying to run Bluepill on Xcode 9.1 - it starts the simulator and my app up but then it immediately throws this error:

{94614} 20171120.172235 [  INFO  ] (BP-1) No error
{94614} 20171120.172235 [  INFO  ] (BP-1) Completion block for launch
{94614} 20171120.172235 [  INFO  ] (BP-1) Calling completion block with: (null) - 94995
{94614} 20171120.172235 [  INFO  ] (BP-1) Completed: [Attempt 3] Launch Application
{94614} 20171120.172236 [  INFO  ] (BP-1) Got proxy channel request from test bundle
{94614} 20171120.172236 [  INFO  ] (BP-1) Test bundle is connected.protocolVersion= 6455, minimumVersion = 2103
{94614} 20171120.172237 [  INFO  ] (BP-1) Daemon ready to execute test plan (protocol version 25)
{94614} 20171120.172237 [  INFO  ] (BP-1) Test plan started!
{94614} 20171120.172237 [  INFO  ] (BP-1) _XCT_didBeginExecutingTestPlan
{94614} 20171120.172238 [  INFO  ] (BP-1) All Tests started.
{94614} 20171120.172243 [  INFO  ] (BP-1) Socket transport disconneted
{94614} 20171120.172243 [  INFO  ] (BP-1) DTXConnection disconnected.
{94614} 20171120.172243 [ CRASH  ] (BP-1) JourneyFeature/test_searchJourney crashed app.
{94614} 20171120.172243 [  ERROR ] (BP-1) Will kill the process with appPID: 94995

Config file:

{
  "xctestrun-path":"bluepill-dd/Build/Products/UITests_iphonesimulator11.1-x86_64.xctestrun",
  "app":"bluepill-dd/Build/Products/Debug-iphonesimulator/MyApp.app",
  "runner-app-path":"bluepill-dd/Build/Products/Debug-iphonesimulator/UITests-Runner.app",
  "output-dir": "./output",
  "device": "iPhone 8",
  "runtime": "iOS 11.1",
  "num-sims": "1"
}

Any ideas?

@oliverhu
Copy link
Member

I think you need this patch #207

@zacoid55
Copy link
Author

Don't suppose you could give me instructions on how to patch it into 2.02 (I installed it from brew), please?

@zacoid55
Copy link
Author

@oliverhu I built from the xcode-9.1 branch but no luck :( - still saying the same as above and crashing

@zacoid55
Copy link
Author

Ah, I narrowed it down - it's because of something I'm using is utilising XCActivitys

@oliverhu
Copy link
Member

Glad you figured it out!

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