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
Public headers in render/ imported sibling headers from lib/ by bare
filename (e.g. `#import "MTMathList.h"`). That only resolves via the
target-internal `lib` header search path, which is applied when building
iosMath's own sources but NOT when a downstream SPM consumer builds the
`iosMath` Clang module from module.modulemap. Consumers therefore failed
with "'MTMathList.h' file not found" / "could not build module 'iosMath'",
while the bundled demo and in-package tests worked.
Qualify the render -> lib imports as `lib/MTMathList.h` so they resolve
from the package's public-headers root (exposed to consumers), and add
that root to each target's header search paths so internal builds keep
resolving the qualified path.
Add `iosMathConsumerTests`, a test target that imports iosMath purely as
a Clang module with no header search paths, reproducing external SPM
consumption. It fails to compile if a bare cross-directory import returns.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments