Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such module 'DatadogCrashReporting' #778

Closed
backslash-f opened this issue Mar 9, 2022 · 4 comments
Closed

No such module 'DatadogCrashReporting' #778

backslash-f opened this issue Mar 9, 2022 · 4 comments
Assignees
Labels
awaiting response Waiting for response / confirmation from the reporter

Comments

@backslash-f
Copy link

I'm following the instructions here:
https://www.datadoghq.com/blog/ios-crash-reporting-datadog/

I can already import and use Datadog, like:

import Datadog
import DatadogAlamofireExtension

But when I try to import DatadogCrashReporting, then: No such module 'DatadogCrashReporting.

I'm using (this is my Podfile.lock):

  - DatadogSDK (1.9.0)
  - DatadogSDKAlamofireExtension (1.9.0):
    - Alamofire (~> 5.0)
    - DatadogSDK (= 1.9.0)

So what am I missing?

@ncreated ncreated self-assigned this Mar 17, 2022
@ncreated
Copy link
Collaborator

Hello @backslash-f 👋. Thanks for looking at our crash reporter 🙂. I think what you're missing is:

pod 'DatadogSDKCrashReporting'

in your Podfile. We ship DD crash reporter as separate pod. You may want to refer to iOS Crash Reporting and Error Tracking doc for more instructions.

@ncreated ncreated added the awaiting response Waiting for response / confirmation from the reporter label Mar 17, 2022
@NeilJaphtha
Copy link

Hey @ncreated - I'm using SPM, with DataDog version 1.11.1. I'm seeing this same error No such module 'DatadogCrashReporting'. The autocomplete for the framework is there but the error still appears. Currently using Xcode 13.4.1 (13F100)

@tangzzz-fan
Copy link

I met this issue too, but i used Carthage instead. My solution is step 1 check existence of the CrashReporter. I found the crashreporter.xcframework is not exist, so i download the xcframework from the github, and re-add the dependence in DataDog project, it solved.

@maxep
Copy link
Member

maxep commented May 3, 2023

Hey 👋 This error is most likely a project settings issue.
I'm closing this issue since it has no activity for a while.

@maxep maxep closed this as completed May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response Waiting for response / confirmation from the reporter
Projects
None yet
Development

No branches or pull requests

5 participants