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 53DCD107F1 for ; Thu, 27 Jun 2013 22:06:22 +0000 (UTC) Received: (qmail 68877 invoked by uid 500); 27 Jun 2013 22:06:21 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 68849 invoked by uid 500); 27 Jun 2013 22:06:21 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 68759 invoked by uid 99); 27 Jun 2013 22:06:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 22:06:21 +0000 Date: Thu, 27 Jun 2013 22:06:21 +0000 (UTC) From: "Shazron Abdullah (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-4025) iOS emulate command broken when run inside the cordova folder 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-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13695096#comment-13695096 ] Shazron Abdullah commented on CB-4025: -------------------------------------- aha mystery solved - I'll patch it now. Thanks :) > iOS emulate command broken when run inside the cordova folder > ------------------------------------------------------------- > > Key: CB-4025 > URL: https://issues.apache.org/jira/browse/CB-4025 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.9.0 > Environment: OSX > Reporter: Ross Gerbasi > Assignee: Shazron Abdullah > > the emulate script in the project/cordova is broken. > line 35 currently reads > APP_PATH=${1:-$PROJECT_PATH/build/$(xcodebuild -project $PROJECT_NAME.xcodeproj -arch i386 -target $PROJECT_NAME -configuration Debug -sdk $SDK -showBuildSettings | grep FULL_PRODUCT_NAME | awk -F ' = ' '{print $2}')} > Fix is simple change this line to this > APP_PATH=${1:-$PROJECT_PATH/build/$(xcodebuild -project $PROJECT_PATH/$PROJECT_NAME.xcodeproj -arch i386 -target $PROJECT_NAME -configuration Debug -sdk $SDK -showBuildSettings | grep FULL_PRODUCT_NAME | awk -F ' = ' '{print $2}')} > emulate is not able to find the xcode project without the path. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira