-
-
Notifications
You must be signed in to change notification settings - Fork 562
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
π¦ Fix nested umbrella header handling #3588
Conversation
It'd be great to get @kwridan's eyes on this one |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @danyf90
If I followed along the nestedHeader
is the case is what GoogleSignIn
has
e.g.
GoogleSignIn/Sources/
βββ .....
βββ Public
β βββ GoogleSignIn
β βββ GIDAuthentication.h
β βββ GIDConfiguration.h
β βββ GIDGoogleUser.h
β βββ GIDProfileData.h
β βββ GIDSignIn.h
β βββ GIDSignInButton.h
β βββ GoogleSignIn.h
And GoogleSignIn.h
is the umbrella header. From that perspective the changes make sense - to expose those as public headers instead of using a custom module map.
Inspecting the GoogleSignIn project in isolation I see some of the other headers are missing - is that expected?
e.g.
Original (stand alone generated using swift package generate-xcodeproj
vs. tuist generate
projects/tuist/fixtures/app_with_spm_dependencies/Project.swift
Outdated
Show resolved
Hide resolved
Co-authored-by: Kas <kwridan@users.noreply.github.com>
Hey @kwridan π Regarding the missing headers, the public ones are only the ones we have added, while other ones are referenced locally via the header search path. |
Resolves #3459
Short description π
Nested umbrella headers should be handled as umbrella headers (adding the headers to the build phase instead of using the module map)
Checklist β
CHANGELOG.md
has been updated to reflect the changes. In case of a breaking change, it's been flagged as such.TuistGraph.Target
, theConstants.cacheVersion
has been updated.