Skip to content

Commit

Permalink
Merge pull request #83 from tiagoSAmaral/master
Browse files Browse the repository at this point in the history
Update Script
  • Loading branch information
sarriaroman authored Feb 8, 2017
2 parents 303c38b + a342069 commit b1e5c1f
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions hooks/lib/ios-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,10 @@ module.exports = {
xcodeProject.parseSync();

// Build the body of the script to be executed during the build phase.
// ../../plugins/plugin-id/lib/ios/Crashlytics.framework/run API_KEY SECRET_KEY
var script = [
"\"",
"\\\"",
utilities.getAppName(context),
"/Plugins/",
utilities.getPluginId(),
"/Crashlytics.framework/run",
"\\\"",
" ",
pluginConfig.apiKey,
" ",
pluginConfig.apiSecret,
"\""
].join("");

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();

// Create the build phase.
xcodeProject.hash.project.objects.PBXShellScriptBuildPhase[id] = {
isa: "PBXShellScriptBuildPhase",
Expand Down

0 comments on commit b1e5c1f

Please sign in to comment.