blob: e15168ca4d3b0f749a1087785c60d666c68484b1 [file] [log] [blame]
{
"name": "PLCrashReporter-DynamicFramework",
"version": "1.3.0.1",
"summary": "Reliable, open-source crash reporting for iOS and Mac OS X.",
"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.",
"homepage": "https://github.com/plausiblelabs/plcrashreporter",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"Plausible Labs Cooperative, Inc.": "contact@plausible.coop"
},
"source": {
"git": "https://github.com/plausiblelabs/plcrashreporter.git",
"commit": "5347b1e1e5f2e134f624dd0c47de74b8b40a57eb"
},
"platforms": {
"ios": "7.0",
"osx": "10.8"
},
"source_files": [
"Source/**/*.{h,hpp,c,cc,cpp,m,mm,s}",
"Dependencies/protobuf-2.0.3/src/*"
],
"exclude_files": [
"**/*Tests.*",
"**/*_test_*",
"**/*TestCase.*",
"**/*test.*",
"**/*main.m"
],
"public_header_files": [
"Source/**/*.h",
"Dependencies/**/*.h"
],
"prefix_header_contents": "#import \"PLCrashNamespace.h\"",
"header_mappings_dir": ".",
"requires_arc": false,
"resources": "Resources/*.proto",
"preserve_paths": "Dependencies/**",
"pod_target_xcconfig": {
"GCC_PREPROCESSOR_DEFINITIONS": "PLCR_PRIVATE"
},
"xcconfig": {
"CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES": "YES"
},
"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\\/src\\/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' {} \\;\n\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\"\n\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\n\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",
"libraries": "c++"
}