Re: [swift-users] Swift to Javascript

2016-06-21 Thread Austin Zheng via swift-users
The great thing about Swift being open-source is that anyone can help make it a better language! Here's a good starting point: https://kripken.github.io/emscripten-site/index.html Best, Austin > On Jun 21, 2016, at 9:44 PM, Mr Bee via

[swift-users] Swift to Javascript

2016-06-21 Thread Mr Bee via swift-users
Hi all,  I wish I will be able write web app using Swift instead of JavaScript. It would be wonderfull if we could develop desktop app, mobile app, server-side app, and  web app, all using Swift. It will be complete. Is it possible that someday in the future we would be able to compile Swift

Re: [swift-users] Swift 3 preview 1 in Xcode 8 and Lowercase enum cases

2016-06-21 Thread zh ao via swift-users
e ​num should be case-sensitive. If you find it otherwise, you should file a bug. Zhaoxin On Wed, Jun 22, 2016 at 5:48 AM, Stéphane Lizeray wrote: > Hello, > > The following enum > > enum X { > > case A_B > > > } > > is translated to: > > enum X { > > case a_b > > > } >

[swift-users] Swift 3 preview 1 in Xcode 8 and Lowercase enum cases

2016-06-21 Thread Stéphane Lizeray via swift-users
Hello, The following enum enum X { case A_B } is translated to: enum X { case a_b } which is fine. But: enum X { case AXX_BYY } is migrated to: enum X { case axx_BYY } Shouldn’t it be rather: enum X {

Re: [swift-users] New Swift Snapshots Available!

2016-06-21 Thread Mishal Shah via swift-users
Thanks Charles! I have created Jira issue to track this bug. https://bugs.swift.org/browse/SR-1853 Mishal Shah > On Jun 21, 2016, at 10:46 AM, Charles Lane via swift-users > wrote: > > This is a little snippet of the error : > > :0: error: invalid version number in

Re: [swift-users] New Swift Snapshots Available!

2016-06-21 Thread Charles Lane via swift-users
This is a little snippet of the error : :0: error: invalid version number in '-miphoneos-version-min=10.0.0' Assertion failed: (Maj < 10 && Min < 100 && Rev < 100 && "Invalid version!"), function getDarwinDefines, file

Re: [swift-users] New Swift Snapshots Available!

2016-06-21 Thread Charles Lane via swift-users
I simply created a new single-view project targeting ios 10. I got the error immediately. > Can you reduce the problem to a small test case? Please file a bug report > onbugs.swift.org(http://bugs.swift.org)for this, and include information on > the last toolchain which worked. > > - Daniel

Re: [swift-users] New Swift Snapshots Available!

2016-06-21 Thread Jordan Rose via swift-users
Are you using Xcode 7.3? The new toolchains only support Xcode 8 (because of SDK requirements and issues with Xcode 7's Clang). Jordan > On Jun 21, 2016, at 10:17, Daniel Dunbar via swift-users > wrote: > > Can you reduce the problem to a small test case? Please file

Re: [swift-users] New Swift Snapshots Available!

2016-06-21 Thread Daniel Dunbar via swift-users
Can you reduce the problem to a small test case? Please file a bug report on bugs.swift.org for this, and include information on the last toolchain which worked. - Daniel > On Jun 21, 2016, at 5:16 AM, Charles Lane via swift-users > wrote: >

[swift-users] New Swift Snapshots Available!

2016-06-21 Thread Charles Lane via swift-users
I’m running macOS Sierra. When I set ios 10 as the deployment target, I get an error: Command failed due to signal: Illegal instruction: 4 It seems to build ok when using 9.3 or below as the build target. ___ swift-users mailing list

Re: [swift-users] New Swift Snapshots Available!

2016-06-21 Thread Bouke Haarsma via swift-users
Should it work with El Capitan? I'm getting the following error: swift :0: error: Swift does not support the SDK 'MacOSX10.11.sdk' On 2016-06-21 01:27:39 +, Mishal Shah via swift-users said: New Swift Snapshots Available! Download new packages from