react-native-audio-recorder-player
react-native-audio-recorder-player copied to clipboard
RNAudioRecorderPlayer.modulemap not found
Please fill the template to help you out. Also, please try the
Example
project compare before submiting the issue when you have certain issue with your project setup.
Version of react-native-audio-recorder-player
"react-native-audio-recorder-player": "^3.3.0"
Version of React Native
"react-native": "0.65.1"
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
Build succeeded
Actual behavior
Build failed
When I am trying to build the iOS project, the following error appears, and the build fails. Following is the error.
module map file '/Users/musabgulfam/Library/Developer/Xcode/DerivedData/myfriendsroom-dsfcxfbdkcvzjffdfrrspbydyvtt/Build/Products/Debug-iphonesimulator/RNAudioRecorderPlayer/RNAudioRecorderPlayer.modulemap' not found
I have tried to re-install pods, re-install node modules, cleaning build folder, also tried arch -x86_64 pod cache clean --all
, but to no avail.
Could you kindly try 3.5.0
and come back? Please use the recent version of the library.
Upgraded to version 3.5.0
but error still persists...
Upgraded to version
3.5.0
but error still persists...
Could you please make some reproducible example so that I can look into? Did you also try the example project in the repo?
same here
same here for M1
@AlexSmirnov9107 @albert2102 A reproducible example will be appreciated...
In my case it's a private project, owner of the project isn't allowing it to be public at the moment.
facing the same issue with XCode
Any Solutions?
"react-native-audio-recorder-player": "^3.5.1",
Error : module map file '/Users/xyz/Library/Developer/Xcode/DerivedData/ProjectName_ID/Build/Products/Debug-iphonesimulator/RNAudioRecorderPlayer/RNAudioRecorderPlayer.modulemap' not found
Steps to produce:
- yarn add react-native-audio-recorder-player
- cd ios && pod install && cd .. && yarn run ios OR Run from XCode you will find the same error as bundle start
i have same problem :/
@WilliamPeralta, a reproducible example will be appreciated...
I was getting the same error and finally realized there are a lot of wrong solutions on SO etc., so I share what solved it for me:
First, don't run Xcode with Rosetta, as mentioned here this is not recommended: https://developer.apple.com/documentation/technotes/tn3117-resolving-build-errors-for-apple-silicon
I excluded arm64 in my pod-file which was supposed to solve the problem together with running on rosetta. So I removed the EXCLUDED_ARCHS setting. I also removed the snippet in my Podfile which was doing exactly this. So if you have a snippet in your Podfile saying something withe EXCLUDED_ARCHS and arm64, remove that part and run pod-install again.
Lastly I got problems that Swift was not included, there are a lot or recommendations to fix this with a dummy file, and add the bridging header, finally the correct build setting was for me with the SDK-ROOT from this post: https://stackoverflow.com/a/65602500/1505074
Hope it helps other people as well.
I had same issue while building my app for release via Xcode.
Opening my project by .xcworkspace
instead of .xcodeproject
in Xcode and building the project fixed my issue.
Same issue
I had same issue while building my app for release via Xcode. Opening my project by
.xcworkspace
instead of.xcodeproject
in Xcode and building the project fixed my issue.
work for me