iOS Development

ios – Deadly error: ‘YogaKit.modulemap’ not discovered

Spread the love


I’m growing a react native app which was working completely superb till now. I’m repeadtely getting this error once I run ‘yarn ios’ from my terminal:

deadly error: module map file ‘/Customers/rutvishah/Library/Developer/Xcode/DerivedData/radicalcashierapp-faqbvrdvmaacnvakysqpaudxmrvp/Construct/Intermediates.noindex/ArchiveIntermediates/radicalcashierapp/BuildProductsPath/Launch-iphoneos/YogaKit/YogaKit.modulemap’ not discovered

I’m unable to construct the app by terminal, however I can construct the app efficiently from xcode by opening .xcworkspace.

I’ve tried deleting the DerivedData folder, cleansing the construct folder, eradicating node_modules, yarn.lock and Pods/, podfile.lock and rebuilding all the pieces once more. Nothing appears to work.

I’m utilizing:
xcode 14.2
node 18.19.0
cocoapods: 1.12.1
react-native: 0.72.7

I additionally tried reverting again to an older working commit, however the challenge persist so my assumption is that one thing modified within the xcode settings that’s inflicting this challenge.

I’ve additionally tried following options from comparable stackoverflow questions however that has additionally not helped

Any and all assist shall be drastically appreciated.

Some extra details about the setting:
npx react-native information

information Fetching system and libraries info…

System:
OS: macOS 13.0
CPU: (8) arm64 Apple M1 Professional
Reminiscence: 51.34 MB / 16.00 GB
Shell:
model: 5.8.1
path: /bin/zsh
Binaries:

Node:
model: 18.19.0
path: ~/.nvm/variations/node/v18.19.0/bin/node

Yarn:
model: 1.22.19
path: ~/.nvm/variations/node/v16.20.1/bin/yarn

npm:
model: 10.2.3
path: ~/.nvm/variations/node/v18.19.0/bin/npm

Watchman:
model: 2023.12.04.00
path: /decide/homebrew/bin/watchman

Managers:

CocoaPods:
model: 1.12.1
path: /Customers/rutvishah/.rbenv/shims/pod

SDKs:
iOS SDK:
Platforms:
– DriverKit 22.2
– iOS 16.2
– macOS 13.1
– tvOS 16.1
– watchOS 9.1
Android SDK: Not Discovered

IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10406996
Xcode:
model: 14.2/14C18
path: /usr/bin/xcodebuild

Languages:
Java:
model: 11.0.11
path: /usr/bin/javac
Ruby:
model: 3.1.2
path: /Customers/rutvishah/.rbenv/shims/ruby

npmPackages:
“@react-native-community/cli”: Not Discovered
react:
put in: 18.2.0
needed: 18.2.0
react-native:
put in: 0.72.7
needed: 0.72.7
react-native-macos: Not Discovered

npmGlobalPackages:
react-native“: Not Discovered

Android:
hermesEnabled: true
newArchEnabled: false

iOS:
hermesEnabled: true
newArchEnabled: false

Leave a Reply

Your email address will not be published. Required fields are marked *