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

Running 'sudo Flutter build ipa' prompts for these errors. How can I resolve them Warning: CocoaPods is installed but broken. Skipping pod install. You appear to have CocoaPods installed but it is not working. #11883

Closed
1 task
wyn20140226 opened this issue Apr 26, 2023 · 3 comments

Comments

@wyn20140226
Copy link

Report

What did you do?

ℹ Please replace these two lines with what you did.
e.g. Run pod install

What did you expect to happen?

ℹ Please replace these two lines with what you expected to happen.
e.g. Install all pod dependencies correctly.

What happened instead?

ℹ Please replace these two lines with of what happened instead.
e.g. Pod A is missing the subspec B for target C.

CocoaPods Environment

ℹ Please replace these two lines with the output of pod env.
e.g. via pod env | pbcopy

Project that demonstrates the issue

ℹ Please link to a project we can download that reproduces the issue.
You can delete this section if your issue is unrelated to build problems,
i.e. it's only an issue with CocoaPods the tool.

@github-actions
Copy link

Hi there, thanks for the issue, but it seem that this issue is just the default template. Please create a new issue with the template filled out.

@wyn20140226 wyn20140226 changed the title Warning: CocoaPods is installed but broken. Skipping pod install. You appear to have CocoaPods installed but it is not working. Running 'sudo Flutter build ipa' prompts for these errors. How can I resolve them Warning: CocoaPods is installed but broken. Skipping pod install. You appear to have CocoaPods installed but it is not working. Apr 26, 2023
@wyn20140226
Copy link
Author

How to solve this?
run pod env show:

Stack

   CocoaPods : 1.12.1
        Ruby : ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin22]
    RubyGems : 3.2.3
        Host : macOS 13.3.1 (22E261)
       Xcode : 14.3 (14E222b)
         Git : git version 2.37.2
Ruby lib dir : /Users/francis/.rvm/rubies/ruby-3.0.0/lib
Repositories : tsinghua-git-cocoapods - git - https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git @ 2909c7b864540b239d19f90aa8709d435592ed7c

Installation Source

Executable Path: /usr/local/bin/pod

Plugins

cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

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
@wyn20140226 and others