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

Add test that checks that the "frameworkIdentifier" matches the framework loaded #561

Closed
ronaldoussoren opened this issue Jun 8, 2023 · 0 comments

Comments

@ronaldoussoren
Copy link
Owner

Should be possible using __bundle__.bundleIdentifier and __framework_identifier__ (at to sanity check).

Don't do this as part of framework loading as this is unnecessary overhead.

ronaldoussoren added a commit that referenced this issue Jun 10, 2023
This rewrites the __init__.py of all framework bindings to
switch away from ObjCLazyModule to objc.createFrameworkDirAndGetattr.

A side effect of this is that those init files are now a
lot cleaner than before (e.g. cruft removal).

Also adds a test for validating the bundle identifier of
frameworks, and fixes those identifiers in a couple of bindings.

Closes #295 and closes #561.
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