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

Loads fine via SPM but can't add to other targets #57

Open
murraysagal opened this issue Nov 16, 2022 · 1 comment
Open

Loads fine via SPM but can't add to other targets #57

murraysagal opened this issue Nov 16, 2022 · 1 comment

Comments

@murraysagal
Copy link

Hello. Our project has multiple targets. The Add Package UI allows adding to a single target but it's straightforward to add packages to other targets later, except this package. I'm not sure what's different.

Here's our project and packages:
Screenshot 2022-11-16 at 7 56 00 AM

When I initially add the package it gets added to the app target. For the other targets we just add the packages through the Frameworks, Libraries, and Embedded Content in the General tab for the target:
Screenshot 2022-11-16 at 8 01 11 AM

When you click the Add button all the other packages show up but not WebRTC:
Screenshot 2022-11-16 at 8 03 22 AM

One possible clue: I looked through all thePackage.swift files and the only significant difference is yours is the only one with .binaryTarget in the targets array.


Note that it seems possible to add the package through the Add Other... button but when you choose Add Package Dependency... there it's the original Add Package UI and I'm reluctant to go that way because I think we'll end up with another copy of WebRTC which is not what we want.
Screenshot 2022-11-16 at 8 06 51 AM

@isadon
Copy link

isadon commented Dec 6, 2022

Seeing this same issue.

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

2 participants