[Add] YLCategory-MacOS 1.1.3
[CocoaPods.git] / Specs / a / 9 / 7 / Backtrace-PLCrashReporter / 1.5.1 / Backtrace-PLCrashReporter.podspec.json
blob31ba421fc07d8c8e6be3f11a008a2f6e19f6d73e
2   "name": "Backtrace-PLCrashReporter",
3   "version": "1.5.1",
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",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "Plausible Labs Cooperative, Inc.": "contact@plausible.coop"
13   },
14   "platforms": {
15     "ios": "10.0",
16     "tvos": "10.0",
17     "osx": "10.10"
18   },
19   "source": {
20     "git": "https://github.com/backtrace-labs/plcrashreporter.git",
21     "tag": "1.5.1"
22   },
23   "source_files": [
24     "Source/**/*.{h,hpp,c,cpp,m,mm,s}",
25     "Dependencies/protobuf-c-1.3.2/src/*.{h,c}"
26   ],
27   "exclude_files": [
28     "**/*Tests*",
29     "**/*TestCase*",
30     "**/*test.*",
31     "**/*_test_*",
32     "**/*main.m"
33   ],
34   "public_header_files": [
35     "Source/PLCrashReport*.h",
36     "Source/PLCrashNamespace*.h",
37     "Source/PLCrashMacros.h",
38     "Source/PLCrashFeatureConfig.h",
39     "Source/CrashReporter.h"
40   ],
41   "preserve_paths": "Dependencies/**",
42   "resources": "Resources/*.proto",
43   "pod_target_xcconfig": {
44     "GCC_PREPROCESSOR_DEFINITIONS": "PLCR_PRIVATE"
45   },
46   "libraries": "c++",
47   "requires_arc": false,
48   "prefix_header_contents": "#import \"PLCrashNamespace.h\"",
49   "prepare_command": "cd \"Resources\" && \"../Dependencies/protobuf-c-1.3.2/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 <protobuf-c\\/protobuf-c.h>/#include <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"