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

Exclude XR and camera libs from basekit podspec #611

Merged
merged 2 commits into from
Oct 6, 2023

Conversation

CedricGuillemet
Copy link
Contributor

@CedricGuillemet CedricGuillemet commented Oct 5, 2023

XR, nativeXR and nativeCamera libraries are not excluded from BaseKit podspec resulting in missing symbols at link times.
List libraries explicitely to fix the issue.

@ryantrem
Copy link
Member

ryantrem commented Oct 5, 2023

Shouldn't the files themselves (e.g. libxr.a) be excluded from the package? Then the podspec doesn't need to change.

Alternatively, if we must include unused libs in the package for some reason, is there some kind of podspec exclusion syntax, so we can still include *.a but then exclude specific libs?

@CedricGuillemet
Copy link
Contributor Author

excluding .a from the package needs some work in the gulp file and it's starting to be (a little) convoluted and hard to maintain. I don't want to add cases where files are deleted at some steps.

In the pod spec, I tried to use exclude_files without success. It seems only valid for source files.

@CedricGuillemet CedricGuillemet enabled auto-merge (squash) October 6, 2023 15:58
@CedricGuillemet CedricGuillemet merged commit ed295e8 into BabylonJS:master Oct 6, 2023
21 checks passed
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

Successfully merging this pull request may close these issues.

2 participants