Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A828F18B94 for ; Fri, 26 Jun 2015 19:37:07 +0000 (UTC) Received: (qmail 82638 invoked by uid 500); 26 Jun 2015 19:37:07 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 82602 invoked by uid 500); 26 Jun 2015 19:37:07 -0000 Mailing-List: contact dev-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 dev@cordova.apache.org Received: (qmail 82590 invoked by uid 99); 26 Jun 2015 19:37:07 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2015 19:37:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 9E463181796 for ; Fri, 26 Jun 2015 19:37:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id hllgwgruyrC4 for ; Fri, 26 Jun 2015 19:37:00 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id C0DD92092B for ; Fri, 26 Jun 2015 19:36:59 +0000 (UTC) Received: by oigb199 with SMTP id b199so82630158oig.3 for ; Fri, 26 Jun 2015 12:36:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=tSHM7M/F77y3W6NGqJbDIkUBBDcRTwxaympzGSsWIbw=; b=VCoaebSpDo8yjUwWQikJ9TQkz91E3WMf/fk5OGiE6tLvtR7r/BWgoPmL4T4ReG8X/a v/IJ4LO4CBwmAs3PAKft21PvHGgdfqRHTvbb0z4UyCAHOKvPiniTCX6ZtYiIq0aHBkAe tNqYxvUUwwedpgfvVeVGMI2sqRILqZxKPTYjwZA9Q7nx+Ic1t0qmlslbk6mg4hegu+2N rLiguycyy8T1CwR2DdgOfJqiNveNuxMjVbuihgrzlXv+yLtP9MJKyrcOdJ4Nvf75QhWy O/UlkBa9LmnWptkQ3RYqCU/k9Vz48GlxA5jhQUX38J3DDrmsLpeSJjM6/Il6s9JF4N3d po/w== X-Received: by 10.202.58.215 with SMTP id h206mr2767178oia.23.1435347419035; Fri, 26 Jun 2015 12:36:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.98.193 with HTTP; Fri, 26 Jun 2015 12:36:19 -0700 (PDT) In-Reply-To: References: From: Shazron Date: Fri, 26 Jun 2015 12:36:19 -0700 Message-ID: Subject: Re: [CI] iOS build can't find simulator To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a113ce0020a885e051970ddca --001a113ce0020a885e051970ddca Content-Type: text/plain; charset=UTF-8 run On Fri, Jun 26, 2015 at 12:25 PM, Carlos Santana wrote: > Is it $cordova run --list or $cordova emulate --list > > On Fri, Jun 26, 2015 at 11:48 AM, Shazron wrote: > > > Actually you can specify "iPhone 5" whithout the runtime requirement as > > well. > > > > You can get the device list of course also using: > > $cordova run --list > > > > The default is indeed iPhone-6: > > > > > https://github.com/apache/cordova-ios/blob/f68bc7c8ab849e374831e8cadc236763b7867dd3/bin/templates/scripts/cordova/lib/run.js#L151 > > > > Should we change it to 5? > > > > On Fri, Jun 26, 2015 at 8:43 AM, Shazron wrote: > > > > > You'll have to specify a --target. > > > > > > First run: > > > $ ios-sim showdevicetypes > > > > > > Choose your device string from that list, then do, for example: > > > > > > $ cordova run --target "iPhone-5, 8.3" > > > > > > > > > > > > On Thu, Jun 25, 2015 at 9:08 PM, Dmitry Blotsky < > dblotsky@microsoft.com> > > > wrote: > > > > > >> Hi folks, > > >> > > >> Steve and Shaz swiftly resolved the issue we had with iOS building on > > the > > >> CI today, but now we seem to have another problem: > > >> > > > http://ci.apache.org/builders/cordova-ios/builds/1162/steps/running-tests/logs/stdio > > . > > >> The "cordova run" command is assuming that we're running on "iPhone > 6", > > >> which is not on the slave. We only have "iPhone 5s" because the > machine > > >> struggles with the iPhone 6 simulator. Seemingly, the detection we > have > > >> only finds running simulators, and defaults to "iPhone 6" if none are > > >> running? How should we proceed? Should I set up an iPhone 6 simulator, > > or > > >> should "cordova run" for iOS be able to identify which simulators > exist > > on > > >> the machine, even if they're not running? > > >> > > >> Kindly, > > >> Dmitry > > >> > > > > > > > > > > > > -- > Carlos Santana > > --001a113ce0020a885e051970ddca--