[Add] DocumentReaderMRZBarcodeStage 7.5.10862
[CocoaPods.git] / Specs / b / 2 / 5 / MNCAnalytics / 1.2.11 / MNCAnalytics.podspec.json
blob223e6486a7f64353a17be519b2439b0eccd2f25d
2   "name": "MNCAnalytics",
3   "version": "1.2.11",
4   "summary": "This is POD version of MNC Analytics",
5   "description": "TODO: Add long description of the pod here",
6   "homepage": "https://repo.mncinnovation.id/dac/video-analytics/sdk/mobile-sdk/source/ios/pod/MNCAnalytics",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "fepriyadihrp": "fepriyadi.harahap@mncgroup.com"
13   },
14   "source": {
15     "git": "https://repo.mncinnovation.id/dac/video-analytics/sdk/mobile-sdk/source/ios/pod/MNCAnalytics.git",
16     "tag": "1.2.11"
17   },
18   "platforms": {
19     "ios": "11.0"
20   },
21   "requires_arc": false,
22   "static_framework": true,
23   "libraries": [
24     "icucore",
25     "z",
26     "iconv",
27     "jre_emul",
28     "json"
29   ],
30   "source_files": [
31     "MNCAnalytics/include/**/*.h",
32     "MNCAnalytics/public/*.h"
33   ],
34   "public_header_files": "MNCAnalytics/public/*.h",
35   "private_header_files": "MNCAnalytics/include/*.h",
36   "frameworks": [
37     "UIKit",
38     "Foundation",
39     "CoreFoundation"
40   ],
41   "prepare_command": "XCODEPROJECT=MNCAnalytics\nXCODETARGET=MNCAnalytics\nBUILDDIR=build\nBUILDROOT=${BUILDDIR}\nCONFIG=Release\nOUTDIR=${BUILDDIR}/${CONFIG}\n\nif [ -d \"MNCAnalytics/lib\" ]; then\n  rm -rf \"MNCAnalytics/lib\"\nfi\n\nif [ ! -d \"MNCAnalytics/lib\" ]; then\n  echo \"fetching j2objc lib\"\n  mkdir MNCAnalytics/lib\n\n  # use this lib locally to test sdk func. only\n  # cp /Users/fep/Documents/SDK/PODS/j2objc/j2objc_lib/lib/libjre_emul.a MNCAnalytics/lib\n  # cp /Users/fep/Documents/SDK/PODS/j2objc/j2objc_lib/lib/libjson.a MNCAnalytics/lib\n\n  # ready to download j2objc lib and publish after test locally successful\n  curl -OL https://github.com/fepriyadi/MNCAnalytics/releases/download/1.2.3/lib.zip\n  unzip -d MNCAnalytics/lib lib.zip\n  rm lib.zip\nfi\n\necho \"Creating framework\"\n  \nif [ -d \"${BUILDDIR}\" ]; then\n  rm -rf \"${BUILDDIR}\"\nfi\n\nmkdir -p \"${OUTDIR}\"\n\nif [ -f \"${OUTDIR}/lib${XCODEPROJECT}.a\" ]; then\n    rm \"${OUTDIR}/lib${XCODEPROJECT}.a\"\nfi\n\nif [ -f \"MNCAnalytics/lib\" ]; then\n  rm \"MNCAnalytics/lib/*.a\"\nfi\n\necho \"=======> Building devices...\"\nxcodebuild -project ${XCODEPROJECT}.xcodeproj -target ${XCODETARGET} ONLY_ACTIVE_ARCH=YES -configuration ${CONFIG} -sdk iphoneos  \nBUILD_DIR=\"${BUILDDIR}\" BUILD_ROOT=\"${BUILDROOT}\" BITCODE_GENERATION_MODE=bitcode\nif [ $? -gt 0 ]; then\n  echo \"ERROR! when try to build...\"\n  exit 1\nfi\n\necho \"=======> Building x86_64...\"\nxcodebuild -project ${XCODEPROJECT}.xcodeproj -target ${XCODETARGET} -configuration ${CONFIG} -sdk iphonesimulator -arch x86_64 \nBUILD_DIR=\"${BUILDDIR}\" BUILD_ROOT=\"${BUILDROOT}\" BITCODE_GENERATION_MODE=bitcode\nif [ $? -gt 0 ]; then\n  echo \"ERROR! when try to build...\"\n  exit 1\nfi\n\necho \"=======> Building all...\"\nlipo -create -output \"${OUTDIR}/lib${XCODEPROJECT}.a\" \"${BUILDDIR}/${CONFIG}-iphoneos/lib${XCODEPROJECT}.a\" \"${BUILDDIR}/${CONFIG}-iphonesimulator/lib${XCODEPROJECT}.a\"\nif [ $? -gt 0 ]; then\n  echo \"ERROR! when try to build...\"\n  exit 1\nfi\n\necho \"=======> Copying headers...\"\n\ncp \"j2objc/objc/TTask.h\" \"MNCAnalytics/public/\"\ncp \"j2objc/objc/Core.h\" \"MNCAnalytics/public/\"\ncp \"j2objc/objc/MncDigitalAnalytics.h\" \"MNCAnalytics/public/\"\n\ncp \"${OUTDIR}/lib${XCODEPROJECT}.a\" \"MNCAnalytics/lib/\"\n\necho \"=======> Done\"",
42   "vendored_libraries": "MNCAnalytics/lib/*.a",
43   "xcconfig": {
44     "EXCLUDED_ARCHS[sdk=iphonesimulator*]": "arm64",
45     "ALWAYS_SEARCH_USER_PATHS": "NO",
46     "ONLY_ACTIVE_ARCH": "NO",
47     "OTHER_LDFLAGS": "$(inherited) -liconv -ljson"
48   },
49   "pod_target_xcconfig": {
50     "EXCLUDED_ARCHS[sdk=iphonesimulator*]": "arm64"
51   },
52   "user_target_xcconfig": {
53     "EXCLUDED_ARCHS[sdk=iphonesimulator*]": "arm64",
54     "USER_HEADER_SEARCH_PATHS": "$(inherited) \"${PODS_ROOT}/Headers/Private/MNCAnalytics\"",
55     "SWIFT_OBJC_BRIDGING_HEADER": "${PODS_ROOT}/Headers/Public/MNCAnalytics/MncDigitalAnalytics.h"
56   }