Open eylonshm opened 1 month ago
Hello @eylonshm, thank you for reaching out!
Have you tried updating to the latest versions of our packages?
"expo-datadog": "51.0.2",
"@datadog/mobile-react-native": "2.4.3"
It would be useful to see your package.json
in order to diagnose the problem.
Could you please share it here?
Reproduction steps
@datadog/mobile-react-native
as a dependency in my package.json projectVolume
100%
Affected SDK versions
2.4.0
Latest working SDK version
2.3.6
Does the crash manifest in the latest SDK version?
Yes
React Native Version
0.74.1
Package.json Contents
No response
iOS Setup
No response
Android Setup
No response
Device Information
Every device. Using Expo. Build fails locally or on Expo Server
Other relevant information
Please contact me for more information. We can't upgrade the package version for now. Thank you guys!
Stack trace
Pods Install from Expo servers:
Using Expo modules [Expo] Enabling modular headers for pod SPIndicator [Expo] Enabling modular headers for pod SPAlert [Expo] Enabling modular headers for pod ExpoModulesCore [Expo] Enabling modular headers for pod React-Core [Expo] Enabling modular headers for pod EXStructuredHeaders [Expo] Enabling modular headers for pod EXUpdatesInterface [Expo] Enabling modular headers for pod EXManifests [Expo] Enabling modular headers for pod EASClient [Expo] Enabling modular headers for pod ReachabilitySwift [Expo] Enabling modular headers for pod sqlite3 [Expo] Enabling modular headers for pod RCT-Folly [Expo] Enabling modular headers for pod glog [Expo] Enabling modular headers for pod React-RCTFabric [Expo] Enabling modular headers for pod React-Codegen [Expo] Enabling modular headers for pod RCTRequired [Expo] Enabling modular headers for pod RCTTypeSafety [Expo] Enabling modular headers for pod ReactCommon [Expo] Enabling modular headers for pod React-NativeModulesApple [Expo] Enabling modular headers for pod Yoga [Expo] Enabling modular headers for pod React-Fabric [Expo] Enabling modular headers for pod React-graphics [Expo] Enabling modular headers for pod React-utils [Expo] Enabling modular headers for pod React-featureflags [Expo] Enabling modular headers for pod React-debug [Expo] Enabling modular headers for pod React-ImageManager [Expo] Enabling modular headers for pod React-rendererdebug [Expo] Enabling modular headers for pod DoubleConversion [Expo] Enabling modular headers for pod hermes-engine [Lottie React Native] Using install_modules_dependencies Auto-linking React Native modules for target
WhiteLabelApp
: DatadogSDKReactNative, RNCAsyncStorage, RNDateTimePicker, RNGestureHandler, RNReanimated, RNSVG, RNScreens, lottie-react-native, pusher-websocket-react-native, react-native-netinfo, react-native-render-html, react-native-safe-area-context, react-native-slider, and react-native-webview Framework build type is static library [Codegen] Adding script_phases to React-Codegen. [Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json [Codegen] Analyzing /Users/expo/workingdir/build/apps/white-label-app/package.json [Codegen] Searching for codegen-enabled libraries in the app. [Codegen] The "codegenConfig" field is not defined in package.json. Assuming there is nothing to generate at the app level. [Codegen] Searching for codegen-enabled libraries in the project dependencies. [Codegen] Found @datadog/mobile-react-native [Codegen] Found @react-native-community/datetimepicker [Codegen] Found @react-native-community/slider [Codegen] Found lottie-react-native [Codegen] Found react-native [Codegen] Found react-native-gesture-handler [Codegen] Found react-native-reanimated [Codegen] Found react-native-screens [Codegen] Found react-native-svg [Codegen] Found react-native-webview [Codegen] Found @react-native-async-storage/async-storage [Codegen] Found react-native-safe-area-context [Codegen] >>>>> Searching for codegen-enabled libraries in react-native.config.js [Codegen] Processing DdSdkReactNative [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios, tvos for DdSdkReactNative [Codegen] Processing RNDateTimePickerCGen [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios, visionos for RNDateTimePickerCGen [Codegen] Processing RNCSlider [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios, visionos for RNCSlider [Codegen] Processing lottiereactnative [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios, macos, tvos for lottiereactnative [Codegen] Processing FBReactNativeSpec [Codegen] Searching for podspec in the project dependencies. [Codegen] Processing rncore [Codegen] Searching for podspec in the project dependencies. [Codegen] Processing rngesturehandler_codegen [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rngesturehandler_codegen [Codegen] Processing rnreanimated [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rnreanimated [Codegen] Processing rnscreens [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios, tvos, visionos for rnscreens [Codegen] Processing rnsvg [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rnsvg [Codegen] Processing RNCWebViewSpec [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios, macos for RNCWebViewSpec [Codegen] Processing rnasyncstorage [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rnasyncstorage [Codegen] Processing safeareacontext [Codegen] Searching for podspec in the project dependencies. [Codegen] Supported Apple platforms: ios, tvos, visionos for safeareacontext [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/ReactCommon [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Generating Native Code for ios [Codegen] Generated artifacts: /Users/expo/workingdir/build/apps/white-label-app/ios/build/generated/ios [Codegen] Creating component provider. [Codegen] Generated provider in: /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/React/Fabric [Codegen] Done. Analyzing dependencies Fetching podspec forDoubleConversion
from../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
Fetching podspec forRCT-Folly
from../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec
Fetching podspec forboost
from../node_modules/react-native/third-party-podspecs/boost.podspec
Fetching podspec forfmt
from../node_modules/react-native/third-party-podspecs/fmt.podspec
Fetching podspec forglog
from../node_modules/react-native/third-party-podspecs/glog.podspec
Fetching podspec forhermes-engine
from../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec
[Hermes] Using release tarball from URL: https://repo1.maven.org/maven2/com/facebook/react/react-native-artifacts/0.74.1/react-native-artifacts-0.74.1-hermes-ios-debug.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 -- :--:-- --:--:-- --:--:-- 0 100 16.5M 100 16.5M 0 0 103M 0 --:--:-- --:--:-- --:--:-- 103M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12.2M 100 12.2M 0 0 94.0M 0 --:--:-- --:--:-- --:--:-- 94.4M [Lottie React Native] Using install_modules_dependencies Adding spec repo'
[!] [Codegen] warn: using experimental new codegen integration
[!]
trunk
with CDNhttps://cdn.cocoapods.org/
CocoaPods 1.15.0 is available. To update use:gem install cocoapods
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.15.0 Downloading dependencies Installing Burnt (0.12.1) Installing DatadogCore (2.13.0) Installing DatadogCrashReporting (2.13.0) Installing DatadogInternal (2.13.0) Installing DatadogLogs (2.13.0) Installing DatadogRUM (2.13.0) Installing DatadogSDKReactNative (2.4.1) Installing DatadogTrace (2.13.0) Installing DatadogWebViewTracking (2.13.0) Installing DoubleConversion (1.1.6) Installing EASClient (0.12.0) Installing EXApplication (5.9.1) Installing EXConstants (16.0.2) Installing EXJSONUtils (0.13.1) Installing EXManifests (0.14.3) Installing EXSplashScreen (0.27.5) Installing EXStructuredHeaders (3.8.0) Installing EXUpdates (0.25.21) Installing EXUpdatesInterface (0.16.2) Installing Expo (51.0.22) Installing ExpoAsset (10.0.10) Installing ExpoClipboard (6.0.3) Installing ExpoFileSystem (17.0.1) Installing ExpoFont (12.0.9) Installing ExpoKeepAwake (13.0.2) Installing ExpoLinearGradient (13.0.2) Installing ExpoModulesCore (1.12.19) Installing FBLazyVector (0.74.1) Installing NWWebSocket (0.5.4) Installing OpenTelemetrySwiftApi (1.6.0) Installing PLCrashReporter (1.11.2) Installing PusherSwift (10.1.5) Installing RCT-Folly (2024.01.01.00) Installing RCTDeprecation (0.74.1) Installing RCTRequired (0.74.1) Installing RCTTypeSafety (0.74.1) Installing RNCAsyncStorage (1.23.1) Installing RNDateTimePicker (8.0.1) Installing RNGestureHandler (2.16.2) Installing RNReanimated (3.10.1) Installing RNSVG (15.2.0) Installing RNScreens (3.31.1) Installing ReachabilitySwift (5.2.3) Installing React (0.74.1) Installing React-Codegen (0.74.1) Installing React-Core (0.74.1) Installing React-CoreModules (0.74.1) Installing React-Fabric (0.74.1) Installing React-FabricImage (0.74.1) Installing React-ImageManager (0.74.1) Installing React-Mapbuffer (0.74.1) Installing React-NativeModulesApple (0.74.1) Installing React-RCTActionSheet (0.74.1) Installing React-RCTAnimation (0.74.1) Installing React-RCTAppDelegate (0.74.1) Installing React-RCTBlob (0.74.1) Installing React-RCTFabric (0.74.1) Installing React-RCTImage (0.74.1) Installing React-RCTLinking (0.74.1) Installing React-RCTNetwork (0.74.1) Installing React-RCTSettings (0.74.1) Installing React-RCTText (0.74.1) Installing React-RCTVibration (0.74.1) Installing React-RuntimeApple (0.74.1) Installing React-RuntimeCore (0.74.1) Installing React-RuntimeHermes (0.74.1) Installing React-callinvoker (0.74.1) Installing React-cxxreact (0.74.1) Installing React-debug (0.74.1) Installing React-featureflags (0.74.1) Installing React-graphics (0.74.1) Installing React-hermes (0.74.1) Installing React-jserrorhandler (0.74.1) Installing React-jsi (0.74.1) Installing React-jsiexecutor (0.74.1) Installing React-jsinspector (0.74.1) Installing React-jsitracing (0.74.1) Installing React-logger (0.74.1) Installing React-nativeconfig (0.74.1) Installing React-perflogger (0.74.1) Installing React-rendererdebug (0.74.1) Installing React-rncore (0.74.1) Installing React-runtimeexecutor (0.74.1) Installing React-runtimescheduler (0.74.1) Installing React-utils (0.74.1) Installing ReactCommon (0.74.1) Installing SPAlert (4.2.0) Installing SPIndicator (1.6.4) Installing SocketRocket (0.7.0) Installing TweetNacl (1.0.2) Installing Yoga (0.0.0) Installing boost (1.83.0) Installing fmt (9.1.0) Installing glog (0.3.5) Installing hermes-engine (0.74.1) Installing lottie-ios (4.4.3) Installing lottie-react-native (6.7.0) Installing pusher-websocket-react-native (1.3.1) Installing react-native-netinfo (11.3.1) Installing react-native-render-html (6.3.4) Installing react-native-safe-area-context (4.10.1) Installing react-native-slider (4.5.2) Installing react-native-webview (13.8.6) Installing sqlite3 (3.45.3+1) Generating Pods project Setting USE_HERMES build settings Setting REACT_NATIVE build settings [Ccache]: Removing Ccache from CC, LD, CXX & LDPLUSPLUS build settings [Privacy Manifest Aggregation] No existing PrivacyInfo.xcprivacy file found, creating a new one. [Privacy Manifest Aggregation] Reading .xcprivacy files to aggregate all used Required Reason APIs. [!] An error occurred while processing the post-install hook of the Podfile. undefined methodeach' for nil:NilClass /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:111:in
block (4 levels) in get_used_required_reason_apis' /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:106:ineach' /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:106:in
block (3 levels) in get_used_required_reason_apis' /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:105:ineach' /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:105:in
block (2 levels) in get_used_required_reason_apis' /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:104:ineach' /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:104:in
block in get_used_required_reason_apis' /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:102:ineach' /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:102:in
get_used_required_reason_apis' /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/scripts/cocoapods/privacy_manifest_utils.rb:18:inadd_aggregated_privacy_manifest' /Users/expo/workingdir/build/apps/white-label-app/node_modules/react-native/scripts/react_native_pods.rb:301:in
react_native_post_install' /Users/expo/workingdir/build/apps/white-label-app/ios/Podfile:32:inblock (3 levels) in from_ruby' /Users/expo/.gems/arm64/gems/cocoapods-core-1.14.3/lib/cocoapods-core/podfile.rb:196:in
post_install!' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:1013:inrun_podfile_post_install_hook' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:1001:in
block in run_podfile_post_install_hooks' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/user_interface.rb:149:inmessage' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:1000:in
run_podfile_post_install_hooks' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:337:inblock (2 levels) in create_and_save_projects' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in
write!' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:336:inblock in create_and_save_projects' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/user_interface.rb:64:in
section' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:315:increate_and_save_projects' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:307:in
generate_pods_project' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:183:inintegrate' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:170:in
install!' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/command/install.rb:52:inrun' /Users/expo/.gems/arm64/gems/claide-1.1.0/lib/claide/command.rb:334:in
run' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/lib/cocoapods/command.rb:52:inrun' /Users/expo/.gems/arm64/gems/cocoapods-1.14.3/bin/pod:55:in
<top (required)>' /Users/expo/.gems/arm64/bin/pod:25:inload' /Users/expo/.gems/arm64/bin/pod:25:in
<PBXResourcesBuildPhase UUID=
13B07F8E1A680F5B00A75B9A>
attempted to initialize an object with an unknown UUID.078BF8BD05B04C14BA29778B
for attribute:files
. This can be the result of a merge and the unknown UUID is being discarded.