You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When point the cocoapods to latest earlgrey2 branch, I am seeing an issue with a header (GREYDescribeVariable.h) not being accessible in GREYAssertionDefinesPrivate.h file.
Once I made GREYAssertionDefinesPrivate.h public in Target membership section, The app and test compiled fine and were installed and launched.
After launching, I saw an error: 2023-01-23 10:07:29.305585-0800 [62174:24241479] [EARLGREY-LOG] Application Launch Completed. UI Test with EarlGrey Starting 2023-01-23 10:07:59.307334-0800 [62174:24241479] Fatal failure: Host background port not assigned. Application under test may have failed to launch and/or does not link to EarlGrey's AppFramework. in /Pods/EarlGreyTest/TestLib/DistantObject/GREYTestApplicationDistantObject.m:278
The text was updated successfully, but these errors were encountered:
badrinrs
changed the title
Host background port not assigned. Application under test may have failed to launch with latest Cocoapods
[EarlGrey2] Host background port not assigned. Application under test may have failed to launch with latest Cocoapods
Jan 23, 2023
@badrinrs I'm not sure if you managed to figure this out but this error usually happens if you're trying to use an EG function before your XCUIApplication has actually finished booting up.
When point the cocoapods to latest earlgrey2 branch, I am seeing an issue with a header (
GREYDescribeVariable.h
) not being accessible inGREYAssertionDefinesPrivate.h
file.Once I made
GREYAssertionDefinesPrivate.h
public in Target membership section, The app and test compiled fine and were installed and launched.After launching, I saw an error:
2023-01-23 10:07:29.305585-0800 [62174:24241479] [EARLGREY-LOG] Application Launch Completed. UI Test with EarlGrey Starting 2023-01-23 10:07:59.307334-0800 [62174:24241479] Fatal failure: Host background port not assigned. Application under test may have failed to launch and/or does not link to EarlGrey's AppFramework. in /Pods/EarlGreyTest/TestLib/DistantObject/GREYTestApplicationDistantObject.m:278
Podfile:
@tirodkar
The text was updated successfully, but these errors were encountered: