New issue
Advanced search Search tips

Issue 874016 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Aug 14
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Bug



Sign in to add a comment

Running EG test suite twice doesn't work on XCode 10

Project Member Reported by gambard@chromium.org, Aug 14

Issue description

If I run an EG test suite twice, it is not working the second time (and the third and...). I have the beta 4. Here is the error:

dyld: lazy symbol binding failed: Symbol not found: __XCTLoadTestConfiguration
  Referenced from: /Users/gambard/Downloads/Xcode-beta 3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/libXCTestBundleInject.dylib
  Expected in: /Users/gambard/Library/Developer/CoreSimulator/Devices/98299244-2B6D-4EFD-8828-01631464162E/data/Containers/Bundle/Application/E5444ACB-5BC9-4D5B-938A-5623EE9283F0/ios_chrome_reading_list_egtests.app/Frameworks/XCTest.framework/XCTest

dyld: Symbol not found: __XCTLoadTestConfiguration
  Referenced from: /Users/gambard/Downloads/Xcode-beta 3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib/libXCTestBundleInject.dylib
  Expected in: /Users/gambard/Library/Developer/CoreSimulator/Devices/98299244-2B6D-4EFD-8828-01631464162E/data/Containers/Bundle/Application/E5444ACB-5BC9-4D5B-938A-5623EE9283F0/ios_chrome_reading_list_egtests.app/Frameworks/XCTest.framework/XCTest

Any idea?
 
I'm not able to reproduce.  I wonder if the wrong XCTest framework is being copied in, maybe from an old Xcode install?  It should get overwritten, however.

Can you try blowing away ios_chrome_reading_list_egtests.app?

Maybe my steps are different -- how are you running the tests?  I typically press the 'play' button in the Test navigator.

I'm also using beta 6, but I definitely ran tests on beta 3.
Status: Verified (was: Assigned)
I wasn't using XCode 10 to compile. Working fine when using it.

Sign in to add a comment