5

I'm trying to build an inherited React Native app.

Everytime I build via xcodebuild I get the following error:

fatal error: module map file 
'/Users/xcodeclub/Library/Developer/Xcode/DerivedData/appname-fpunvqnzmyqummgfroiwvewvqwdb/Build/Intermediates.noindex/ArchiveIntermediates/appname/BuildProductsPath/Release-iphoneos/WCPhotoManipulator/WCPhotoManipulator.modulemap'
not found

iOS version in XCode is: 12.0

PodFile has the following in:

platform :ios, '12.0'
4
  • Have you tried clearing derived data ? Commented Jul 7, 2021 at 10:47
  • 1
    Try clearing derived data programmingwithswift.com/delete-derived-data-xcode Commented Jul 7, 2021 at 10:49
  • yes I've tried to delete that, usually running on a GitHub action so assume it's clean everytime. Commented Jul 7, 2021 at 10:49
  • cleaning derived didn't work for me. Is there another solution??? Commented Dec 30, 2021 at 15:43

1 Answer 1

2

I ran into the same issue, looks like it was this: https://stackoverflow.com/a/60151515/7583100

There's an xcodeproj file for your main project, and an xcworkspace that includes all the native libraries you need. Opening the xcworkspace and building that will build the modules you're looking for

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.