Re: [swift-users] Swift is building from source, failing tests.

2015-12-11 Thread Mish Awadah via swift-users
You have a problem with Cmark, not swift. I think you probably have a configuration issue, or are missing some dev library. If you search the archives of swift-users, someone else had a cmark problem too, and the solution provided might help you. I would also recommend ensuring you have instal

Re: [swift-users] How to deploy swift app without a Mac

2015-12-10 Thread Mish Awadah via swift-users
No, you need Xcode to deploy to an iOS device. - mish > On Dec 10, 2015, at 2:23 PM, Andy via swift-users > wrote: > > I use Ubuntu to develop Swift apps. How can I test it? Can i deploy it to my > iphone to test without a Mac? > > Thanks > > >

Re: [swift-users] How to print formated "%.9f" Double? Swift 2.2 ?

2015-12-10 Thread Mish Awadah via swift-users
> On Dec 10, 2015, at 1:50 PM, Harlan Haskins via swift-users > wrote: > > I’m not sure what happened to String(format:), but I haven’t been able to get > it to work either. > It’s printing its argument as a tuple. I believe that String(format:) is implemented differently on Linux due to lack

Re: [swift-users] Is there a way to @NoInline a func or method?

2015-12-10 Thread Mish Awadah via swift-users
Maybe I don’t understand the depth of your question, but a cursory Google search turns up this: http://stackoverflow.com/questions/27881051/is-there-a-way-in-swift-to-declare-an-inline-function - mish > On Dec 10, 2015, at 8:23 AM, Karl Pickett via swift-users > wrote: > > Two use cases: >

Re: [swift-users] Emacs swift completion support using sourcekit...

2015-12-09 Thread Mish Awadah via swift-users
Is this project keeping up to date with OSS Swift? For Linux, step 1 is to get SourceKit working on Linux. - mish > On Dec 9, 2015, at 4:37 PM, Perry E. Metzger via swift-users > wrote: > > For those working on Linux, this might be a good option, especially > if more hands pitch in: > > htt

Re: [swift-users] XCTest on Linux

2015-12-07 Thread Mish Awadah via swift-users
Don’t use “swift” unless you want to run the REPL. Here’s how you should build a package that runs tests: local@ubuntu:~/Documents$ mkdir XTest local@ubuntu:~/Documents$ cd XTest/ local@ubuntu:~/Documents/XTest$ touch Package.swift local@ubuntu:~/Documents/XTest$ emacs -nw main.swift local@ubunt

Re: [swift-users] Confusing doc re: metatype type, also doesn't compile on linux

2015-12-07 Thread Mish Awadah via swift-users
Could you please file a bug mentioning where the code example was taken from? Thanks, - mish > On Dec 7, 2015, at 5:11 PM, Karl Pickett via swift-users > wrote: > > This code example: > > if someInstance.dynamicType === someInstance.self { > print("The dynamic and static type of someInst

Re: [swift-users] Build swift from the source

2015-12-07 Thread Mish Awadah via swift-users
> On Dec 7, 2015, at 11:26 AM, inbox only via swift-users > wrote: > > I have a 2 questions: > 1. How do I build swift from the source ? The answer to this is in the README (https://github.com/apple/swift) > 2. How do I do the path thingie so I can run executable from the terminal > using ju

Re: [swift-users] Issue while debugging code built by swift package manager

2015-12-07 Thread Mish Awadah via swift-users
Please file a bug and include all the steps you used to reproduce this, as well as the project you used. Thanks! - mish > On Dec 5, 2015, at 10:55 AM, Ankit Agarwal wrote: > > I am able to set breakpoints in lldb but always getting module errors > whenever trying to print anything. > SampleUs