You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/03 21:07:40 UTC

[jira] [Commented] (CB-5921) Cordova on iOS should use an XCWorkspace, or at least support using one.

    [ https://issues.apache.org/jira/browse/CB-5921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15131037#comment-15131037 ] 

ASF GitHub Bot commented on CB-5921:
------------------------------------

GitHub user edewit reopened a pull request:

    https://github.com/apache/cordova-ios/pull/104

    generates a workspace instead of subproject

    Initial part of [CB-5921](https://issues.apache.org/jira/browse/CB-5921)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/edewit/cordova-ios workspace

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-ios/pull/104.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #104
    
----
commit 9b1510768dbb6f74b4c7e95a307ba237234d893e
Author: Erik Jan de Wit <er...@gmail.com>
Date:   2014-09-16T12:24:09Z

    generates a workspace instead of subproject

commit 67eceb1cb52047b1839fa7695cad9e2dc43fcc31
Author: Erik Jan de Wit <er...@gmail.com>
Date:   2014-09-23T06:55:18Z

    add plugin project template

commit 8b3a5de8d99ba6254a389c5f873a9a7c11d162f4
Author: Erik Jan de Wit <er...@gmail.com>
Date:   2014-10-21T13:58:03Z

    change order of the projects

commit 63f771f7e6266fade856bdc38f32ebea8d13c096
Author: Erik Jan de Wit <er...@gmail.com>
Date:   2014-10-21T13:59:19Z

    fixed whitespace

commit 11221e2b9f5eb18e9f8ad38d847d28520308f6b0
Author: Erik Jan de Wit <er...@gmail.com>
Date:   2014-10-21T14:10:42Z

    whitespace

commit 92bea5cd15b3b5257748cab182d55c9040df4db1
Author: Mueller, Graham <gr...@jda.com>
Date:   2014-10-21T19:21:54Z

    Adding UIKit to project file, since it is a required framework.
    Removing unnecessary OTHER_LD_FLAGS.
    Removing LIBRARY_SEARCH_PATHS which cause warnings (not found).
    Re-ordering workspace, so user's project shows up before Cordova.

commit 1110c042cf5b2379a85824e0a85446bed80f07e1
Author: Mueller, Graham <gr...@jda.com>
Date:   2014-10-21T19:24:21Z

    Removing usages of spaces, plist files always use tabs.

commit 33b49c281d66de0de02cae2d6eef7d58dbb1f299
Author: Erik Jan de Wit <er...@gmail.com>
Date:   2014-10-21T19:30:31Z

    Merge branch 'PR-Cleanup' of github.com:shortstuffsushi/cordova-ios into cleanup
    
    Conflicts:
    	bin/templates/project/__CLI__.xcodeproj/project.pbxproj

commit d9b74dd2b9b1f14cae90788e91730619bf293729
Author: Erik Jan de Wit <er...@gmail.com>
Date:   2014-10-21T19:34:20Z

    Merge branch 'cleanup' into workspace

----


> 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: cordova-ios-5.0.x, core
>         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