Skip to content

Commit

Permalink
Add all the frameworks and linking to podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertSasak committed Sep 30, 2019
1 parent 8266680 commit 8db1cd6
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 3 deletions.
16 changes: 15 additions & 1 deletion RNOpenALPRExample/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ PODS:
- DoubleConversion
- glog
- glog (0.3.5)
- OpenCV (3.1.0.1)
- RCTRequired (0.61.1)
- RCTTypeSafety (0.61.1):
- FBLazyVector (= 0.61.1)
Expand Down Expand Up @@ -182,6 +183,10 @@ PODS:
- React-cxxreact (= 0.61.1)
- React-jsi (= 0.61.1)
- React-jsinspector (0.61.1)
- react-native-openalpr (1.2.0):
- OpenCV (~> 3.1.0.1)
- React
- TesseractOCRiOS (~> 3.03)
- React-RCTActionSheet (0.61.1):
- React-Core/RCTActionSheetHeaders (= 0.61.1)
- React-RCTAnimation (0.61.1):
Expand Down Expand Up @@ -217,6 +222,7 @@ PODS:
- React-cxxreact (= 0.61.1)
- React-jsi (= 0.61.1)
- ReactCommon/jscallinvoker (= 0.61.1)
- TesseractOCRiOS (3.4.0)
- Yoga (1.14.0)

DEPENDENCIES:
Expand All @@ -236,6 +242,7 @@ DEPENDENCIES:
- React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- react-native-openalpr (from `../node_modules/react-native-openalpr`)
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
- React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
Expand All @@ -252,6 +259,8 @@ DEPENDENCIES:
SPEC REPOS:
https://github.com/cocoapods/specs.git:
- boost-for-react-native
- OpenCV
- TesseractOCRiOS

EXTERNAL SOURCES:
DoubleConversion:
Expand Down Expand Up @@ -282,6 +291,8 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/jsiexecutor"
React-jsinspector:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
react-native-openalpr:
:path: "../node_modules/react-native-openalpr"
React-RCTActionSheet:
:path: "../node_modules/react-native/Libraries/ActionSheetIOS"
React-RCTAnimation:
Expand Down Expand Up @@ -312,6 +323,7 @@ SPEC CHECKSUMS:
FBReactNativeSpec: c4cf958af1b97799b524f63a26a1c509c0295b04
Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
glog: 1f3da668190260b06b429bb211bfbee5cd790c28
OpenCV: 41c4250e2b06a394d6fbb634b5fa622cdd846018
RCTRequired: 53825815218847d3e9c7b6d92ad2d197a926d51e
RCTTypeSafety: d886540c518e53064dfa081bf7693fd650699b92
React: 5dea58967c421bd1fdf6b94c18b9ed0f5134683c
Expand All @@ -321,6 +333,7 @@ SPEC CHECKSUMS:
React-jsi: 61ff417c95e6c3af50fb96399037e80752fb5ce7
React-jsiexecutor: ee45274419eb95614bbbadb98e20684c5f29996e
React-jsinspector: 574d597112f9ea3d1b717f6fb62aef764c70dd6f
react-native-openalpr: 09526c4200f7e81e8e1c97da7d85dbdaa6004c36
React-RCTActionSheet: af4d951113b1e068bb30611f91b984a7a73597ff
React-RCTAnimation: 4f518d70bb6890b7c3d9d732f84786d6693ca297
React-RCTBlob: 072a4888c08de0eef6d04eaa727d25e577e6ff26
Expand All @@ -331,8 +344,9 @@ SPEC CHECKSUMS:
React-RCTText: 81b62b4e7f11531a5154e4daa5617670d5a2d5de
React-RCTVibration: 8be61459e3749d1fb02cf414edd05b3007622882
ReactCommon: 4fba5be89efdf0b5720e0adb3d8d7edf6e532db0
TesseractOCRiOS: cd79d4ce9d4c0f1e2776db8820cf8239e5569592
Yoga: d8c572ddec8d05b7dba08e4e5f1924004a177078

PODFILE CHECKSUM: 95cf46aef12702fefe5cf1eb137ebfcbd3284ff1
PODFILE CHECKSUM: 8dac205f2cfc10e0ba008a0b9094832609730f61

COCOAPODS: 1.7.5
34 changes: 34 additions & 0 deletions RNOpenALPRExample/ios/RNOpenALPRExample.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
CA433C5C01A21B44A0BDC21F /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -173,6 +174,11 @@
attributes = {
LastUpgradeCheck = 0940;
ORGANIZATIONNAME = Facebook;
TargetAttributes = {
13B07F861A680F5B00A75B9A = {
ProvisioningStyle = Manual;
};
};
};
buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "RNOpenALPRExample" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -242,6 +248,26 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
CA433C5C01A21B44A0BDC21F /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-RNOpenALPRExample/Pods-RNOpenALPRExample-resources.sh",
"${PODS_ROOT}/../../node_modules/react-native-openalpr/ios/Frameworks/openalpr.framework/openalpr.conf",
"${PODS_ROOT}/../../node_modules/react-native-openalpr/ios/Frameworks/openalpr.framework/runtime_data",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/openalpr.conf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/runtime_data",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNOpenALPRExample/Pods-RNOpenALPRExample-resources.sh\"\n";
showEnvVarsInLog = 0;
};
FD10A7F022414F080027D42C /* Start Packager */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -293,8 +319,11 @@
baseConfigurationReference = 7372C0B8E55B6187F83A75AB /* Pods-RNOpenALPRExample.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO;
INFOPLIST_FILE = RNOpenALPRExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = (
Expand All @@ -304,6 +333,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = RNOpenALPRExample;
PROVISIONING_PROFILE_SPECIFIER = "";
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
Expand All @@ -313,7 +343,10 @@
baseConfigurationReference = 68EDFA5871F13E96E33B3E52 /* Pods-RNOpenALPRExample.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = NO;
INFOPLIST_FILE = RNOpenALPRExample/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
OTHER_LDFLAGS = (
Expand All @@ -323,6 +356,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = RNOpenALPRExample;
PROVISIONING_PROFILE_SPECIFIER = "";
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;
Expand Down
12 changes: 10 additions & 2 deletions react-native-openalpr.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,16 @@ Pod::Spec.new do |s|
s.homepage = package['homepage']
s.platform = :ios, "9.0"

s.source = { :git => "https://github.com/RobertSasak/react-native-openalpr.git", :tag => "v#{s.version}" }
s.source_files = "ios/**/*.{h,m}"
s.source = { :git => 'https://github.com/RobertSasak/react-native-openalpr.git', :tag => "v#{s.version}" }
s.source_files = 'ios/**/*.{h,m,mm,swift}'

s.resources = ['ios/Frameworks/openalpr.framework/openalpr.conf', 'ios/Frameworks/openalpr.framework/runtime_data']
s.frameworks = 'CoreGraphics', 'UIKit'
s.weak_framework = 'opencv2'
s.static_framework = true
s.vendored_frameworks = 'ios/Frameworks/openalpr.framework'
s.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO', 'OTHER_LDFLAGS' => '-lstdc++ -lz -llept -ltesseract_all', 'LIBRARY_SEARCH_PATHS' => '"${PODS_ROOT}/TesseractOCRiOS/TesseractOCR/lib"', 'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}/OpenCV" "${PODS_ROOT}/TesseractOCRiOS/Products"', 'CLANG_WARN_DOCUMENTATION_COMMENTS' => 'NO' }
s.dependency 'React'
s.dependency 'OpenCV', '~> 3.1.0.1'
s.dependency 'TesseractOCRiOS', '~> 3.03'
end

0 comments on commit 8db1cd6

Please sign in to comment.