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

ipsw class-dump DSC Foundation --headers not making a file for _NSAttributedStringFromMarkdownCreator protocol #448

Open
blacktop opened this issue Apr 18, 2024 · 4 comments

Comments

@blacktop
Copy link
Owner

          Regarding `_NSAttributedStringFromMarkdownCreator` not being found in Foundation, it looks like Apple is hiding some stuff even in public frameworks. The closest thing I could find in the framework bundled with the SDK is `__NSAttributedStringFromMarkdownWithCreator` in `Foundation.tbd`. That means that we cannot rely on `@import Foundation;` including everything that is actually present in the framework, since its TBD is missing symbols.
image

Originally posted by @t0rr3sp3dr0 in #443 (comment)

@blacktop
Copy link
Owner Author

@t0rr3sp3dr0

@blacktop
Copy link
Owner Author

Even though it's a Private protocol to the @import Foundation we should still be generating it and it's definitely a 🐛 that we aren't.

@blacktop
Copy link
Owner Author

LOL, this was just a silly edge case where I filter out Foundation stuff because I always import @import Foundation and then I was dumping the headers for... Foundation 🤦

@blacktop
Copy link
Owner Author

There might be more things to fix to handle this edge case as well as CoreFoundation and NOW libObjc etc?

Maybe my check should also prevent the auto prepending of @import Foundation? but I think that might break other things? Not sure anyone would really want to dump the headers for a Public framework like Foundation in practice?

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

1 participant