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

Addon Multiplatform xcframeworks #482

Open
danoli3 opened this issue Feb 10, 2024 · 2 comments
Open

Addon Multiplatform xcframeworks #482

danoli3 opened this issue Feb 10, 2024 · 2 comments
Assignees

Comments

@danoli3
Copy link
Member

danoli3 commented Feb 10, 2024

An issue to fix for xcframeworks for Addons folder search is excluding other platform directories:

I.E.
opencv:
xcframework is included for tvOS/iOS
into the macOS project.

Only occurs with addon project tests where multiple targets downloaded

While technically we could fuse all these xcframeworks together at some point, at the moment for addons having multiple of the same xcframework will cause errors, they meant to be all one.

Fix:
not include the other platform xcframeworks in the projectGenerator

@danoli3
Copy link
Member Author

danoli3 commented Jun 8, 2024

will need to add another target for this as we have:

OSX (Xcode), IOS (Xcode).

We will need macOS (Xcode).

  • macOS will target a new core Project file that uses and targets xcframeworks in the macOS subfolders.

Also will need to modify the addon search paths for OSX and iOS to ignore the macOS xcframework folders
And have the macOS one exclusively look at the macOS folder as type to prevent double linking issues

@danoli3 danoli3 self-assigned this Jun 8, 2024
@danoli3
Copy link
Member Author

danoli3 commented Jun 25, 2024

@dimitre for this, is there a way to filter out addon locations for targets like so:

  • tvOS: do not look in addon folders containing "osx", "ios", "macos"
  • iOS: do not look in addon folders containing "tvos", "ios", "macOS"
  • OSX: do not look in addon folders containing "tvos", "ios", "macOS"

If this is in then we can look at merging the Xcode changes as this is the only main issue before mega framework stuff

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