Skip to content

'react/utils/fnv1a.h' file not found #33

@ustuncem

Description

@ustuncem

Hello,

When I try to build my app with Xcode, I get the following error: 'react/utils/fnv1a.h' file not found in the PropsMacros.h file.
Screenshot 2024-04-30 at 21 37 34

I installed the pods with the following command: RCT_NEW_ARCH_ENABLED=1 bundle exec pod install. the issue seems to be only related to the iOS.

Here are my specs:

System:
  OS: macOS 14.2.1
  CPU: (8) arm64 Apple M2
  Memory: 405.19 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 20.11.0
    path: ~/.nvm/versions/node/v20.11.0/bin/node
  Yarn:
    version: 4.1.1
    path: /opt/homebrew/bin/yarn
  npm:
    version: 10.2.4
    path: ~/.nvm/versions/node/v20.11.0/bin/npm
  Watchman:
    version: 2024.04.22.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.4
      - iOS 17.4
      - macOS 14.4
      - tvOS 17.4
      - visionOS 1.1
      - watchOS 10.4
  Android SDK: Not Found
IDEs:
  Android Studio: 2023.1 AI-231.9392.1.2311.11076708
  Xcode:
    version: 15.3/15E204a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 21.0.1
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.0
    wanted: 0.74.0
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: true

Steps the Reproduce

  1. open up a command line and run:
    npx react-native@latest init hole-view-test
  2. then cd into that project and run bundle install
  3. then run yarn add react-native-hole-view
  4. then cd ios
  5. then run RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
  6. finally cd .. and run yarn ios

This steps will produce an error. Is there any way that I can solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions