-
-
Notifications
You must be signed in to change notification settings - Fork 516
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
Can't build target with external SPM dependency #5195
Comments
Please provide sample project |
Sure, here is a basic sample app with a SPM dependency to the XMPPFramework. |
Using See here: https://tuist.github.io/tuist/main/documentation/projectdescription/dependencies/ |
@Lilfaen |
Hola 👋, We want to inform you that the issue has been marked as stale. This means that there hasn't been any activity or updates on it for quite some time, and it's possible that it may no longer be relevant or actionable. |
Hola 👋, We want to inform you that we have decided to close this stale issue as there hasn't been any activity or response regarding it after marking it as stale. We understand that circumstances may have changed or priorities may have shifted, and that's completely understandable. If you still believe that this issue needs to be addressed, please feel free to reopen it and provide any necessary updates or additional information. We appreciate your understanding and look forward to your continued contributions to the project. Thank you. |
What happened?
When compiling a target with an external SPM dependency, I got this compilation error:
./MyProject/Tuist/Dependencies/SwiftPackageManager/.build/checkouts/XMPPFramework/Package.swift:2:8: No such module 'PackageDescription'
It looks like it's trying to compile the SPM Package.swift file, I don't have this kind of issue with other SPM dependencies.
Package repository: https://github.com/robbiehanson/XMPPFramework.git
How do we reproduce it?
SampleApp with the error:
https://github.com/tuist/tuist/files/11541267/SampleXmppTuist.zip
tuist fetch
tuist generate
Error log
./MyProject/Tuist/Dependencies/SwiftPackageManager/.build/checkouts/XMPPFramework/Package.swift:2:8: No such module 'PackageDescription'
macOS version
13.3.1
Tuist version
3.19.0
Xcode version
14.3
The text was updated successfully, but these errors were encountered: