Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined Symbol: error when attempting build an EG2 project with Xcode 16 #2051

Open
joemantey opened this issue Sep 30, 2024 · 2 comments
Open

Comments

@joemantey
Copy link

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: OBJC_CLASS$_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.

@YuantongL
Copy link

+1 We see exact same issue on our project.

@gremlinflat
Copy link

Is there any update for this? I've experienced the same thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants