Post

Replies

Boosts

Views

Activity

Reply to module map file '/Users/hosein/Library/Developer/Xcode/DerivedData/Sporty-ficshtjjzxcsgkaohfxowaxpyivr/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap' not found
Described solution will work 100% on Apple silicon and while running Xcode without rosetta. Please try necessary steps only but if still not work than Please try everything including necessary and unnecessary steps. 1 - Not important(Package.json) "dependencies": { "react": "17.0.1", "react-native": "0.64.2" } 2 - necessary use_flipper!() post_install do |installer| react_native_post_install(installer) installer.pods_project.build_configurations.each do |config| config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" end end OR use_flipper!() post_install do |installer| react_native_post_install(installer) installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings["ONLY_ACTIVE_ARCH"] = "NO" end end end 3 - Add arm64 under Architectures->Excluded Architectures 4 - Add a swift file under your project, can be empty, can be BridgingFile.swift(nothing special in it), this will trigger a bridging header. Wallah, here you go.
Jun ’21