error: no such file or directory: libRNExitApp.a
When I try to build and app with export type appstore, it's failing with this error:
clang: error: no such file or directory: '/Users/dorianmazur/Library/Developer/Xcode/DerivedData/HSEHealth-dfpjysdkkzjanwawxbicvhdzbohw/Build/Intermediates.noindex/ArchiveIntermediates/HSEHealth/BuildProductsPath/Release-appletvos/libRNExitApp.a'
When I try to build and app with export type
appstore, it's failing with this error:clang: error: no such file or directory: '/Users/dorianmazur/Library/Developer/Xcode/DerivedData/HSEHealth-dfpjysdkkzjanwawxbicvhdzbohw/Build/Intermediates.noindex/ArchiveIntermediates/HSEHealth/BuildProductsPath/Release-appletvos/libRNExitApp.a'
How were you able to solve it?
We removed this package
This is work for me.
- Before running pod install, set RCT_NEW_ARCH_ENABLED=1
example:
RCT_NEW_ARCH_ENABLED=1 pod install - Modify
RNExitApp.mmOpen this file: [my-project]/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.mm Replace the import statement:#import <React-Codegen/RNExitAppSpec/RNExitAppSpec.h>to#import <ReactCodegen/RNExitAppSpec/RNExitAppSpec.h> - Modify RNExitApp.h Open this file: [my-project]/node_modules/react-native-exit-app/ios/RNExitApp/RNExitApp.h
Replace the import statement:
#import <RNExitAppSpec/RNExitAppSpec.h>to#import <ReactCodegen/RNExitAppSpec/RNExitAppSpec.h>
We removed this package
@DorianMazur What is your alternative solution?