Skip to content

[Feature] Add "Install CocoaPods dependencies" command #2516

@ConnorQi01

Description

@ConnorQi01

Summary

When working on React Native iOS projects, developers frequently need to run pod install in the ios directory.
Currently, this requires switching to the terminal and manually navigating to the correct path, which interrupts the development flow.

This feature proposes adding a dedicated command to streamline this common task directly from VS Code.


What do you want to be added?

Add a new Command Palette command:

React Native: Install CocoaPods dependencies

The command should automatically locate the iOS project directory and run pod install without requiring developers to open or navigate a terminal.
It should include validations, clear error handling, and actionable guidance for common CocoaPods-related issues.


What scenarios will this solve?

This feature solves several repetitive and error-prone workflows in React Native iOS development, including:

  • Running pod install after:
    • Installing or updating npm packages
    • Pulling fresh code from a repository
    • Switching branches
    • Cleaning and re-setting up the project
  • Forgetting to install pods and encountering unclear iOS or Xcode build errors
  • Manually:
    • Opening a terminal
    • Navigating to the ios directory
    • Re-running the same command repeatedly

It also helps in scenarios where errors are caused by environment issues (CocoaPods, Ruby, Xcode tools), which are often confusing—especially for developers who are new to iOS.


What will this allow you to do? Will this benefit other developers?

What this allows

  • Run CocoaPods installation directly from VS Code with a single command
  • Stay in the editor without context switching to the terminal
  • Receive clearer, more actionable feedback when something goes wrong
  • Diagnose common setup and environment issues faster

Benefits for other developers

Yes, this feature would benefit a wide range of developers:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions