diff --git a/build/tasks/codesign-task.coffee b/build/tasks/codesign-task.coffee index 544d331bd..7ee833605 100644 --- a/build/tasks/codesign-task.coffee +++ b/build/tasks/codesign-task.coffee @@ -15,7 +15,8 @@ module.exports = (grunt) -> unlockKeychain = (callback) -> cmd = 'security' - args = ['-p', process.env.XCODE_KEYCHAIN_PASSWORD, process.env.XCODE_KEYCHAIN] + {XCODE_KEYCHAIN_PASSWORD, XCODE_KEYCHAIN} = process.env + args = ['unlock-keychain', '-p', XCODE_KEYCHAIN_PASSWORD, XCODE_KEYCHAIN] spawn {cmd, args}, (error) -> callback(error) signApp = (callback) ->