Skip to content

pod install --project-directory=ios fails on react-native@main #572

Description

@tido64

What happened?

Codegen was recently moved out of node_modules. This regressed the ability to run pod install outside the ios folder:

% pod install --project-directory=ios
[Codegen] Generating ios/build/generated/ios/React-Codegen.podspec.json

[!] One or more resources were not found and will not be included in the project. If they are found later and you want to include them, run `pod install` again.
Auto-linking React Native module for target `ReactTestApp`: ReactTestApp-DevSupport
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `RCT-Folly` from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`
[!] No podspec found for `React-Codegen` in `ios/build/generated/ios`

Full build log: https://github.com/microsoft/react-native-test-app/runs/4030643923?check_suite_focus=true

Version

trunk

What platforms are you seeing this issue on?

  • Android
  • iOS
  • macOS
  • Windows

System Information

n/a

Steps to Reproduce

npm run set-react-version main
cd example
pod install --project-directory=ios

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamThis should be fixed/reported upstream

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions