swift package manager.

Hi all,

First off all i am quite excited to see another tool to create package
manager dependencies to come to the community.

After reading upon the existent examples i wonder if this tool will ever
have the goal of allowing the generation of workspaces and to link each
project automatically, not only by pointing at binaries prebuilt but at
those in the derived-data, per example:

MyWorkspace

--->MyApp.xcodeproj (my app depends on MyFramework1 and MyFramework2
        >-->MyApp (iOS Target) which is linked to configurations (

preproduction/LIVE/etc)

        >-->MyApp (tvOS Target) which is linked to configurations (

preproduction/LIVE/etc)

        >-->MyApp (macOS Target) which is linked to configurations (

preproduction/LIVE/etc)

--->MyFramework1.xcodeproj
        >-->MyFramework1 ( iOS Target) which is linked to configurations (

preproduction/LIVE/etc)

        >-->MyFramework1 (tvOS Target) which is linked to configurations (

preproduction/LIVE/etc)

        >-->MyFramework1 (macOS Target) which is linked to configurations

(preproduction/LIVE/etc)

--->MyFramework2.xcodeproj
        >-->MyFramework2 (Target) which is linked to configurations (

preproduction/LIVE/etc)

        >-->MyFramework2 (tvOS Target) which is linked to configurations (

preproduction/LIVE/etc)

        >-->MyFramework2 (macOS Target) which is linked to configurations

(preproduction/LIVE/etc)

to allow the build with different configurations within Xcode several
schemes are created pointing at the same target with different
preproduction/post
build scripts.

At the moment as my knowledge goes there is no such package manager within
the community, and this setup is the currently the one used for our
enterprise environment, I wonder if the community will ever be interested
in allow such levels of customisation within the package manager itself, if
other enterprise environments would benefit from it.

There is quite an interest within my company and myself to have such tool,
we wonder if the same interest exists within the community?
If that can be if nothing like this is in roadmap is this a something that
could be of use to wider population, and therefore would there be an
interest create it? I would be very interested in my spare time to be part
of the creation of such tool.

Regards

Ricardo

Hi Ricardo,

I'm not completely sure that I understand exactly what you're asking for, but generating Xcode projects and workspaces is really outside the scope of what the package manager does. Xcode is not part of the open source project. We are planning to build Swift Package Manager support into Xcode, so that might satisfy your needs here. That support is largely part of Xcode itself and not part of the open-source project, so we won't be discussing the details publicly until it's done.

I hope that helps,

  - Rick

···

On Dec 22, 2015, at 5:53 PM, ricardo duarte via swift-build-dev <swift-build-dev@swift.org> wrote:

Hi all,

First off all i am quite excited to see another tool to create package manager dependencies to come to the community.

After reading upon the existent examples i wonder if this tool will ever have the goal of allowing the generation of workspaces and to link each project automatically, not only by pointing at binaries prebuilt but at those in the derived-data, per example:

MyWorkspace
>--->MyApp.xcodeproj (my app depends on MyFramework1 and MyFramework2
> >-->MyApp (iOS Target) which is linked to configurations (preproduction/LIVE/etc)
> >-->MyApp (tvOS Target) which is linked to configurations (preproduction/LIVE/etc)
> >-->MyApp (macOS Target) which is linked to configurations (preproduction/LIVE/etc)
>--->MyFramework1.xcodeproj
> >-->MyFramework1 ( iOS Target) which is linked to configurations (preproduction/LIVE/etc)
> >-->MyFramework1 (tvOS Target) which is linked to configurations (preproduction/LIVE/etc)
> >-->MyFramework1 (macOS Target) which is linked to configurations (preproduction/LIVE/etc)
>--->MyFramework2.xcodeproj
> >-->MyFramework2 (Target) which is linked to configurations (preproduction/LIVE/etc)
> >-->MyFramework2 (tvOS Target) which is linked to configurations (preproduction/LIVE/etc)
> >-->MyFramework2 (macOS Target) which is linked to configurations (preproduction/LIVE/etc)

to allow the build with different configurations within Xcode several schemes are created pointing at the same target with different preproduction/post build scripts.

At the moment as my knowledge goes there is no such package manager within the community, and this setup is the currently the one used for our enterprise environment, I wonder if the community will ever be interested in allow such levels of customisation within the package manager itself, if other enterprise environments would benefit from it.

There is quite an interest within my company and myself to have such tool, we wonder if the same interest exists within the community?
If that can be if nothing like this is in roadmap is this a something that could be of use to wider population, and therefore would there be an interest create it? I would be very interested in my spare time to be part of the creation of such tool.

Regards

Ricardo

_______________________________________________
swift-build-dev mailing list
swift-build-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-build-dev