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

JFrog task to provide full support for the 'Swift' package type #462

Open
ashokm opened this issue Nov 15, 2023 · 0 comments
Open

JFrog task to provide full support for the 'Swift' package type #462

ashokm opened this issue Nov 15, 2023 · 0 comments
Labels
feature request New feature or request

Comments

@ashokm
Copy link

ashokm commented Nov 15, 2023

In 2022, JFrog offered the ability to create 'Swift' package type, providing a Swift registry to enable developers to use JFrog Artifactory for resolving Swift dependencies instead of enterprise source control (Git) systems.

For Azure DevOps users (specifically those using Azure Pipelines), they can use the JFrog Generic Artifacts task to perform generic actions on artifacts, such as:

  • Downloading and uploading from/to Artifactory
  • Setting or deleting properties on artifacts in Artifactory
  • Moving, copying and deleting artifacts in Artifactory

The above task can be used to publish an XCFramework bundle, or artifact, that contains the binaries to Artifactory, however this is cumbersome in an end-to-end pipeline workflow and can be simplified if there was a JFrog task available to work with 'Swift' package type repositories.

Information that may be useful for the product development team:

Artifactory allows you to define any layout for your Swift registries. In order to upload packages according to your custom layout, you need to package your Swift files using the Swift source archive. This creates the .zip file for your package which you can then upload to any path within your local Swift repository.

Source: https://jfrog.com/help/r/jfrog-artifactory-documentation/set-up-a-local-swift-repository

To distribute code in binary form as a Swift package, create an XCFramework bundle, or artifact, that contains the binaries. Then, make the bundle available locally or on a server:

  • When you host the binaries on a server, create a ZIP archive with the XCFramework in its root directory and make it available publicly.

Source: https://developer.apple.com/documentation/xcode/distributing-binary-frameworks-as-swift-packages

@ashokm ashokm added the feature request New feature or request label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant