react-native-iap
react-native-iap copied to clipboard
RNIap.modulemap not found when trying to generate an archive
Description I am getting the following error when trying to generate an archive, in debug mode everything is okay
/Users/user/Library/Developer/Xcode/DerivedData/put_front-cxlwjnwhdvccvwbcghdsniiuvqfe/Build/Intermediates.noindex/ArchiveIntermediates/put_front/IntermediateBuildFilesPath/put_front.build/Release-iphoneos/put_front.build/DerivedSources/put_vers.c module map file '/Users/anis/Library/Developer/Xcode/DerivedData/put_front-cxlwjnwhdvccvwbcghdsniiuvqfe/Build/Intermediates.noindex/ArchiveIntermediates/put_front/BuildProductsPath/Release-iphoneos/RNIap/RNIap.modulemap' not found
and this is the content of the file put_vers.c
extern const unsigned char ____VersionString[];
extern const double ____VersionNumber;
const unsigned char ____VersionString[] __attribute__ ((used)) = "@(#)PROGRAM:put PROJECT:put_front-1" "\n";
const double ____VersionNumber __attribute__ ((used)) = (double)1.;
Expected Behavior Archive should be successfully generated
Environment:
- react-native-iap: 12.10.7
- react-native: 0.71.8
- Platforms (iOS, Android, emulator, simulator, device): IOS, Xcode
To Reproduce Steps to reproduce the behavior:
- install react-native-iap
- cd ios && pod install
- try to generate archive from xcode
for me, clear pod cache and modify pod target to arm64, I don't know why pod target change to i386
I also have this problem, how to deal with it
for me, clear pod cache and modify pod target to arm64, I don't know why pod target change to i386
I also have this problem, how to deal with it