Our test project consists of 3 targets which are defined with Xcodegen:
App: The app over which we are running the tests
WhiteBoxUtils: A target that contains our white box tests methods that we call via eDistantObject
Tests: EG2 test target with all of our tests
We are having issues upgrading our EarlGrey2 tests project from Xcode 15 to Xcode 16 as we’re unable to export symbols from the App to the WhiteBoxUtils target.
When we build we see several error messages in the format of “Undefined symbol: _OBJCCLASS$_someClassName”
The only promising fix we’ve tested so far is using Xcodegen to create static libraries alongside our existing app targets for WhiteboxUtils to link to, but so far we haven’t been able to fully implement that
I was wondering if anyone has seen similar issues integrating EG2 into an Xcode 16 project and curious about any solutions that may have arisen.
Our test project consists of 3 targets which are defined with Xcodegen:
We are having issues upgrading our EarlGrey2 tests project from Xcode 15 to Xcode 16 as we’re unable to export symbols from the App to the WhiteBoxUtils target.
When we build we see several error messages in the format of “Undefined symbol: _OBJCCLASS$_someClassName”
The only promising fix we’ve tested so far is using Xcodegen to create static libraries alongside our existing app targets for WhiteboxUtils to link to, but so far we haven’t been able to fully implement that
I was wondering if anyone has seen similar issues integrating EG2 into an Xcode 16 project and curious about any solutions that may have arisen.