2 "name": "Backtrace-PLCrashReporter",
4 "summary": "Reliable, open-source crash reporting for iOS, tvOS and macOS.",
5 "description": "Plausible CrashReporter provides an in-process crash reporting\nframework for use on both iOS, tvOS and macOS, and powers many of\nthe crash reporting services available for iOS, tvOS, macOS, including\nBacktrace, HockeyApp, Flurry, Crittercism and FoglightAPM.",
6 "homepage": "https://github.com/backtrace-labs/plcrashreporter",
12 "Plausible Labs Cooperative, Inc.": "contact@plausible.coop"
20 "git": "https://github.com/backtrace-labs/plcrashreporter.git",
24 "Source/**/*.{h,hpp,c,cpp,m,mm,s}",
25 "Dependencies/protobuf-2.0.3/src/*.{h,c}"
34 "public_header_files": [
35 "Source/PLCrashReport*.h",
36 "Source/PLCrashNamespace*.h",
37 "Source/PLCrashMacros.h",
38 "Source/PLCrashFeatureConfig.h",
39 "Source/CrashReporter.h"
41 "preserve_paths": "Dependencies/**",
42 "resources": "Resources/*.proto",
43 "pod_target_xcconfig": {
44 "GCC_PREPROCESSOR_DEFINITIONS": "PLCR_PRIVATE"
47 "requires_arc": false,
48 "prefix_header_contents": "#import \"PLCrashNamespace.h\"",
49 "prepare_command": "cd \"Resources\" && \"../Dependencies/protobuf-2.0.3/bin/protoc-c\" --c_out=\"../Source\" \"crash_report.proto\" && cd ..\nfind . \\( -iname '*.h' -o -iname '*.hpp' -o -iname '*.c' -o -iname '*.cc' -o -iname '*.cpp' -o -iname '*.m' -o -iname '*.mm' \\) -exec sed -i '' -e 's/#include <google\\/protobuf-c\\/protobuf-c.h>/#include \"..\\/Dependencies\\/protobuf-2.0.3\\/include\\/google\\/protobuf-c\\/protobuf-c.h\"/g' {} \\;\nfind . \\( -iname '*.h' -o -iname '*.hpp' -o -iname '*.c' -o -iname '*.cc' -o -iname '*.cpp' -o -iname '*.m' -o -iname '*.mm' \\) -exec sed -i '' -e 's/#import \"CrashReporter\\/CrashReporter.h\"/#import \"CrashReporter.h\"/g' {} \\;\nSDKROOT=$(xcrun --sdk macosx --show-sdk-path)\nmig -arch \"i386\" -header \"Source/mach_exc_i386.h\" -server /dev/null -user \"Source/mach_exc_i386User.inc\" \"${SDKROOT}/usr/include/mach/mach_exc.defs\"\nmig -arch \"x86_64\" -header \"Source/mach_exc_x86_64.h\" -server /dev/null -user \"Source/mach_exc_x86_64User.inc\" \"${SDKROOT}/usr/include/mach/mach_exc.defs\"\necho '#ifdef __LP64__' > Source/mach_exc.h\necho '#include \"mach_exc_x86_64.h\"' >> Source/mach_exc.h\necho '#else' >> Source/mach_exc.h\necho '#include \"mach_exc_i386.h\"' >> Source/mach_exc.h\necho '#endif' >> Source/mach_exc.h\nFILE_86=$(cat Source/mach_exc_i386User.inc)\nFILE_64=$(cat Source/mach_exc_x86_64User.inc)\necho '#import \"PLCrashFeatureConfig.h\"' > Source/mach_exc.c\necho '#if PLCRASH_FEATURE_MACH_EXCEPTIONS' >> Source/mach_exc.c\necho '#ifdef __LP64__' >> Source/mach_exc.c\necho \"$FILE_64\" >> Source/mach_exc.c\necho '#else' >> Source/mach_exc.c\necho \"$FILE_86\" >> Source/mach_exc.c\necho '#endif' >> Source/mach_exc.c\necho '#endif' >> Source/mach_exc.c"