As the number of platforms supported by Swift grows, users of Swift benefit from having a clear understanding of what tools and capabilities are available on specific platforms for the development and deployment of Swift applications. We are thus excited to announce a new section on Swift.org — aptly titled platform support — that acts as a central hub for this information.
The support for different platforms comes from different contributors to the Swift open source project. For each platform, there is a designated “platform owner” who serve as the primary point of contact for individual platforms. These stewardship roles will enable users and contributors to understand the level of support for each platform and make an informed decision when using Swift on that platform. Furthermore, documentation for each platform will be available for users on Swift.org .
Information on both the currently supported platforms, and their platform owners and documentation, are available in the new platform support section!
32 Likes
Thank you for creating this!
I think watchOS and tvOS minimum versions are swapped ( 9 <=> 2 ).
Thanks @CFUsername , updated the version.
1 Like
Nevin
December 2, 2020, 11:55pm
4
Minor grammar issue, this sentence does not parse meaningfully:
There are the platforms one can use Swift’s development tools.
1 Like
@mishal_shah There are two broken auto-links:
Platform owners have sections on forums.swift.org
Apple will then re-sign the toolchain under swift.org
Thanks @benrimmington , updated.
1 Like
svanimpe
(Steven Van Impe)
December 3, 2020, 7:38am
8
@mishal_shah Can you remove the checkmarks for the REPL next to Ubuntu and Windows (and likely CentOS too)?
I use these platforms natively and the REPL does not work there:
opened 06:21PM - 16 Jun 20 UTC
closed 05:27PM - 22 Dec 21 UTC
bug
| | |
|------------------|-----------------|…
|Previous ID | SR-13029 |
|Radar | None |
|Original Reporter | svanimpe (JIRA User) |
|Type | Bug |
|Status | Resolved |
|Resolution | Duplicate |
<details>
<summary>Additional Detail from JIRA</summary>
| | |
|------------------|-----------------|
|Votes | 3 |
|Component/s | |
|Labels | Bug |
|Assignee | @augusto2112 |
|Priority | Medium |
md5: c40c0171d84905e9b227405af99a2319
</details>
**Issue Description:**
Try the following with Swift 5.2.4 on Ubuntu 20.04:
``` java
var x: Int
var y: Int
```
The second colon doesn't show for me. It's there, it's just not rendered.
This issue exists with other colons as well and it's really confusing, especially when using the REPL for teaching purposes.
opened 08:02PM - 21 Nov 20 UTC
closed 05:29PM - 22 Dec 21 UTC
bug
| | |
|------------------|-----------------|…
|Previous ID | SR-13885 |
|Radar | None |
|Original Reporter | Andreas (JIRA User) |
|Type | Bug |
|Status | Resolved |
|Resolution | Duplicate |
<details>
<summary>Environment</summary>
Ubuntu 20.10
Swift 5.3.1 (signature verified)
</details>
<details>
<summary>Additional Detail from JIRA</summary>
| | |
|------------------|-----------------|
|Votes | 3 |
|Component/s | |
|Labels | Bug |
|Assignee | @augusto2112 |
|Priority | Medium |
md5: 362c7e17337d3a8d0dd9a575948a9d5d
</details>
**Issue Description:**
On the second line of the REPL, after typing e.g. `import Foundation` on line 1, my {{}}} characters are not visible when typed (but they're still there), my backspace edits are not visible (characters are still visible, but not really there), and moving the caret with arrow keys and inserting characters in the middle of the line has no visible effect except moving the caret forwards.
- All edits become visible after evaluating the line.
- The symptoms are not present on line 1.
According to the autor of [this bug](https://bugs.swift.org/browse/SR-13029) the symptoms are the same, but it appears I'm triggering it no matter what I type on line 1.
Forum thread: <https://forums.swift.org/t/repl-characters-dont-show-up-backspace-doesnt-remove-them-inserted-text-not-visible/42206/>
opened 09:41AM - 02 Nov 20 UTC
closed 06:10PM - 29 Nov 21 UTC
bug
LLDB for Swift
Windows
| | |
|------------------|-----------------|…
|Previous ID | SR-13804 |
|Radar | None |
|Original Reporter | svanimpe (JIRA User) |
|Type | Bug |
|Status | Resolved |
|Resolution | Duplicate |
<details>
<summary>Environment</summary>
29/10 snapshot on Windows.
</details>
<details>
<summary>Additional Detail from JIRA</summary>
| | |
|------------------|-----------------|
|Votes | 3 |
|Component/s | LLDB for Swift |
|Labels | Bug, Windows |
|Assignee | @compnerd |
|Priority | Medium |
md5: b392d0f7e4ff7f83113cf198247d86c1
</details>
**duplicates**:
* [SR-13591](https://bugs.swift.org/browse/SR-13591) REPL is not working on swift-5.3-RELEASE (Windows)
**is duplicated by**:
* [SR-13805](https://bugs.swift.org/browse/SR-13805) Running source files with REPL not working on Windows
**Issue Description:**
With the 29/10 snapshot and these commands:
``` java
path %ProgramFiles(x86)%\Microsoft Visual Studio\Shared\Python37_64;%PATH%
set SWIFTFLAGS=-sdk %SDKROOT% -I %SDKROOT%/usr/lib/swift -L SDKROOT%/usr/lib/swift/windows
swift repl -target x86_64-unknown-windows-msvc %SWIFTFLAGS%
```
I can start the REPL, but it crashes as soon as I evaluate an expression:
Welcome to compnerd.org Swift version 5.3-dev (LLVM 6df6611ced20c9f, Swift 142b7267089e96d).
Type :help for assistance.
1> 1+1
Assertion failed: false && "called into swift language runtime stub", file D:\a\1\s\llvm-project\lldb\source\Target\SwiftLanguageRuntime.cpp, line 301
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
error: reproducer finalization failed: unable to load reproducer index
#​0 0x00007ff7e2eed735 (C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\lldb.exe+0x1d735)
#​1 0x00007ffacea9caad (C:\WINDOWS\System32\ucrtbase.dll+0x6caad)
#​2 0x00007ffacea9dab1 (C:\WINDOWS\System32\ucrtbase.dll+0x6dab1)
#​3 0x00007ffacea9f4ee (C:\WINDOWS\System32\ucrtbase.dll+0x6f4ee)
#​4 0x00007ffacea9f3e5 (C:\WINDOWS\System32\ucrtbase.dll+0x6f3e5)
#​5 0x00007ffacea9f771 (C:\WINDOWS\System32\ucrtbase.dll+0x6f771)
#​6 0x00007ffa765432fc PyInit__lldb (C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\liblldb.dll+0x6732fc)
#​7 0x00007ffa7ae2e5c4 PyInit__lldb (C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\liblldb.dll+0x4f5e5c4)
#​8 0x00007ffa7ae33fa6 PyInit__lldb (C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\liblldb.dll+0x4f63fa6)
#​9 0x00007ffa7ae31776 PyInit__lldb (C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\liblldb.dll+0x4f61776)
#​10 0x00007ffa7ae2be44 PyInit__lldb (C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\liblldb.dll+0x4f5be44)
#​11 0x00007ffa763ef857 PyInit__lldb (C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\liblldb.dll+0x51f857)
#​12 0x00007ffa763fdce7 PyInit__lldb (C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\liblldb.dll+0x52dce7)
#​13 0x00007ffa763ca3ac PyInit__lldb (C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\liblldb.dll+0x4fa3ac)
#​14 0x00007ffa7637a6e9 PyInit__lldb (C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\liblldb.dll+0x4aa6e9)
#​15 0x00007ffa7637931e PyInit__lldb (C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin\liblldb.dll+0x4a931e)
#​16 0x00007ffacea510b2 (C:\WINDOWS\System32\ucrtbase.dll+0x210b2)
#​17 0x00007ffad0397c24 (C:\WINDOWS\System32\KERNEL32.DLL+0x17c24)
#​18 0x00007ffad0c8cea1 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x6cea1)
1 Like
yonihemi
(Hemi)
December 3, 2020, 1:06pm
9
Thanks @mishal_shah , very exciting development!
We'll be looking at getting the WebAssembly platform ready for the Deployment-only category. Guessing we'll need to stretch the meaning of Every platform is expected to have core runtime, Standard Library support, and core libraries
a bit . SPM is working fairly well, but debugger and REPL are still a ways to go.
I'd be really interested how Android is treated in this regard. It's obviously been usable for a long while now but seems important pieces are still missing.
3 Likes
cc: @tomerd for Ubuntu/CentOS REPL issues
cc: @compnerd for Windows REPL issues
The new Platform Support page has sidebar items (Installing Swift, Using the REPL, Using the Package Manager, Using the LLDB Debugger) which are intended for the Getting Started page.
There's also a Platform Support section on the About Swift page. Should that section be updated or removed?