Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cocoapods-azure-universal-packages2

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cocoapods-azure-universal-packages2

  • 0.0.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

CocoaPods Azure Universal Packages plugin

Fork of the original gem to solve dependency issues and keep this tool alive. Maintainers at Microsoft seem to have completely abandoned it.

This project is a CocoaPods plugin that allows to dowload pods published as Universal Packages in Azure Artifacts feeds.

Getting started

Install the plugin by adding to your Gemfile

gem "cocoapods-azure-universal-packages2"

Under the hood the plugin uses the Azure CLI to download the Universal Packages, you can install it running

brew update && brew install azure-cli

Finally, ensure that you are logged in using

az login

How it works

The plugin replaces the default CocoaPods HTTP downloader when a pod source URL points to a universal package and it uses the Azure CLI to perform the download.

Note: The plugin will install the Azure CLI DevOps extension automatically when running pod install or pod update for the first time.

Usage

Add to your Podfile

plugin 'cocoapods-azure-universal-packages2', {
    organization: '{{ORGANIZATION_URL}}'
}

replacing {{ORGANIZATION_URL}} with the base URL of your Azure Artifacts feed (for example: https://pkgs.dev.azure.com/myorg).

Then, in your podspec set the pod's source to

# For project scoped feeds:
spec.source = { http: '{{ORGANIZATION_URL}}/{{PROJECT}}/_apis/packaging/feeds/{{FEED}}/upack/packages/{{PACKAGE}}/versions/{{VERSION}}' }

# For organization scoped feeds:
spec.source = { http: '{{ORGANIZATION_URL}}/_apis/packaging/feeds/{{FEED}}/upack/packages/{{PACKAGE}}/versions/{{VERSION}}' }

where:

  • {{ORGANIZATION_URL}} is the URL of your feed's organization
  • {{PROJECT}} is the name of your feed's project (you must specify this only if your feed is a project scoped feed)
  • {{PACKAGE}} is the name of your universal package
  • {{VERSION}} is the version of your universal package

Plugin parameters

ParameterDescription
organizationThe URL of the Azure Artifacts feed's orgnization. Required unless organizations is specified.
organizationsAn array of URLs of possible Azure Artifacts feeds' organizations. Required unless organization is specified.
update_cli_extensionWhether to update the Azure CLI DevOps extensions automatically. Default to false.

Run tests for this plugin

To run the tests, use

rake tests

Contributing

Feel free to contribute by reporting issues or creating pull requests

Licence

MIT

FAQs

Package last updated on 16 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc