2 "name": "Backtrace-PLCrashReporter",
4 "summary": "Reliable, open-source crash reporting for iOS and Mac OS X.",
5 "description": "Plausible CrashReporter provides an in-process crash reporting\nframework for use on both iOS and Mac OS X, and powers many of\nthe crash reporting services available for iOS, including\nHockeyApp, Flurry, Crittercism and FoglightAPM.",
6 "homepage": "https://github.com/backtrace-labs/plcrashreporter",
12 "Plausible Labs Cooperative, Inc.": "contact@plausible.coop"
19 "git": "https://github.com/backtrace-labs/plcrashreporter",
23 "Source/**/*.{h,hpp,c,cpp,m,mm,s}",
24 "Dependencies/protobuf-2.0.3/src/*.{h,c}"
33 "public_header_files": [
34 "Source/PLCrashReport*.h",
35 "Source/PLCrashNamespace*.h",
36 "Source/PLCrashMacros.h",
37 "Source/PLCrashFeatureConfig.h",
38 "Source/CrashReporter.h"
40 "preserve_paths": "Dependencies/**",
41 "resources": "Resources/*.proto",
42 "pod_target_xcconfig": {
43 "GCC_PREPROCESSOR_DEFINITIONS": "PLCR_PRIVATE"
46 "requires_arc": false,
47 "prefix_header_contents": "#import \"PLCrashNamespace.h\"",
48 "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 '#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"