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

AwesomeProject/ios/build/AwesomeProject.build/Debug-iphonesimulator/AwesomeProject.build/DerivedSources/AwesomeProject_vers.c module map file 'AwesomeProject/ios/build/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found #43601

Closed
romanmiftakhur opened this issue Mar 22, 2024 · 3 comments
Labels
Newer Patch Available Platform: iOS iOS applications. Resolution: For Stack Overflow A question for Stack Overflow. Applying this label will cause issue to be closed.

Comments

@romanmiftakhur
Copy link

Description

I Create Project RN version 0.71.0. and then build ios use Xcode 15 & IOS 17.4. show error AwesomeProject/ios/build/AwesomeProject.build/Debug-iphonesimulator/AwesomeProject.build/DerivedSources/AwesomeProject_vers.c module map file 'AwesomeProject/ios/build/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found. I just made this project. I've been 2 weeks, look for a solution to this problem

Steps to reproduce

  1. npx react-native@0.71.0 init awesomeProject --version=0.71.0
  2. cd ios & pod install
  3. open xcodeproject in the Xcode 15
  4. Click Product -> Build

React Native Version

0.71.0

Affected Platforms

Runtime - iOS

Output of npx react-native info

System:
    OS: macOS 14.0
    CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
    Memory: 22.77 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.8.1 - /usr/local/bin/npm
    Watchman: 2024.03.18.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.15.2 - /usr/local/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:
      API Levels: 30, 33
      System Images: android-30 | Google Play Intel x86_64 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 2023.2 AI-232.10300.40.2321.11567975
    Xcode: 15.3/15E204a - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.21 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: Not Found
    react-native: Not Found
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Stacktrace or Logs

CompileC /Volumes/MIDASFORCE/Aplikasi/mobilev2/AwesomeProject/ios/build/AwesomeProject.build/Debug-iphonesimulator/AwesomeProject.build/Objects-normal/x86_64/AwesomeProject_vers.o /Volumes/MIDASFORCE/Aplikasi/mobilev2/AwesomeProject/ios/build/AwesomeProject.build/Debug-iphonesimulator/AwesomeProject.build/DerivedSources/AwesomeProject_vers.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'AwesomeProject' from project 'AwesomeProject')
    cd /Volumes/MIDASFORCE/Aplikasi/mobilev2/AwesomeProject/ios
    /Volumes/MIDASFORCE/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -ivfsstatcache /Users/ariffishigaki/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.4-21E210-3511835231289cfdc58d1a25e487fe6e.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/ariffishigaki/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/ariffishigaki/Library/Developer/Xcode/DerivedData/AwesomeProject-gvmzkbhmgttcguhfqmpgjbyhbjxi/Index.noindex/DataStore @/Volumes/MIDASFORCE/Aplikasi/mobilev2/AwesomeProject/ios/build/AwesomeProject.build/Debug-iphonesimulator/AwesomeProject.build/Objects-normal/x86_64/7187679823f38a2a940e0043cdf9d637-common-args.resp -MMD -MT dependencies -MF /Volumes/MIDASFORCE/Aplikasi/mobilev2/AwesomeProject/ios/build/AwesomeProject.build/Debug-iphonesimulator/AwesomeProject.build/Objects-normal/x86_64/AwesomeProject_vers.d --serialize-diagnostics /Volumes/MIDASFORCE/Aplikasi/mobilev2/AwesomeProject/ios/build/AwesomeProject.build/Debug-iphonesimulator/AwesomeProject.build/Objects-normal/x86_64/AwesomeProject_vers.dia -c /Volumes/MIDASFORCE/Aplikasi/mobilev2/AwesomeProject/ios/build/AwesomeProject.build/Debug-iphonesimulator/AwesomeProject.build/DerivedSources/AwesomeProject_vers.c -o /Volumes/MIDASFORCE/Aplikasi/mobilev2/AwesomeProject/ios/build/AwesomeProject.build/Debug-iphonesimulator/AwesomeProject.build/Objects-normal/x86_64/AwesomeProject_vers.o -index-unit-output-path /AwesomeProject.build/Debug-iphonesimulator/AwesomeProject.build/Objects-normal/x86_64/AwesomeProject_vers.o

fatal error: module map file '/Volumes/MIDASFORCE/Aplikasi/mobilev2/AwesomeProject/ios/build/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found
1 error generated.

Reproducer

https://github.com/facebook/react-native

Screenshots and Videos

Screenshot 2024-03-22 at 11 21 03 AM
@github-actions github-actions bot added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Mar 22, 2024
Copy link

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

Copy link

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.71.17. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@cortinico cortinico added Resolution: For Stack Overflow A question for Stack Overflow. Applying this label will cause issue to be closed. and removed Needs: Triage 🔍 Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Mar 22, 2024
Copy link

⚠️ Issue is a Question
ℹ️ We are using GitHub issues exclusively to track bugs in the core React Native library. Please try asking over on Stack Overflow as it is better suited for this type of question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Newer Patch Available Platform: iOS iOS applications. Resolution: For Stack Overflow A question for Stack Overflow. Applying this label will cause issue to be closed.
Projects
None yet
Development

No branches or pull requests

2 participants