Git Product home page Git Product logo

Comments (4)

pallavjosh avatar pallavjosh commented on September 24, 2024

@Frugghi any idea on this?

from cocoapods-azure-universal-packages.

rhodes73 avatar rhodes73 commented on September 24, 2024

@pallavjosh The README explains it correctly, but let me try to elaborate.

<somelib>.podspec is in the cocoapods repo that serves your library and should have a source property set to something like this:

{ :http => '{{ORGANIZATION_URL}}/{{PROJECT}}/_apis/packaging/feeds/{{FEED}}/upack/packages/{{PACKAGE}}/versions/{{VERSION}}' }

Podfile is in the consuming repo and defines which cocoapods your project requires for building. In order to depend on cocoapods that distribute their sources via Azure universal packages, cocoapods needs on the cocoapods-azure-universal-packages plugin. You therefore need to specify this dependency in your Podfile and tell the plugin in which organization to look for packages:

plugin 'cocoapods-azure-universal-packages', {
    :organization => '{{ORGANIZATION_URL}}'
}

Finally, on the system you build your project, you need to make sure that the plugin is installed and that you are logged in with Azure to access univesal packages:

gem "cocoapods-azure-universal-packages"
az login
pod install

or if you use bundler add gem "cocoapods-azure-universal-packages" to your Gemfile and install with

bundle install
az login
bundle exec pod install

from cocoapods-azure-universal-packages.

pallavjosh avatar pallavjosh commented on September 24, 2024

Many thanks for your answer, able to validate it fine.

from cocoapods-azure-universal-packages.

pallavjosh avatar pallavjosh commented on September 24, 2024

closed

from cocoapods-azure-universal-packages.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.