Re: [swift-users] Unable to start Swift REPL

2017-08-30 Thread Pierre Thibault via swift-users
I choose Xcode 8.3.3 (8E3004b) in the Command Line Tools menu and Xcode asked for a password to install something. Now the command line swift is working. Thank you David! 2017-08-30 15:19 GMT-04:00 St John, David R : > If you installed Xcode and the command line tools, check > Preferences->Locat

Re: [swift-users] Unable to start Swift REPL

2017-08-30 Thread Pierre Thibault via swift-users
I started xcode after the installation and it said that I needed some tools to be installed. So I let xcode install its stuff. After that, I reinstalled swift-3.1.1-RELEASE-osx.pkg and swift-3.1.1-RELEASE-osx-symbols.pkg but I still have the same problem. 2017-08-30 15:08 GMT-04:00 St John, David

Re: [swift-users] Unable to start Swift REPL

2017-08-30 Thread Pierre Thibault via swift-users
REPL for /usr/bin/swift is working but all lots of message about debug info when I start it: warning: Swift error in module repl_swift. Debug info from this module will be unavailable in the debugger. warning: Swift error in module dyld. Debug info from this module will be unavailable in the debu

Re: [swift-users] Still can't derive from a generic class

2017-08-30 Thread Joanna Carter via swift-users
Hi Kenny > Just curious, and because I have a distinct lack of imagination: can you > share a concrete case of this pattern? class BaseObject { private let properties: [PartialKeyPath : AnyProperty] init(properties: [PartialKeyPath : AnyProperty]) { self.properties = properties }

[swift-users] Unable to start Swift REPL

2017-08-30 Thread Pierre Thibault via swift-users
Hello, I am new to Swift. I just installed it. I installed swift-3.1.1-RELEASE-osx.pkg then swift-3.1.1-RELEASE-osx-symbols.pkg. I added this line in ~/.bashrc: export PATH=/Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin:"${PATH}" Then when I start swift in my terminal. I have t

Re: [swift-users] Still can't derive from a generic class

2017-08-30 Thread Kenny Leung via swift-users
Just curious, and because I have a distinct lack of imagination: can you share a concrete case of this pattern? Thanks! -Kenny > On Aug 29, 2017, at 10:04 AM, Joanna Carter via swift-users > wrote: > > Hi > > I would have hoped by now that it should be possible to do : > > class BaseObjec

Re: [swift-users] Still can't derive from a generic class

2017-08-30 Thread Kenny Leung via swift-users
Just curious, and because I have a distinct lack of imagination: can you share a concrete case of this pattern? Thanks! -Kenny > On Aug 29, 2017, at 10:04 AM, Joanna Carter via swift-users > wrote: > > Hi > > I would have hoped by now that it should be possible to do : > > class BaseObjec

[swift-users] Broken Syntax Highlighting + Code Completion

2017-08-30 Thread David Hart via swift-users
Hi everybody, I have a 99% pure Swift 4 project (1% of Objective-C) in Xcode 9 beta 6 and the syntax highlighting and code completion is completely broken. I’m writing here in case it’s a Swift problem and unrelated to Xcode. Jordan Rose suggested I run Xcode with SOURCEKIT_LOGGING=2 and here a

Re: [swift-users] SwiftPM on Linux Failed

2017-08-30 Thread adelzhang via swift-users
It seems like the only way is upgrading to Ubuntu 16.04 for now? 在 Wed, 30 Aug 2017 18:09:53 +0800,Ankit Aggarwal 写道: Thanks for the detailed info. I was able to reproduce this. There seems to be some problem with importing modules without their swiftdoc in Ubuntu 14.04. I've filed https

Re: [swift-users] SwiftPM on Linux Failed

2017-08-30 Thread Ankit Aggarwal via swift-users
Thanks for the detailed info. I was able to reproduce this. There seems to be some problem with importing modules without their swiftdoc in Ubuntu 14.04. I've filed https://bugs.swift.org/browse/SR-5800 > On 30-Aug-2017, at 1:26 PM, adelzh...@qq.com wrote: > > export SWIFT_HOME=/opt/swift/4.0-d

Re: [swift-users] SwiftPM on Linux Failed

2017-08-30 Thread adelzhang via swift-users
Hi, `swift build -v` output: lsb_release -r clang --version which clang /opt/swift/4.0-dev/usr/bin/swiftc --driver-mode=swift -L /opt/swift/4.0-dev/usr/lib/swift/pm/4 -lPackageDescription -swift-version 4 -I /opt/swift/4.0-dev/usr/lib/swift/pm/4 -sdk / /home/vagrant/hello/Package.swift -fi