Host background port not assigned. Application under test may have failed to launch
- Dominant language
- Objective-C
- Stars
- 5.7k
- Forks
- 737
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 5
Description
Xcode 11.5. iOS 13.5. iPhone Xs
I have installed EarlGrey 2.0 using Cocoapods. But it's doesn't work. When I started test run have an error "Host background port not assigned. Application under test may have failed to launch"
And such strings in host app logs:
`dyld: warning: could not load inserted library '@executable_path/Frameworks/AppFramework.framework/AppFramework' into hardened process because no suitable image found. Did find:
/private/var/containers/Bundle/Application/0C66B96A-8CB4-42F2-A1E7-43B7EABF3B08/Performance.app/Frameworks/AppFramework.framework/AppFramework: no matching architecture in universal wrapper
/private/var/containers/Bundle/Application/0C66B96A-8CB4-42F2-A1E7-43B7EABF3B08/Performance.app/Frameworks/AppFramework.framework/AppFramework: no matching architecture in universal wrapper`
Contributor guide
Research direction
Start by reproducing the EarlGrey 2.0 CocoaPods test run with Xcode 11.5 on iOS 13.5 and inspect the host app logs. Investigate the reported AppFramework architecture warning and the missing host background port; done means the application launches without the dyld warning and the test run receives its background port.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios
- Domain
- mobile, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100