There has been some progress towards better documentation, but there is
still a lot to be done. Here are some current references (which might need
updates..)
https://github.com/apple/swift-package-manager/blob/master/Documentation/Usage.md#build-an-executable
https://swift.org/package-manager/#exam
On Fri, Sep 16, 2016 at 12:21 AM, Toni Suter via swift-users <
swift-users@swift.org> wrote:
> Hi everyone,
>
> Let's assume there's a Swift package with the following Layout:
>
> MyPackage/
> ├── Package.swift
> └── Sources
> └── MyModule
> ├── SubFolder
> │ └── MyClass.swif
Hi,
SwiftPM finds the first matching .pc file in the list of search paths,
unfortunately the environment variable PKG_CONFIG_PATH was last in the
list. It was corrected in this commit:
https://github.com/apple/swift-package-manager/commit/ac0479653032ded2efa1d71ab290d5b8d66c0e82
Can you try with a
Hi,
Currently in Swift 3 release of SwiftPM, you cannot override this setting.
A proper solution to this problem is yet to be built in SwiftPM however in
the mean time this patch was landed to allow overrides by passing custom
args: https://github.com/apple/swift-package-manager/pull/715
It is ava
+swift-build-dev
Not right now but we're considering adding support for multiple packages in
a repository. It would be good if you can explain your
requirements/features/flow are you looking for.
On Friday 4 November 2016, Georgios Moschovitis via swift-users <
swift-users@swift.org> wrote:
> Th
I simplified your example package and posted a bug report here:
https://bugs.swift.org/browse/SR-3556
On Thu, Jan 5, 2017 at 9:59 PM, Yang Yang via swift-users <
swift-users@swift.org> wrote:
> sorry, i made mistake on compiling. It still report the same link error.
>
> Yang
>
> On Wed, Jan 4, 20
Using swift module in REPL:
Toolchain: January 4, 2017
Platform: Ubuntu 16.04
Add this at end of Package.swift:
```
products += [Product(name: "Result", type: .Library(.Dynamic), modules:
"Result")]
```
$ swift build
$ swift -I .build/debug -L .build/debug -lResult -I
/usr/lib/clang/3.8/includ
Might be, please file a JIRA with a minimal test case!
On Fri, Jan 6, 2017 at 3:11 PM, Robert Atkins <
ratkins+swift-us...@fastmail.fm> wrote:
> On Thu, 5 Jan 2017, at 18:13, Ankit Agarwal wrote:
>
> Using swift module in REPL:
>
>
> [...]
>
> $ swift build
> $ swift -I .build/debug -L .build/deb
Thats weird, you should be able to import Foundation from the toolchain
On Fri, Jan 6, 2017 at 4:28 PM, Robert Atkins <
ratkins+swift-us...@fastmail.fm> wrote:
> On Fri, 6 Jan 2017, at 09:45, Ankit Agarwal wrote:
>
> Might be, please file a JIRA with a minimal test case!
>
>
> As a first step I'm
Yes you should be able to import Foundation in REPL using the latest
toolchain on linux. FWIW I am getting same error you are from latest
toolchain:
root@4027f71e87ff:/swiftpm# swift -I .build/debug -L .build/debug -lResult
-I /usr/lib/clang/3.8/include
Welcome to Swift version 3.1-dev (LLVM c3e05
Hey,
There is no command called swift tools in the official Swift snapshots.
This sounds like a question for swiftenv project.
On Sun, Oct 1, 2017 at 10:28 AM, Muhammad Tahir Vali via swift-users <
swift-users@swift.org> wrote:
> Hello,
>
> I've updated to swift 4.0 and downloaded a CL tool swif
I am assuming by downloaded you meant Downloaded the zip from github.
Suppose you have all three downloaded side by side
some-dir
├── PlayingCard
├── FisherYates
└── DeckOfPlayingCards
since you downloaded as a zip and not cloned these directories will not be
under git version control anymore.
p
swift build is not included in swift 2.2, it'll be released with swift 3
You can grab the Trunk development (master) snapshots from
https://swift.org/download/#snapshots
On Wed, Apr 6, 2016 at 12:54 PM, Nikhil Pagidala via swift-users <
swift-users@swift.org> wrote:
> Hello All,
>
> I am unable t
13 matches
Mail list logo