Skip to content

React Native 0.82.1 - Auto installs Cocoapods #54553

@sreekanthSubramani

Description

@sreekanthSubramani

Description

This is to bring into the concern that whenever the pod install has been done manually,
and cd ../

when i do npx react-native run-ios,
I see the Cocoapods is installing first and the build gets failed.

since, we already install the pods,
and run the ios "npm run ios"
it again triggers the Cocoapods installation and fails.

Steps to reproduce

take any version of 0.82.1v and do npx react-native run-ios

React Native Version

0.82.1

Affected Platforms

Runtime - iOS

Output of npx @react-native-community/cli info

sreekanthsubramani@Sreekanths-MacBook-Air openapinasa % npm run ios

> openapinasa@0.0.1 ios
> react-native run-ios

✖ Installing CocoaPods...
error Something went wrong while installing CocoaPods. Please run pod install manually.
sreekanthsubramani@Sreekanths-MacBook-Air openapinasa %

Stacktrace or Logs

sreekanthsubramani@Sreekanths-MacBook-Air openapinasa % npm run ios

> openapinasa@0.0.1 ios
> react-native run-ios

✖ Installing CocoaPods...
error Something went wrong while installing CocoaPods. Please run pod install manually.
sreekanthsubramani@Sreekanths-MacBook-Air openapinasa %

MANDATORY Reproducer

https://github.com/sreekanthSubramani/for-meta-ReactNative

Screenshots and Videos

If there are any possible workarounds which I did not follow, please excuse and let me know about it,
thanks.

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