Skip to content

Commit

Permalink
fix(ios): hotfix for build issue in IOS
Browse files Browse the repository at this point in the history
  • Loading branch information
JonatanSalas committed Dec 2, 2020
1 parent 8a4a404 commit dcb9a1e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 29 deletions.
6 changes: 3 additions & 3 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- blackbox-vision-react-native-mercadopago-px (0.5.0):
- blackbox-vision-react-native-mercadopago-px (0.7.1):
- MercadoPagoSDK (= 4.32.4)
- React
- boost-for-react-native (1.63.0)
Expand Down Expand Up @@ -569,7 +569,7 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
blackbox-vision-react-native-mercadopago-px: 69da83b0ae2182547ebb627c794155091f49ea2b
blackbox-vision-react-native-mercadopago-px: 8011ce71869d9fef14f49d523036afd8c221f043
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
CocoaAsyncSocket: 694058e7c0ed05a9e217d1b3c7ded962f4180845
CocoaLibEvent: 2fab71b8bd46dd33ddb959f7928ec5909f838e3f
Expand Down Expand Up @@ -619,4 +619,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: ec4f9b153398d5f6a2ea3e99334a0076a8f9703f

COCOAPODS: 1.9.2
COCOAPODS: 1.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
20F357B024636CDF00C146DC /* File.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20F357AF24636CDF00C146DC /* File.swift */; };
F18D917E2412F8527902ADE7 /* libPods-ReactNativeMercadopagoPxExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7733E56D349B82C93B2B0F1F /* libPods-ReactNativeMercadopagoPxExample.a */; };
B8C06D4E5DDB65B3E221CB25 /* libPods-ReactNativeMercadopagoPxExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2FCAFAA0E5273D9C3CF5D264 /* libPods-ReactNativeMercadopagoPxExample.a */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -307,6 +307,7 @@

/* Begin PBXFileReference section */
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
01003F9476094A2FB071D9FE /* Pods-ReactNativeMercadopagoPxExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeMercadopagoPxExample.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeMercadopagoPxExample/Pods-ReactNativeMercadopagoPxExample.release.xcconfig"; sourceTree = "<group>"; };
13B07F961A680F5B00A75B9A /* ReactNativeMercadopagoPxExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeMercadopagoPxExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ReactNativeMercadopagoPxExample/AppDelegate.h; sourceTree = "<group>"; };
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ReactNativeMercadopagoPxExample/AppDelegate.m; sourceTree = "<group>"; };
Expand All @@ -316,10 +317,9 @@
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ReactNativeMercadopagoPxExample/main.m; sourceTree = "<group>"; };
20F357AE24636CDF00C146DC /* ReactNativeMercadopagoPxExample-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "ReactNativeMercadopagoPxExample-Bridging-Header.h"; sourceTree = "<group>"; };
20F357AF24636CDF00C146DC /* File.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = File.swift; sourceTree = "<group>"; };
452D6A799FB9D397C2D2639A /* Pods-ReactNativeMercadopagoPxExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeMercadopagoPxExample.release.xcconfig"; path = "Target Support Files/Pods-ReactNativeMercadopagoPxExample/Pods-ReactNativeMercadopagoPxExample.release.xcconfig"; sourceTree = "<group>"; };
2FCAFAA0E5273D9C3CF5D264 /* libPods-ReactNativeMercadopagoPxExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeMercadopagoPxExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
7681333024A8E16100519A7D /* Pods.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Pods.xcodeproj; path = Pods/Pods.xcodeproj; sourceTree = "<group>"; };
7733E56D349B82C93B2B0F1F /* libPods-ReactNativeMercadopagoPxExample.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ReactNativeMercadopagoPxExample.a"; sourceTree = BUILT_PRODUCTS_DIR; };
DD32F431CDED9A8E4CD89D91 /* Pods-ReactNativeMercadopagoPxExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeMercadopagoPxExample.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeMercadopagoPxExample/Pods-ReactNativeMercadopagoPxExample.debug.xcconfig"; sourceTree = "<group>"; };
A28E5A6E741360B3EE8FCE71 /* Pods-ReactNativeMercadopagoPxExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ReactNativeMercadopagoPxExample.debug.xcconfig"; path = "Target Support Files/Pods-ReactNativeMercadopagoPxExample/Pods-ReactNativeMercadopagoPxExample.debug.xcconfig"; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */

