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 BD821173FF for ; Thu, 20 Aug 2015 06:36:50 +0000 (UTC) Received: (qmail 21949 invoked by uid 500); 20 Aug 2015 06:36:46 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 21914 invoked by uid 500); 20 Aug 2015 06:36:46 -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 21830 invoked by uid 99); 20 Aug 2015 06:36:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2015 06:36:46 +0000 Date: Thu, 20 Aug 2015 06:36:46 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-7143) OSX platform cannot be installed as described 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-7143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14704380#comment-14704380 ] ASF GitHub Bot commented on CB-7143: ------------------------------------ Github user hypery2k commented on the pull request: https://github.com/apache/cordova-osx/pull/12#issuecomment-132906614 Any news? > OSX platform cannot be installed as described > --------------------------------------------- > > Key: CB-7143 > URL: https://issues.apache.org/jira/browse/CB-7143 > Project: Apache Cordova > Issue Type: Bug > Components: OSX > Affects Versions: 3.5.0 > Environment: OSX 10.9.4 > Reporter: Tim Stewart > > Following instructions as per: > https://github.com/apache/cordova-osx > "Add the Cordova OSX Platform the a CLI project" [sic] > does not work. > I checked out cordova from master, completed all the npm linking as described in the linked instructions and checked cordova version: > 3.5.0-0.2.7-dev > I then tried to follow this instruction: "patch the 2 projects with the patches provided in the patches directory to enable the osx platform". I expected to be able to download and git apply these patches in the git root for each of the two node modules - cordova-cli and cordova-plugman. However, they are not set up correctly for this, and produced errors: > error: platforms.js: No such file or directory > error: src/platform.js: No such file or directory > Indeed, the path locations in each patch do not seem to be vaild for any given location within either module. I thus ended up finding all files named platform.js and platforms.js (there are many, spread throughout the cordova-lib module within both cordova-cli and cordova-plugman), eyeballing them to see which files matched the patch changes, and copy/pasting the changes manually. (8 files in total, as the 4 "patched" files appear under cordova-lib in each cordova module.) > When running cordova platform add osx, I then got an error about an invaild location for the ios-parser. I found the incorrect line in the "patched" cordova/platform.js and changed it as follows: > parser : './metadata/ios_parser', > Following this I was able to add the osx platform and run the app. > Needless to say, this is a frustrating developer experience. I don't know why the osx platform information code is not included in cordova by default - it would seem to be fairly well isolated from effects on any other platform - but if it is going to be "upgradable" in this fashion, then the git patches should at least work. If they were designed to work (and ever did work) with a specific version of the cordova modules, or in a different location other than the git root, then that should be stated, instead of instructing the hapless developer to clone cordova from master and providing no further clues. -- 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