Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3623310E65 for ; Fri, 4 Dec 2015 12:08:11 +0000 (UTC) Received: (qmail 71128 invoked by uid 500); 4 Dec 2015 12:08:11 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 71100 invoked by uid 500); 4 Dec 2015 12:08:11 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 71084 invoked by uid 99); 4 Dec 2015 12:08:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2015 12:08:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E70112C1F61 for ; Fri, 4 Dec 2015 12:08:10 +0000 (UTC) Date: Fri, 4 Dec 2015 12:08:10 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-10136) error in cordova prepare (Platform API) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah updated CB-10136: ---------------------------------- Labels: PlatformApi cordova-ios-4.0.x (was: cordova-ios-4.0.x) > error in cordova prepare (Platform API) > --------------------------------------- > > Key: CB-10136 > URL: https://issues.apache.org/jira/browse/CB-10136 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Reporter: Shazron Abdullah > Assignee: Shazron Abdullah > Priority: Critical > Labels: PlatformApi, cordova-ios-4.0.x > > Add this in config.xml: > {code} > > > > > {code} > Then run `cordova prepare`. > You will get an error: > "Error: Arguments to path.resolve must be strings" > Log: > {code} > $ cordova prepare --verbose > Executing "before_prepare" hook for all plugins. > Searching PlatformJson files for differences between project vs. platform installed plugins > No differences found between project and ios platform. Continuing... > Generating config.xml from defaults for platform "ios" > Wrote out iOS Bundle Identifier to "s.one" > Wrote out iOS Bundle Version to "0.0.1" > Error: TypeError: Arguments to path.resolve must be strings > at Object.posix.resolve (path.js:439:13) > at new pbxProject (/Users/shazron/Desktop/s/platforms/ios/cordova/node_modules/xcode/lib/pbxProject.js:17:26) > at handleBuildSettings (/Users/shazron/Desktop/s/platforms/ios/cordova/lib/prepare.js:237:16) > at updateProject (/Users/shazron/Desktop/s/platforms/ios/cordova/lib/prepare.js:163:12) > at /Users/shazron/Desktop/s/platforms/ios/cordova/lib/prepare.js:47:16 > at _fulfilled (/Users/shazron/Desktop/s/platforms/ios/cordova/node_modules/q/q.js:787:54) > at self.promiseDispatch.done (/Users/shazron/Desktop/s/platforms/ios/cordova/node_modules/q/q.js:816:30) > at Promise.promise.promiseDispatch (/Users/shazron/Desktop/s/platforms/ios/cordova/node_modules/q/q.js:749:13) > at /Users/shazron/Desktop/s/platforms/ios/cordova/node_modules/q/q.js:509:49 > at flush (/Users/shazron/Desktop/s/platforms/ios/cordova/node_modules/q/q.js:108:17) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org