Skip to content

[SR-15243] swift package describe Failing for Package with binary targets #4387

Open
@swift-ci

Description

@swift-ci
Previous ID SR-15243
Radar None
Original Reporter maxxfrazer (JIRA User)
Type Bug

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
Votes 0
Component/s Package Manager
Labels Bug
Assignee None
Priority Medium

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions