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 0408417E7F for ; Wed, 1 Apr 2015 01:48:54 +0000 (UTC) Received: (qmail 7208 invoked by uid 500); 1 Apr 2015 01:48:53 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 7183 invoked by uid 500); 1 Apr 2015 01:48:53 -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 7168 invoked by uid 99); 1 Apr 2015 01:48:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 01:48:53 +0000 Date: Wed, 1 Apr 2015 01:48:53 +0000 (UTC) From: "Carlos Santana (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-5921) Cordova on iOS should use an XCWorkspace, or at least support using one. 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-5921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14389851#comment-14389851 ] Carlos Santana edited comment on CB-5921 at 4/1/15 1:48 AM: ------------------------------------------------------------ [~shazron] This is great here in IBM we are looking at Cocoapods as the defacto standard for building libraries for developers to include the IBM SDKs. I know you already mentioned that we don't allow external packages dictate where Cordova should go, but this is building block if we want to use cocoapods to take what cordova produces (core and plugins) then produce cocoapods that are portable int he cocoapods ecosystem. cocoapods is something we can leverage little or more as cordova see it fit, I think there are things that the pod client handles wheel that we don't have to re-invent the well like editing xcconfig files to add or remove pods/frameworks I will check your branch out and make comments in gihub, I'm curios to see how you are packaging the web parts of the plugin as resources bundle, and then make it available to the web view, it was the only part I didn't have a clear picture how to solved. was (Author: csantana): [~shazron] This is great here in IBM we are looking at Cocoapods as the defacto standard for building libraries for developers to include the IBM SDKs. I know you already mentioned that we don't allow external packages dictate where Cordova should go, but this is building block if we want to use cocoapods to take what cordova produces (core and plugins) then produce cocoapods that are portable int he cocoapods ecosystem. cocoapods is something we can leverage little or more as cordova see it fit, I think there are things that the pod client handles well that we don't have to re-invent the well like editing xcconfig files to add or remove pods/frameworks I will check your branch out and make comments in gihub, I'm curios to see how you are packaging the web parts of the plugin as resources bundle, and then make it available to the web view, it was the only part I didn't have a clear picture how to solved. > Cordova on iOS should use an XCWorkspace, or at least support using one. > ------------------------------------------------------------------------ > > Key: CB-5921 > URL: https://issues.apache.org/jira/browse/CB-5921 > Project: Apache Cordova > Issue Type: Improvement > Components: iOS > Reporter: Graham Mueller > Priority: Minor > Labels: core > Fix For: 4.0.0 > > Attachments: build > > > Hi Guys, > Not sure what to log this as. It's not so much a bug as an incompatibility with other frameworks. Anyway, this is specifically an issue with the build process on iOS. Do with it what you will. > If you're familiar with the CocoaPods framework, you'll know that on initial install, it creates an XCWorkspace file, and instructs you to exclusively use that afterwards. This is because the CocoaPods library adds itself as a linked project that must be built, similar to Cordova/Phonegap. The difference is that Cordova adds itself as a sub project, instead of a sibling project (which is effectively the workspace goal, from my understanding, though I'm having a hard time finding a good link to explain it better). > So, I would suggest that Cordova moves to this setup as well -- it should create the workspace that has both the Cordova project and your app project. > Alternatively, if you don't want to go through and change that creation code, it would be great if the CLI offered someway to specify what you want it to build. I found the actual build script that's calling xcodebuild with a -project flag in it (this is where -workspace would go). There is currently no way to override this, so there is currently no way at all to support workspaces (and consequently no way to use CocoaPods). > Any thoughts or reasons not to do so? > Thanks, > Graham -- 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