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

import youtube-ios-player-helper by SPM cannot find YTPlayerView #5144

Closed
AlexPan1992 opened this issue Apr 11, 2023 · 2 comments
Closed

import youtube-ios-player-helper by SPM cannot find YTPlayerView #5144

AlexPan1992 opened this issue Apr 11, 2023 · 2 comments
Labels
type:bug Something isn't working

Comments

@AlexPan1992
Copy link

What happened?

https://github.com/youtube/youtube-ios-player-helper

I successfully imported youtube-ios-player-helper using a brand new project through Xcode package dependencies SPM. but Tuist fail.

#3785 << It looks like the same problem.

How do we reproduce it?

.package(url: "https://github.com/youtube/youtube-ios-player-helper.git", .exact(.init(1, 0, 4)))

Error log

Cannot find type 'YTPlayerView' in scope

macOS version

12.6

Tuist version

3.17.0

Xcode version

14.2.0

@AlexPan1992 AlexPan1992 added the type:bug Something isn't working label Apr 11, 2023
@danieleformichelli
Copy link
Collaborator

No sample project and (probably) duplicate

@amarcadet
Copy link

amarcadet commented Jan 31, 2024

I am facing the same issue with Xcode 15.2 and Tuist 3.42.2, is there a solution?

I tried adding YouTubeiOSPlayerHelper as an .external or a .package dependency without success.

EDIT: Nevermind, after a clean build and reboot of Xcode it worked using .package, might be some Xcode artifacts issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants