'AppCenterCrashes/MSACErrorReport.h' file not found
Please list the steps used to reproduce your issue.
Run the following command and paste the output below: react-native info
System:
OS: macOS 10.15.7
CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
Memory: 819.98 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 14.15.1 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1
Android SDK:
API Levels: 23, 24, 25, 26, 27, 28, 29
Build Tools: 23.0.1, 25.0.1, 25.0.2, 26.0.1, 26.0.2, 27.0.2, 27.0.3, 28.0.3, 29.0.2
System Images: android-23 | Intel x86 Atom, android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom, android-23 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.1 AI-201.8743.12.41.6953283
Xcode: 12.2/12B45b - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_151 - /usr/bin/javac
Python: 3.7.4 - /Users/ulrichsinn/opt/anaconda3/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.2 => 0.63.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
If you're developing for React Native iOS, run the following command and paste the output below: pod --version
1.10.0
[MSAppCenter setLogLevel: MSLogLevelVerbose]; before your call to [AppCenterReactNative register]; (or any other SDK registration). For Android, use AppCenter.setLogLevel(android.util.Log.VERBOSE); before your SoLoader.init call (you will need to import com.microsoft.appcenter.AppCenter;). Include the logs here:I should add: builds successfully in appcenter. fails locally.
https://github.com/ulrichsi-hrbl/appenter_crashes_4

also:
npm ERR! [email protected] android: react-native run-android
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] android script.
Can you show your Podfile.lock?
PODS:
DEPENDENCIES:
../node_modules/appcenter-analytics/ios)../node_modules/appcenter/ios)../node_modules/appcenter-crashes/ios)../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec)../node_modules/react-native/Libraries/FBLazyVector)../node_modules/react-native/Libraries/FBReactNativeSpec)../node_modules/react-native/third-party-podspecs/Folly.podspec)../node_modules/react-native/third-party-podspecs/glog.podspec)../node_modules/react-native/Libraries/RCTRequired)../node_modules/react-native/Libraries/TypeSafety)../node_modules/react-native/)../node_modules/react-native/ReactCommon/callinvoker)../node_modules/react-native/)../node_modules/react-native/)../node_modules/react-native/)../node_modules/react-native/React/CoreModules)../node_modules/react-native/ReactCommon/cxxreact)../node_modules/react-native/ReactCommon/jsi)../node_modules/react-native/ReactCommon/jsiexecutor)../node_modules/react-native/ReactCommon/jsinspector)../node_modules/react-native-safe-area-context)../node_modules/react-native-splash-screen)../node_modules/react-native/Libraries/ActionSheetIOS)../node_modules/react-native/Libraries/NativeAnimation)../node_modules/react-native/Libraries/Blob)../node_modules/react-native/Libraries/Image)../node_modules/react-native/Libraries/LinkingIOS)../node_modules/react-native/Libraries/Network)../node_modules/react-native/Libraries/Settings)../node_modules/react-native/Libraries/Text)../node_modules/react-native/Libraries/Vibration)../node_modules/react-native/ReactCommon)../node_modules/@react-native-community/async-storage)"../node_modules/@react-native-community/masked-view)"../node_modules/react-native-gesture-handler)../node_modules/react-native-keychain)../node_modules/react-native-localize)../node_modules/react-native-screens)../node_modules/react-native/ReactCommon/yoga)SPEC REPOS:
trunk:
- AppCenter
- AppCenterReactNativeShared
- boost-for-react-native
- CocoaAsyncSocket
- CocoaLibEvent
- Flipper
- Flipper-DoubleConversion
- Flipper-Folly
- Flipper-Glog
- Flipper-PeerTalk
- Flipper-RSocket
- FlipperKit
- OpenSSL-Universal
- YogaKit
EXTERNAL SOURCES:
appcenter-analytics:
:path: "../node_modules/appcenter-analytics/ios"
appcenter-core:
:path: "../node_modules/appcenter/ios"
appcenter-crashes:
:path: "../node_modules/appcenter-crashes/ios"
DoubleConversion:
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
FBLazyVector:
:path: "../node_modules/react-native/Libraries/FBLazyVector"
FBReactNativeSpec:
:path: "../node_modules/react-native/Libraries/FBReactNativeSpec"
Folly:
:podspec: "../node_modules/react-native/third-party-podspecs/Folly.podspec"
glog:
:podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
RCTRequired:
:path: "../node_modules/react-native/Libraries/RCTRequired"
RCTTypeSafety:
:path: "../node_modules/react-native/Libraries/TypeSafety"
React:
:path: "../node_modules/react-native/"
React-callinvoker:
:path: "../node_modules/react-native/ReactCommon/callinvoker"
React-Core:
:path: "../node_modules/react-native/"
React-CoreModules:
:path: "../node_modules/react-native/React/CoreModules"
React-cxxreact:
:path: "../node_modules/react-native/ReactCommon/cxxreact"
React-jsi:
:path: "../node_modules/react-native/ReactCommon/jsi"
React-jsiexecutor:
:path: "../node_modules/react-native/ReactCommon/jsiexecutor"
React-jsinspector:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
react-native-safe-area-context:
:path: "../node_modules/react-native-safe-area-context"
react-native-splash-screen:
:path: "../node_modules/react-native-splash-screen"
React-RCTActionSheet:
:path: "../node_modules/react-native/Libraries/ActionSheetIOS"
React-RCTAnimation:
:path: "../node_modules/react-native/Libraries/NativeAnimation"
React-RCTBlob:
:path: "../node_modules/react-native/Libraries/Blob"
React-RCTImage:
:path: "../node_modules/react-native/Libraries/Image"
React-RCTLinking:
:path: "../node_modules/react-native/Libraries/LinkingIOS"
React-RCTNetwork:
:path: "../node_modules/react-native/Libraries/Network"
React-RCTSettings:
:path: "../node_modules/react-native/Libraries/Settings"
React-RCTText:
:path: "../node_modules/react-native/Libraries/Text"
React-RCTVibration:
:path: "../node_modules/react-native/Libraries/Vibration"
ReactCommon:
:path: "../node_modules/react-native/ReactCommon"
RNCAsyncStorage:
:path: "../node_modules/@react-native-community/async-storage"
RNCMaskedView:
:path: "../node_modules/@react-native-community/masked-view"
RNGestureHandler:
:path: "../node_modules/react-native-gesture-handler"
RNKeychain:
:path: "../node_modules/react-native-keychain"
RNLocalize:
:path: "../node_modules/react-native-localize"
RNScreens:
:path: "../node_modules/react-native-screens"
Yoga:
:path: "../node_modules/react-native/ReactCommon/yoga"
SPEC CHECKSUMS:
AppCenter: 0487be185c038ed2ecc5ed38219af1dcd280af23
appcenter-analytics: 3e8bf76870877c5abdfb752e1dc014be2b2030e4
appcenter-core: e7aa4513ee9173b82c4a4497d49abb0ec7ceb159
appcenter-crashes: 0052b9ae5cc6b5c184238eb6c230ed5942d91f10
AppCenterReactNativeShared: 66667cd2dfad295b84bbf0f462e0e139e2128284
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
CocoaAsyncSocket: 694058e7c0ed05a9e217d1b3c7ded962f4180845
CocoaLibEvent: 2fab71b8bd46dd33ddb959f7928ec5909f838e3f
DoubleConversion: cde416483dac037923206447da6e1454df403714
FBLazyVector: 3ef4a7f62e7db01092f9d517d2ebc0d0677c4a37
FBReactNativeSpec: dc7fa9088f0f2a998503a352b0554d69a4391c5a
Flipper: 33585e2d9810fe5528346be33bcf71b37bb7ae13
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
Flipper-Folly: e4493b013c02d9347d5e0cb4d128680239f6c78a
Flipper-Glog: 1dfd6abf1e922806c52ceb8701a3599a79a200a6
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
Flipper-RSocket: 64e7431a55835eb953b0bf984ef3b90ae9fdddd7
FlipperKit: bc68102cd4952a258a23c9c1b316c7bec1fecf83
Folly: b73c3869541e86821df3c387eb0af5f65addfab4
glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3
OpenSSL-Universal: ff34003318d5e1163e9529b08470708e389ffcdd
RCTRequired: f13f25e7b12f925f1f6a6a8c69d929a03c0129fe
RCTTypeSafety: 44982c5c8e43ff4141eb519a8ddc88059acd1f3a
React: e1c65dd41cb9db13b99f24608e47dd595f28ca9a
React-callinvoker: 552a6a6bc8b3bb794cf108ad59e5a9e2e3b4fc98
React-Core: 9d341e725dc9cd2f49e4c49ad1fc4e8776aa2639
React-CoreModules: 5335e168165da7f7083ce7147768d36d3e292318
React-cxxreact: d3261ec5f7d11743fbf21e263a34ea51d1f13ebc
React-jsi: 54245e1d5f4b690dec614a73a3795964eeef13a8
React-jsiexecutor: 8ca588cc921e70590820ce72b8789b02c67cce38
React-jsinspector: b14e62ebe7a66e9231e9581279909f2fc3db6606
react-native-safe-area-context: 8260e5157617df4b72865f44006797f895b2ada7
react-native-splash-screen: 200d11d188e2e78cea3ad319964f6142b6384865
React-RCTActionSheet: 910163b6b09685a35c4ebbc52b66d1bfbbe39fc5
React-RCTAnimation: 9a883bbe1e9d2e158d4fb53765ed64c8dc2200c6
React-RCTBlob: 39cf0ece1927996c4466510e25d2105f67010e13
React-RCTImage: de355d738727b09ad3692f2a979affbd54b5f378
React-RCTLinking: 8122f221d395a63364b2c0078ce284214bd04575
React-RCTNetwork: 8f96c7b49ea6a0f28f98258f347b6ad218bc0830
React-RCTSettings: 8a49622aff9c1925f5455fa340b6fe4853d64ab6
React-RCTText: 1b6773e776e4b33f90468c20fe3b16ca3e224bb8
React-RCTVibration: 4d2e726957f4087449739b595f107c0d4b6c2d2d
ReactCommon: a0a1edbebcac5e91338371b72ffc66aa822792ce
RNCAsyncStorage: cb9a623793918c6699586281f0b51cbc38f046f9
RNCMaskedView: f5c7d14d6847b7b44853f7acb6284c1da30a3459
RNGestureHandler: 7a5833d0f788dbd107fbb913e09aa0c1ff333c39
RNKeychain: db956c02a018f7dd3a0ea8a6cf3087bc1894bf2b
RNLocalize: ff8b96bffbe096a158f952a170741208f2c18746
RNScreens: 2ad555d4d9fa10b91bb765ca07fe9b29d59573f0
Yoga: 7740b94929bbacbddda59bf115b5317e9a161598
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
PODFILE CHECKSUM: f6618a74483f4bca53ac7d32ec5045280cf7b64c
COCOAPODS: 1.10.0
Can you try run pod repo update, delete your Podfile.lock and Pods folder and try to npm install (or pod install, depending on your setup) again? You updated your npm package version but seems like it is still pulling the old native dependencies (the RN packages depends on some native pods). Your lock file should have something like this:
- AppCenter/Analytics (4.0.0):
- AppCenter/Core
- AppCenter/Core (4.0.0)
- AppCenter/Crashes (4.0.0):
- AppCenter/Core
- AppCenterReactNativeShared (4.0.0):
- AppCenter/Core (= 4.0.0)
@CyberMew thanks for helping here :)
@ulrichsi-hrbl - it's because of mixing 4.x and 3.x:
appcenter-analytics (4.0.0):
AppCenter/Analytics
AppCenterReactNativeShared
React-Core
appcenter-core (4.0.0):
AppCenterReactNativeShared
React-Core
appcenter-crashes (4.0.0):
AppCenter/Crashes
AppCenterReactNativeShared
React-Core
AppCenter/Analytics (3.3.4):
AppCenter/Core
AppCenter/Core (3.3.4)
reinstalling pods as suggested should help
Thank you, that fixed it.
@CyberMew Your solution worked, thanks
I have followed the above steps of pod repo update > delete podfile & pods > pod install; I've cleared my caches, reinstalled npm packages, and I am still getting the exact mismatch mentioned above. Is there a step that I have misunderstood? If I understand the troubleshooting docs correctly, it seems as though there is some issue with cocoapods CLI not being installed properly? I can see that the node_modules/appcenter/ios/scripts/postlink.js should be adding { pod: 'AppCenterReactNativeShared', version: '4.0.0' }] to the pod dependencies. This doesn't appear to be happening.
^ Actually, I finally figured out my issue. We had previously been using 'appcenter-push'. Although the docs suggested uninstalling appcenter, appcenter-analytics, & appcenter-crashes before updating their versions, it did not mention appcenter-push. I assume this is because it is being phased out; but I did not know _that_ until I dug deeper into this issue. A note in the react-native sdk troubleshooting documentation to uninstall this package (and any other outdated deps if they exist) could only help. It would have saved me a lot of time digging!
It appears as though the appcenter-push pod depended on lower versions of AppCenter/Core & AppCenterReactNativeShared (3.3.1 & 3.3.4, I believe). I assume that because this package required a lower version than the rest, cocoapods was installing the lower versions for compatibility? I can't be sure, but that's what it seems to be. Once I ran npm uninstall appcenter-push and deleted my pods/updated/re installed, it finally built.
This is my Podfile.lock, I have tried removing the pods and reinstalling using the above commands but still same issue. This is the pods present:
- appcenter-analytics (4.1.0):
- AppCenter/Analytics (~> 4.0)
- AppCenterReactNativeShared (~> 4.0)
- React-Core
- appcenter-core (4.1.0):
- AppCenterReactNativeShared (~> 4.0)
- React-Core
- appcenter-crashes (4.1.0):
- AppCenter/Crashes (~> 4.0)
- AppCenterReactNativeShared (~> 4.0)
- React-Core
- AppCenter/Analytics (4.1.1):
- AppCenter/Core
- AppCenter/Core (4.1.1)
- AppCenter/Crashes (4.1.1):
- AppCenter/Core
- AppCenterReactNativeShared (4.1.0):
- AppCenter/Core (= 4.1.1)
@Zabi-Progton
Can you try to reproduce the issue on an empty project and possibly share a sample app?
If it is not reproducing on a new project, please create a separate issue and fill out the issue template form.
I'm getting the same issue
Hi @yungpear
Please answer the questions from the issue template form. This will help us to investigate the issue.
Can you reproduce the issue on an empty project?
Most helpful comment
Can you try run
pod repo update, delete yourPodfile.lockandPodsfolder and try to npm install (or pod install, depending on your setup) again? You updated your npm package version but seems like it is still pulling the old native dependencies (the RN packages depends on some native pods). Your lock file should have something like this: