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
[SR-15243] swift package describe
Failing for Package with binary targets
#4387
Comments
Comment by Max Cobb (JIRA) As it's been a while - I wanted to add that this is still the case. |
I just tried this on head (e79908c) and hit a different error message.
|
Linking to Swift Package Index issue: SwiftPackageIndex/SwiftPackageIndex-Server#1172 |
@iainsmith is this with the same project as above? |
Reproduce on swift-tools-version:5.7 // Package.swift
.binaryTarget(
name: "LocalXCFrameworkZIP",
path: "LocalXCFrameworkZIP.zip"
), then run |
I've just run into this bug, it's also present in the 5.9 beta. This branch demonstrates the issue, just checkout and run |
Attachment: Download
Environment
swift-driver version: 1.26.9 Apple Swift version 5.5 (swiftlang-1300.0.31.1 clang-1300.0.29.1)
Target: x86_64-apple-macosx11.0
Additional Detail from JIRA
md5: 79541160117c9c09d26e1191d5bd4626
Issue Description:
`swift package describe` and `package-collection-generate` fail on Swift Packages that contain only binary targets.
Output in terminal for package describe:
error: artifact not found for target 'AgoraRtmKit'
Example packages that are failing:
https://github.com/AgoraIO/AgoraRtcEngine_iOS
https://github.com/AgoraIO/AgoraRTM_iOS
In the attachments I have added Agora-Packages-Input.json, which is a JSON file used as the input for generating a package collection. The only package that passes is `iOS-UIKit`, which has the two above packages as dependencies.
Possibly connected to: https://bugs.swift.org/browse/SR-15065
The text was updated successfully, but these errors were encountered: