Skip to content

Repository containing the CrashReporter framework to be distributed via CocoaPods

License

Notifications You must be signed in to change notification settings

mParticle/mParticle-CrashReporter

Repository files navigation

mParticle CrashReporter

This is a fork of PLCrashReporter compiled and customized to work with the mParticle Apple SDK. The framework is used optionally.

Installation

When using the mParticle Apple SDK you can include the crash reporter in your Podfile as following:

target '<Your Target>' do
    pod 'mParticle-Apple-SDK', '~> 6'
    pod 'mParticle-CrashReporter', '~> 1.3'
end

CocoaPods and use_Frameworks!

In case you need to include use_framewoks! in your Podfile you will need to include a pre and post scripts to help in the configuration of your app's Xcode xcworkspace

inhibit_all_warnings!

pre_install do |pre_i|
    def pre_i.verify_no_static_framework_transitive_dependencies; end
end

target '<Your Target>' do
    use_frameworks!

    pod 'mParticle-Apple-SDK', '~> 6'
    pod 'mParticle-CrashReporter', '~> 1.3'
end

post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            if target.name == "mParticle-CrashReporter"
                config.build_settings["OTHER_LDFLAGS"] = '$(inherited) "-ObjC"'
            end
        end
    end
end

Documentation

Detailed documentation and other information about mParticle SDK can be found at: SDK Documentation

Author

mParticle, Inc.

Support

[email protected]

About

Repository containing the CrashReporter framework to be distributed via CocoaPods

Resources

License

Stars

Watchers

Forks

Packages

No packages published