Expand All @@ -328,7 +328,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
F18D917E2412F8527902ADE7 /* libPods-ReactNativeMercadopagoPxExample.a in Frameworks */,
B8C06D4E5DDB65B3E221CB25 /* libPods-ReactNativeMercadopagoPxExample.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -352,8 +352,8 @@
1CFFDEF7170271C97B8B7E5A /* Pods */ = {
isa = PBXGroup;
children = (
DD32F431CDED9A8E4CD89D91 /* Pods-ReactNativeMercadopagoPxExample.debug.xcconfig */,
452D6A799FB9D397C2D2639A /* Pods-ReactNativeMercadopagoPxExample.release.xcconfig */,
A28E5A6E741360B3EE8FCE71 /* Pods-ReactNativeMercadopagoPxExample.debug.xcconfig */,
01003F9476094A2FB071D9FE /* Pods-ReactNativeMercadopagoPxExample.release.xcconfig */,
);
path = Pods;
sourceTree = "<group>";
Expand All @@ -362,7 +362,7 @@
isa = PBXGroup;
children = (
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
7733E56D349B82C93B2B0F1F /* libPods-ReactNativeMercadopagoPxExample.a */,
2FCAFAA0E5273D9C3CF5D264 /* libPods-ReactNativeMercadopagoPxExample.a */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -454,13 +454,13 @@
isa = PBXNativeTarget;
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeMercadopagoPxExample" */;
buildPhases = (
AE16E1A27F3A7730E70447C3 /* [CP] Check Pods Manifest.lock */,
E294F15C879F9277DCA0D16D /* [CP] Check Pods Manifest.lock */,
FD10A7F022414F080027D42C /* Start Packager */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
4B8E7B47F873FF01D1E84E44 /* [CP] Copy Pods Resources */,
E7BE6E1922329F6A95335F08 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -827,41 +827,41 @@
shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
};
4B8E7B47F873FF01D1E84E44 /* [CP] Copy Pods Resources */ = {
E294F15C879F9277DCA0D16D /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
name = "[CP] Copy Pods Resources";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-ReactNativeMercadopagoPxExample-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ReactNativeMercadopagoPxExample/Pods-ReactNativeMercadopagoPxExample-resources.sh\"\n";
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;
};
AE16E1A27F3A7730E70447C3 /* [CP] Check Pods Manifest.lock */ = {
E7BE6E1922329F6A95335F08 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
"${PODS_ROOT}/Manifest.lock",
);
name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
name = "[CP] Copy Pods Resources";
outputPaths = (
"$(DERIVED_FILE_DIR)/Pods-ReactNativeMercadopagoPxExample-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
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";
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ReactNativeMercadopagoPxExample/Pods-ReactNativeMercadopagoPxExample-resources.sh\"\n";
showEnvVarsInLog = 0;
};
FD10A7F022414F080027D42C /* Start Packager */ = {
Expand Down Expand Up @@ -913,7 +913,7 @@
/* Begin XCBuildConfiguration section */
13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = DD32F431CDED9A8E4CD89D91 /* Pods-ReactNativeMercadopagoPxExample.debug.xcconfig */;
baseConfigurationReference = A28E5A6E741360B3EE8FCE71 /* Pods-ReactNativeMercadopagoPxExample.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand Down Expand Up @@ -941,7 +941,7 @@
};
13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 452D6A799FB9D397C2D2639A /* Pods-ReactNativeMercadopagoPxExample.release.xcconfig */;
baseConfigurationReference = 01003F9476094A2FB071D9FE /* Pods-ReactNativeMercadopagoPxExample.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
Expand Down
2 changes: 1 addition & 1 deletion ios/ReactNativeMercadopagoPx.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ extension ReactNativeMercadopagoPx: PXLifeCycleProtocol {

if let pxPayment = (result as? PXPayment?) {
// Default Payment values
payment[JsPaymentOptions.ID] = String(pxPayment?.id);
payment[JsPaymentOptions.ID] = String(pxPayment!.id);
payment[JsPaymentOptions.STATUS] = pxPayment?.status;
payment[JsPaymentOptions.STATUS_DETAIL] = pxPayment?.statusDetail;

Expand Down

0 comments on commit dcb9a1e

Please sign in to comment.