Skip to content

pod install command not worked with React Native v0.69.0 #438

Description

@YangJonghun

current locate of react-native-google-cast.podspec is not worked properly with React Native v0.69.0.
every Pod files related react-native-google-cast doesn't install with $ pod install --project-directory=ios command

so I temporarily change path indicated below. and it works

  • as-is
    • node_modules/react-native-google-cast/ios/react-native-google-cast.podspec
  • to-be
    • node_modules/react-native-google-cast/react-native-google-cast.podspec
 require 'json'
-package = JSON.parse(File.read(File.join(__dir__, '..', 'package.json')))
+package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
 
 Pod::Spec.new do |s|
   s.name     = package['name']

I think root cause is changing of React Native v0.69.0's react native cli version (v8)
(FYI. https://reactnative.dev/blog/2022/06/21/version-069)
(FYI2. react-native-community/cli#1537)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions