From 2e1b68b3748fef32698d62c7025659e40a1554bf Mon Sep 17 00:00:00 2001 From: Prabath Date: Sun, 7 Jul 2019 13:24:39 +0530 Subject: [PATCH 1/2] add xcode dev dependency --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5ade7135f..6d004debf 100644 --- a/package.json +++ b/package.json @@ -45,5 +45,8 @@ "test:cordova@7.1.0:browser@5.0.3": "bash ./test/test-default.sh 7.1.0 browser 5.0.3", "test:cordova@8.0.0:browser@5.0.3": "bash ./test/test-default.sh 8.0.0 browser 5.0.3" }, - "dependencies": {} + "dependencies": {}, + "devDependencies": { + "xcode": "^2.0.0" + } } From da1639a8c5b0baa8566892ca4a2273c547731c02 Mon Sep 17 00:00:00 2001 From: Prabath Date: Sun, 7 Jul 2019 13:25:25 +0530 Subject: [PATCH 2/2] fixed build issue due to xcode module --- scripts/ios/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ios/helper.js b/scripts/ios/helper.js index 946496a9c..a155ab3c4 100644 --- a/scripts/ios/helper.js +++ b/scripts/ios/helper.js @@ -1,6 +1,7 @@ var fs = require("fs"); var path = require("path"); var utilities = require("../lib/utilities"); +var xcode = require("xcode"); /** * This is used as the display text for the build phase block in XCode as well as the @@ -30,7 +31,6 @@ module.exports = { * (dSYMs) so that Crashlytics can display stack trace information in it's web console. */ addShellScriptBuildPhase: function (context, xcodeProjectPath) { - var xcode = context.requireCordovaModule("xcode"); // Read and parse the XCode project (.pxbproj) from disk. // File format information: http://www.monobjc.net/xcode-project-file-format.html