[Add] YLCategory-MacOS 1.1.3
[CocoaPods.git] / Specs / a / 9 / 7 / Backtrace-PLCrashReporter / 1.4.0 / Backtrace-PLCrashReporter.podspec.json
blob300f221f6f0afe0ad8b737eea9e5784e6256d83f
2   "name": "Backtrace-PLCrashReporter",
3   "version": "1.4.0",
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",
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     "osx": "10.10"
17   },
18   "source": {
19     "git": "https://github.com/backtrace-labs/plcrashreporter",
20     "tag": "1.4.0"
21   },
22   "source_files": [
23     "Source/**/*.{h,hpp,c,cpp,m,mm,s}",
24     "Dependencies/protobuf-2.0.3/src/*.{h,c}"
25   ],
26   "exclude_files": [
27     "**/*Tests*",
28     "**/*TestCase*",
29     "**/*test.*",
30     "**/*_test_*",
31     "**/*main.m"
32   ],
33   "public_header_files": [
34     "Source/PLCrashReport*.h",
35     "Source/PLCrashNamespace*.h",
36     "Source/PLCrashMacros.h",
37     "Source/PLCrashFeatureConfig.h",
38     "Source/CrashReporter.h"
39   ],
40   "preserve_paths": "Dependencies/**",
41   "resources": "Resources/*.proto",
42   "pod_target_xcconfig": {
43     "GCC_PREPROCESSOR_DEFINITIONS": "PLCR_PRIVATE"
44   },
45   "libraries": "c++",
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"