Skip to content

fix(tools-react-native): fix crash on older versions of @react-native-community/cli #5594

fix(tools-react-native): fix crash on older versions of @react-native-community/cli

fix(tools-react-native): fix crash on older versions of @react-native-community/cli #5594

Triggered via pull request August 19, 2024 11:10
Status Success
Total duration 8m 17s
Artifacts

pr.yml

on: pull_request
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Build iOS
fatal error: module 'RCTDeprecation' in AST file '/Users/runner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/1IHZESTMRBE5O/RCTDeprecation-2LPQ3GIJ1JVOY.pcm' (imported by AST file '/Users/runner/Library/Developer/Xcode/DerivedData/SampleCrossApp-bjzknxykiqijeeddtvmtthwanlww/Build/Intermediates.noindex/PrecompiledHeaders/ReactTestApp-Bridging-Header-swift_2VIEZKC3PSHVX-clang_1IHZESTMRBE5O.pch') is not defined in any loaded module map file; maybe you need to load '/Users/runner/work/rnx-kit/rnx-kit/packages/test-app/node_modules/.generated/ios/../../../ios/Pods/Headers/Public/RCTDeprecation/RCTDeprecation.modulemap'?
Build iOS
fatal error: module 'RCTDeprecation' in AST file '/Users/runner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/31VLFMYHGHJGP/RCTDeprecation-2LPQ3GIJ1JVOY.pcm' (imported by AST file '/Users/runner/Library/Developer/Xcode/DerivedData/SampleCrossApp-bjzknxykiqijeeddtvmtthwanlww/Build/Intermediates.noindex/PrecompiledHeaders/ReactTestApp-Bridging-Header-swift_2Q3QIV2WP74VK-clang_31VLFMYHGHJGP.pch') is not defined in any loaded module map file; maybe you need to load '/Users/runner/work/rnx-kit/rnx-kit/packages/test-app/node_modules/.generated/ios/../../../ios/Pods/Headers/Public/RCTDeprecation/RCTDeprecation.modulemap'?
Build iOS
Run script build phase '[CP-User] [RN]Check rncore' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'React-Fabric' from project 'Pods')