question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enhancement - ability to clean user-level pod cache

See original GitHub issue

We just ran into an issue on react-native-firebase that was resolved by deleting the local cocoapods cache in the user’s directory like so:

rm -fr ~/.cocoapods/repos/trunk

https://github.com/invertase/react-native-firebase/issues/3305#issuecomment-600459982

Might be nice to have an option to ‘–wipe-pods-user-cache’ or similar?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
mikehardycommented, Mar 26, 2021

Out of the 3 ideas, I researched and learned that if we purge ~/.cocoapods it means pod repo remove trunk is unnecessary, as that would just be affecting state within ~/.cocoapods - it is a subset.

So I posted a PR that just did rm -rf ~/.cocoapods and pod cache clean --all

1reaction
mikehardycommented, Dec 30, 2020

I am still planning on doing this, just collecting ideas here from user reports of what worked for them as they fixed pod errors,

here’s another possibly-needed command: pod repo remove trunk, c.f. https://github.com/invertase/react-native-firebase/issues/4710#issuecomment-752683760

Read more comments on GitHub >

github_iconTop Results From Across the Web

On-demand Flash Cache Management for Cloud Computing
Abstract. Host-side flash caching has emerged as a promising so- lution to the scalability problem of virtual machine (VM).
Read more >
Scalability and performance OpenShift Container Platform 4.10
Using the container image pre-cache feature" Collapse section "17.7. ... If a component has not moved to the infra node, delete the pod...
Read more >
Mediant Software SBC User's Manual Version 7.2 - AudioCodes
Clearing the LDAP Cache. 298. Configuring Local Database for Management User Authentication. 299. LDAP-based Login Authentication Example.
Read more >
Best Practices for Designing Efficient Tableau Workbooks
The cleaner your data is and the better it matches the structure of your questions (i.e. the ... advantage of caching for further...
Read more >
POWER7 and POWER7+ Optimization and Tuning Guide
Brian Hall is the lead analyst for Power performance improvement efforts with ... The new POWER7+ processor offers higher clock rates and larger...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found