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

Missing reexports #10

Open
reckenrode opened this issue Jul 20, 2023 · 1 comment
Open

Missing reexports #10

reckenrode opened this issue Jul 20, 2023 · 1 comment

Comments

@reckenrode
Copy link

None of the tbd files in this repo have reexports, but Foundation at least should some (reexporting libobjc). You can see comparing the tbd file for it in the 11.0 SDK to the one here. This caused a failure in staging-next with a librsvg update, which was fixed in NixOS/nixpkgs#244471.

@toonn
Copy link
Contributor

toonn commented Jun 3, 2024

I think this is because the re-exports are absolute paths for the 10.12 stubs. Re-exports from Foundation.tbd:

re-exports:      [ '/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation', 
                   '/usr/lib/libobjc.A.dylib' ]

When generating newer stubs this no longer appears to be the case:

re-exports: [! '@CoreFoundation@/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation',
             ! '@libobjc@/lib/libobjc.A.dylib']

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

2 participants