Skip to content

Testing release 0.74.1: multiple errors when creating a new project #2164

Description

Environment

react-native -v: 0.74.1
npm ls react-native-macos: 0.74.1
node -v: v22.6.0
npm -v: 10.8.2
yarn --version: 1.22.22
xcodebuild -version: Xcode 15.4 Build version 15F31d

Steps to reproduce the bug

Hello. I am testing the new release 0.74.1 with a clean project.

Test sequence:

# Install RN
npx react-native@latest init test_project --version 0.74.1
npx react-native-macos-init --version 0.74.1

The second command will fail with the same error as #2152.
Afaik, this one should have been fixed with a fix to react-native-macos-init.
Should be the package be updated on NPM as well? (see https://www.npmjs.com/package/react-native-macos-init?activeTab=versions)

# Previous command failed, to workaround:
yarn add "react-native-macos@0.74.1"

# And rerun to proceed
npx react-native-macos-init --version 0.74.1

Then it fails with another error:

Couldn't install Pods. Updating the Pods project and trying again...
Command `pod install` failed.
└─ Cause: Invalid `Podfile` file: uninitialized constant Pod::Podfile::FlipperConfiguration.

 #  from /Users/moru/Documents/Work/test_project/macos/Podfile:18
 #  -------------------------------------------
 #      # Flipper is not compatible w/ macOS
 >      :flipper_configuration => FlipperConfiguration.disabled,
 #      # An absolute path to your application root.
 #  -------------------------------------------

Commenting the line ":flipper_configuration => FlipperConfiguration.disabled" in the podfile will allow the build to proceed. However, on my end running npx react-native run-macos then does not open the app. It seems there's at least an issue with the podfile, but atm I don't have a good enough understanding of the system to debug it.

Thank you!

Expected Behavior

No response

Actual Behavior

No response

Reproducible Demo

No response

Additional context

No response

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions