From d154fe5f9c21974605a9f3d8ff3b924baf146219 Mon Sep 17 00:00:00 2001 From: Robert Young Date: Mon, 13 Feb 2017 21:41:09 +0000 Subject: [PATCH] Fixed bug with the Xcode project not opening due to the shell script --- hooks/lib/ios-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/lib/ios-helper.js b/hooks/lib/ios-helper.js index c386abc..94c3a9b 100644 --- a/hooks/lib/ios-helper.js +++ b/hooks/lib/ios-helper.js @@ -28,7 +28,7 @@ module.exports = { xcodeProject.parseSync(); // Build the body of the script to be executed during the build phase. - var script = '"' + '${SRCROOT}' + "/\"" + utilities.getAppName(context) + "\"/Plugins/cordova-fabric-plugin/Fabric.framework/run " + pluginConfig.apiKey + " " + pluginConfig.apiSecret + '"'; + var script = '"' + '${SRCROOT}' + "/\\\"" + utilities.getAppName(context) + "\\\"/Plugins/cordova-fabric-plugin/Fabric.framework/run " + pluginConfig.apiKey + " " + pluginConfig.apiSecret + '"'; // Generate a unique ID for our new build phase. var id = xcodeProject.generateUuid();