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

Tuist is a bit strict about SPM dependencies with invalid Resources folder #6019

Closed
bfrolichera opened this issue Mar 2, 2024 · 0 comments · Fixed by #6027
Closed

Tuist is a bit strict about SPM dependencies with invalid Resources folder #6019

bfrolichera opened this issue Mar 2, 2024 · 0 comments · Fixed by #6027
Labels
type:bug Something isn't working

Comments

@bfrolichera
Copy link

What happened?

When an SPM package declare Resources but doesn't really expose Resources folder, tuist fetch will fail with the following error.

How do we reproduce it?

Bootstrap a tuist project

add Airship dependency

.package(url: "https://github.com/urbanairship/ios-library.git", .exact("17.7.3"))

execute tuist install

Error log

The target AirshipPreferenceCenter has the following invalid resource globs:
- The directory "xxx/Tuist/.build/checkouts/ios-library/Airship/AirshipPreferenceCenter/Resources" defined in the glob pattern "xxx/Tuist/.build/checkouts/ios-library/Airship/AirshipPreferenceCenter/Resources/**" does not exist.
Consider creating an issue using the following link: https://github.com/tuist/tuist/issues/new/choose

macOS version

13.6.3

Tuist version

4.4.0

Xcode version

15.1

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
1 participant