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

xcframework contents are copied into bin #8147

Open
roymacdonald opened this issue Oct 16, 2024 · 5 comments
Open

xcframework contents are copied into bin #8147

roymacdonald opened this issue Oct 16, 2024 · 5 comments

Comments

@roymacdonald
Copy link
Member

on macos, since the core addons' libraries are now xcframeworks, the contents of these are being copied to the projects bin folder. This is not necesary and should not happen.
@dimitre @danoli3

@danoli3
Copy link
Member

danoli3 commented Oct 16, 2024

its copying to the temp folder which is also the bin folder, I had a solution for this at one point, was something to do with changing the cache dir

@roymacdonald
Copy link
Member Author

but it is not deleting these, actually, the headers and .a files dont need to be copied anywhere.

So I don't get why it is done , not sure either if it is something misconfigured on our side or if it is the xcframework default behaviour.

@dimitre
Copy link
Member

dimitre commented Oct 16, 2024

duplicate of #8063

@roymacdonald
Copy link
Member Author

I also noticed that all the core static libraries are getting copied into libs/openFrameworksCompiled/lib/macos which I think there is no need for those to sit there.

But then, when using any addon that has a static libraries, its files get copied into the app bundle next to the executable, which unnecessarily bloats the app file size. It is quite noticeable when using opencv for example.

Honestly, I dont see what is the gain on having xcframeworks instead of what we had. I get the idea for developing ios/etc, but for macos it does not make sense to much at least at the current state. I see no benefits from it. Please let me know what are the reasons or need to have xcframeworks instead of what we used to have.

@danoli3
Copy link
Member

danoli3 commented Oct 26, 2024 via email

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

3 participants