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

Tuist does not parse dependencies with conditional targets correctly. #5654

Open
younata opened this issue Dec 8, 2023 · 0 comments
Open
Labels
type:bug Something isn't working

Comments

@younata
Copy link

younata commented Dec 8, 2023

What happened?

Hello! I'm filing this as part of an issue filed with Nimble, where it appears that Tuist is not parsing Nimble's Package.swift file correctly. Which causes Nimble.xcframework is not compiled with both the Nimble and NimbleObjectiveC targets when run on Macs, which ultimately causes Nimble to not track when testcases run due to Nimble's test case tracker getting registered with XCTest in code included in the NimbleObjectiveC target.

In the issue linked, the person who originally filed the issue includes a sample project that demonstrates it.

How do we reproduce it?

Follow steps in Quick/Nimble#1101

Error log

image

macOS version

Doesn't matter.

Tuist version

3.28.0 through 3.54.4

Xcode version

14.3 through 15.+

@younata younata added the type:bug Something isn't working label Dec 8, 2023
@younata younata changed the title Tuist does not parse semi-complex Package.swift files correctly. Tuist does not parse dependencies with conditional targets. Dec 8, 2023
@younata younata changed the title Tuist does not parse dependencies with conditional targets. Tuist does not parse dependencies with conditional targets correctly. Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant