Skip to content

Commit 754afab

Browse files
author
Philipp Müller
committed
updated min iOS version to 12; fixed typos
1 parent 5493e1f commit 754afab

File tree

4 files changed

+44
-7
lines changed

4 files changed

+44
-7
lines changed

example/RNExampleApp/ios/Podfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
project 'RNExampleApp.xcodeproj'
2-
platform :ios, '11.0'
2+
platform :ios, '12.0'
33
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
44

55
target 'RNExampleApp' do

example/RNExampleApp/ios/RNExampleApp.xcodeproj/project.pbxproj

+40-3
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,13 @@
160160
D6F0B38747781911729D9A95 /* [CP] Check Pods Manifest.lock */,
161161
FD10A7F022414F080027D42C /* Start Packager */,
162162
DF3316B124BDEBE30018AC5E /* Bundle Main JS */,
163+
43598F62DA2F22DB0EE48A3A /* [CP] Prepare Artifacts */,
163164
13B07F871A680F5B00A75B9A /* Sources */,
164165
13B07F8C1A680F5B00A75B9A /* Frameworks */,
165166
13B07F8E1A680F5B00A75B9A /* Resources */,
166167
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
167168
002C2435724AECBB056A7FBD /* [CP] Copy Pods Resources */,
169+
9269E38444549949A7BD6DE1 /* [CP] Embed Pods Frameworks */,
168170
);
169171
buildRules = (
170172
);
@@ -230,7 +232,7 @@
230232
);
231233
inputPaths = (
232234
"${PODS_ROOT}/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-resources.sh",
233-
"${PODS_ROOT}/Anyline/AnylineSDK_iOS_25/Framework/AnylineResources.bundle",
235+
"${PODS_ROOT}/Anyline/AnylineSDK_iOS_27/Framework/AnylineResources.bundle",
234236
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
235237
);
236238
name = "[CP] Copy Pods Resources";
@@ -257,6 +259,41 @@
257259
shellPath = /bin/sh;
258260
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
259261
};
262+
43598F62DA2F22DB0EE48A3A /* [CP] Prepare Artifacts */ = {
263+
isa = PBXShellScriptBuildPhase;
264+
buildActionMask = 2147483647;
265+
files = (
266+
);
267+
inputPaths = (
268+
"${PODS_ROOT}/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-artifacts.sh",
269+
"${PODS_ROOT}/Anyline/AnylineSDK_iOS_27/Framework/Anyline.xcframework",
270+
);
271+
name = "[CP] Prepare Artifacts";
272+
outputPaths = (
273+
"${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt",
274+
);
275+
runOnlyForDeploymentPostprocessing = 0;
276+
shellPath = /bin/sh;
277+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-artifacts.sh\"\n";
278+
showEnvVarsInLog = 0;
279+
};
280+
9269E38444549949A7BD6DE1 /* [CP] Embed Pods Frameworks */ = {
281+
isa = PBXShellScriptBuildPhase;
282+
buildActionMask = 2147483647;
283+
files = (
284+
);
285+
inputPaths = (
286+
"${PODS_ROOT}/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-frameworks.sh",
287+
"${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt",
288+
);
289+
name = "[CP] Embed Pods Frameworks";
290+
outputPaths = (
291+
);
292+
runOnlyForDeploymentPostprocessing = 0;
293+
shellPath = /bin/sh;
294+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNExampleApp/Pods-RNExampleApp-frameworks.sh\"\n";
295+
showEnvVarsInLog = 0;
296+
};
260297
D6F0B38747781911729D9A95 /* [CP] Check Pods Manifest.lock */ = {
261298
isa = PBXShellScriptBuildPhase;
262299
buildActionMask = 2147483647;
@@ -448,7 +485,7 @@
448485
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
449486
GCC_WARN_UNUSED_FUNCTION = YES;
450487
GCC_WARN_UNUSED_VARIABLE = YES;
451-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
488+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
452489
MTL_ENABLE_DEBUG_INFO = YES;
453490
ONLY_ACTIVE_ARCH = YES;
454491
SDKROOT = iphoneos;
@@ -494,7 +531,7 @@
494531
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
495532
GCC_WARN_UNUSED_FUNCTION = YES;
496533
GCC_WARN_UNUSED_VARIABLE = YES;
497-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
534+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
498535
MTL_ENABLE_DEBUG_INFO = NO;
499536
SDKROOT = iphoneos;
500537
VALIDATE_PRODUCT = YES;

plugin/ios/ALPluginHelper.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ + (NSDictionary *)dictionaryForBarcodeResult:(ALBarcodeResult *)scanResult
564564
for(ALBarcode *barcode in scanResult.result) {
565565
[barcodeArray addObject:@{
566566
@"value" : barcode.value,
567-
@"barcodeFormat" : [ALBarcodeResult barcodeFormatFromString:barcode.barcodeFormat]
567+
@"barcodeFormat" : [ALPluginHelper barcodeFormatFromString:barcode.barcodeFormat]
568568
}];
569569
}
570570

plugin/ios/AnylineReact.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Pod::Spec.new do |s|
1414
s.homepage = "https://github.com/Anyline/anyline-ocr-react-native-module"
1515

1616
s.license = "MIT"
17-
s.platform = :ios, "11"
17+
s.platform = :ios, "12"
1818

1919
s.source = { :git => "https://github.com/Anyline/anyline-ocr-react-native-module.git", :tag => "#{s.version}" }
2020

2121
s.source_files = "*.{h,m}"
22-
s.dependency "Anyline", "~> 27.0"
22+
s.dependency "Anyline", "~> 27"
2323
s.dependency "React"
2424
end

0 commit comments

Comments
 (0)