Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ustuncem opened this issue Apr 30, 2024 · 3 comments
Open

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

ustuncem opened this issue Apr 30, 2024 · 3 comments

Comments

@ustuncem
Copy link
Contributor

ustuncem commented Apr 30, 2024

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?

@arys
Copy link

arys commented May 27, 2024

@ustuncem did you solve this?

@ustuncem
Copy link
Contributor Author

@arys No, I ended up downgrading to 0.73.7, I also use react-native-vision-camera and its also not ready for v0.74 so we have to wait or try to solve it. I tried to solve it in Xcode but I dont have a lot of time on my hand

@arys
Copy link

arys commented May 27, 2024

@ustuncem got it, thanks for reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants