MobileNativeFoundation / bluepill

Bluepill is a reliable iOS testing tool that runs UI tests using multiple simulators on a single machine
BSD 2-Clause "Simplified" License
3.18k stars 231 forks source link

Xcode 13.0 CRASH App crashed before tests started. #509

Open OliverKoo opened 2 years ago

OliverKoo commented 2 years ago

Seeing this Error when switching to Xcode 13

{61143} 20210902.000147 [ CRASH ] (BP-3_2 - mytest) App crashed before tests started.

Here is the log

Tests started: 2021-09-02 00:48:24 +0000
--------------------------------------------------------------------------------
dyld[39011]: Library not loaded: @rpath/XCUIAutomation.framework/XCUIAutomation
  Referenced from: /Users/buildkite-agent/Library/Developer/CoreSimulator/Devices/27191809-F930-46D3-B32F-86116BDA3153/data/Containers/Bundle/Application/957764AA-5856-4AF7-BB03-4A6383AF6AA2/IntegrationTestsEG2-Runner.app/Frameworks/XCTest.framework/XCTest
  Reason: tried: '/Users/buildkite-agent/Library/Developer/CoreSimulator/Devices/27191809-F930-46D3-B32F-86116BDA3153/data/Containers/Bundle/Application/957764AA-5856-4AF7-BB03-4A6383AF6AA2/IntegrationTestsEG2-Runner.app/Frameworks/XCTest.framework/../../PrivateFrameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Users/buildkite-agent/Library/Developer/CoreSimulator/Devices/27191809-F930-46D3-B32F-86116BDA3153/data/Containers/Bundle/Application/957764AA-5856-4AF7-BB03-4A6383AF6AA2/IntegrationTestsEG2-Runner.app/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Applications/Xcode-13.beta.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Developer/Library/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/System/Developer/Library/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Applications/Xcode-13.beta.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Developer/usr/lib/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/System/Developer/usr/lib/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Applications/Xcode-13.beta.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Developer/Library/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Applications/Xcode-13.beta.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/usr/lib/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Developer/usr/lib/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Users/buildkite-agent/Library/Developer/CoreSimulator/Devices/27191809-F930-46D3-B32F-86116BDA3153/data/Containers/Bundle/Application/957764AA-5856-4AF7-BB03-4A6383AF6AA2/IntegrationTestsEG2-Runner.app/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Applications/Xcode-13.beta.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Developer/Library/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/System/Developer/Library/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Applications/Xcode-13.beta.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Developer/usr/lib/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/System/Developer/usr/lib/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Applications/Xcode-13.beta.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Developer/Library/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Applications/Xcode-13.beta.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/usr/lib/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Developer/usr/lib/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Applications/Xcode-13.beta.5.app/Contents/Developer/Library/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)
  , '/Applications/Xcode-13.beta.5.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks/XCUIAutomation.framework/XCUIAutomation' (no such file)

BP_APP_PROC_ENDED
ob commented 2 years ago

Are you sure you built the app for testing? The runner is generated by Xcode.