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

Why cannot we specified the cocoapod version at the same time as the podfile-path? #30

Open
HugoGresse opened this issue Jan 31, 2024 · 1 comment

Comments

@HugoGresse
Copy link

Due to an issue when building React Native apps with cocoapods 1.15 released last week I need to rollback the cocoapod version installed, which I cannot do because this fine action don't allow the two parameters to be used at the same time:

           ## selfhosted instance with pod --version = 1.14.3
            - uses: ruby/setup-ruby@v1
              with:
                  ruby-version: 3.0.0
            -   name: setup-cocoapods
                uses: maxim-lobanov/setup-cocoapods@v1
                with:
                    podfile-path: ios/Podfile.lock
                    version: 1.14.3

here is the stack of the error :

   CocoaPods : 1.15.0
        Ruby : ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin22]
    RubyGems : 3.2.3
        Host : macOS 13.6.3 (22G436)
       Xcode : 15.2 (15C500b)
         Git : git version 2.39.3 (Apple Git-145)
Ruby lib dir : /Users/runner/hostedtoolcache/Ruby/3.0.0/arm64/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/

the cocoapod version is changed unfortunately :/

@HugoGresse HugoGresse changed the title Why cannot we specified the cocoapod version at the same time as the podfile-patch? Why cannot we specified the cocoapod version at the same time as the podfile-path? Jan 31, 2024
@zgordon02
Copy link

The lock file contains the pod version it was generated with. It doesn't really make sense to be utilizing multiple versions in the way you are describing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants