Post

Replies

Boosts

Views

Activity

Reply to The Swift Programming Language Book
@BhumikaiOS the book is unavailable because the DocC format doesn't support an offline reading experience. Starting with Swift 5.8, the Swift project moved from reStructuredText to Apple’s own, now open-source, DocC documentation format. You can see the relevant RST to DocC conversion commit here, dated Aug 30, 2022. DocC only has a single preview format at the moment, a Vue single page app, which requires JavaScript to run. Hence, the last version available on Apple Books is Swift 5.7. Swift 5.7 was the last version built using the legacy repository. You can read more at the dedicated Github issue, which has been open for a few years now: https://github.com/swiftlang/swift-book/issues/2
3w
Reply to The Swift Programming Language Book
Quick update on the availability of the book on Apple Books You may find that the link to the Swift Programming Series in my previous post no longer works. Unfortunately, the book will no longer be available on Apple Books for unspecified legal reasons outside my control. If anyone has relevant contacts at Apple or Apple Books Partner Support, I’d be grateful for an introduction. I'm sorry to the more than 2,000 readers who got the book on Apple Books and are affected by this change. This was not the outcome I was hoping for. You can still download the EPUB file from the Swift Book Archive and open it with the Books app. The book will sync across your devices.
May ’26
Reply to The Swift Programming Language Book
As Quinn mentioned, I've been working on swift-book-pdf to create EPUB and PDF editions of The Swift Programming Book. I've brought the Swift Programming Series back to Apple Books, with optimized editions of The Swift Programming Language from Swift 5.8 onward. You can also download PDF and EPUB editions across Swift releases from the Swift Book Archive. Read more here: Swift Book PDF: The Swift Programming Language is back on Apple Books — plus PDF and EPUB archives (forums.swift.org). This project is not published by, endorsed by, or affiliated with Apple Inc. or the Swift.org open source project. See the Acknowledgments chapter in each edition for more details.
Apr ’26
Reply to SPM Failed to verified fingerprint for SSH url since Tahoe 26.3
You don't need to use the built-in SCM to resolve this issue. Instead, try adding the public key fingerprints to Xcode’s internal fingerprint store in com.apple.dt.Xcode.plist under IDESourceControlModernKnownSSHHostsDefaultsKey. You’ll need a different public key fingerprint for each remote repository service. For example, do the following to add Github's SSH key fingerprint: # Quit Xcode first $ defaults write com.apple.dt.Xcode IDESourceControlModernKnownSSHHostsDefaultsKey -dict \ github.com "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl" # Confirm the entry was added $ defaults read com.apple.dt.Xcode IDESourceControlModernKnownSSHHostsDefaultsKey { "github.com" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"; } IDESourceControlModernKnownSSHHostsDefaultsKey is stored as a dictionary in com.apple.dt.Xcode.plist. Entries are host -> string, where the string is an OpenSSH known-host style value (<algorithm> <base64-key>), e.g. ssh-ed25519 AAAA....
Feb ’26
Reply to The Swift Programming Language Book
@BhumikaiOS the book is unavailable because the DocC format doesn't support an offline reading experience. Starting with Swift 5.8, the Swift project moved from reStructuredText to Apple’s own, now open-source, DocC documentation format. You can see the relevant RST to DocC conversion commit here, dated Aug 30, 2022. DocC only has a single preview format at the moment, a Vue single page app, which requires JavaScript to run. Hence, the last version available on Apple Books is Swift 5.7. Swift 5.7 was the last version built using the legacy repository. You can read more at the dedicated Github issue, which has been open for a few years now: https://github.com/swiftlang/swift-book/issues/2
Replies
Boosts
Views
Activity
3w
Reply to The Swift Programming Language Book
Quick update on the availability of the book on Apple Books You may find that the link to the Swift Programming Series in my previous post no longer works. Unfortunately, the book will no longer be available on Apple Books for unspecified legal reasons outside my control. If anyone has relevant contacts at Apple or Apple Books Partner Support, I’d be grateful for an introduction. I'm sorry to the more than 2,000 readers who got the book on Apple Books and are affected by this change. This was not the outcome I was hoping for. You can still download the EPUB file from the Swift Book Archive and open it with the Books app. The book will sync across your devices.
Replies
Boosts
Views
Activity
May ’26
Reply to The Swift Programming Language Book
As Quinn mentioned, I've been working on swift-book-pdf to create EPUB and PDF editions of The Swift Programming Book. I've brought the Swift Programming Series back to Apple Books, with optimized editions of The Swift Programming Language from Swift 5.8 onward. You can also download PDF and EPUB editions across Swift releases from the Swift Book Archive. Read more here: Swift Book PDF: The Swift Programming Language is back on Apple Books — plus PDF and EPUB archives (forums.swift.org). This project is not published by, endorsed by, or affiliated with Apple Inc. or the Swift.org open source project. See the Acknowledgments chapter in each edition for more details.
Replies
Boosts
Views
Activity
Apr ’26
Reply to SPM Failed to verified fingerprint for SSH url since Tahoe 26.3
You don't need to use the built-in SCM to resolve this issue. Instead, try adding the public key fingerprints to Xcode’s internal fingerprint store in com.apple.dt.Xcode.plist under IDESourceControlModernKnownSSHHostsDefaultsKey. You’ll need a different public key fingerprint for each remote repository service. For example, do the following to add Github's SSH key fingerprint: # Quit Xcode first $ defaults write com.apple.dt.Xcode IDESourceControlModernKnownSSHHostsDefaultsKey -dict \ github.com "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl" # Confirm the entry was added $ defaults read com.apple.dt.Xcode IDESourceControlModernKnownSSHHostsDefaultsKey { "github.com" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"; } IDESourceControlModernKnownSSHHostsDefaultsKey is stored as a dictionary in com.apple.dt.Xcode.plist. Entries are host -> string, where the string is an OpenSSH known-host style value (<algorithm> <base64-key>), e.g. ssh-ed25519 AAAA....
Replies
Boosts
Views
Activity
Feb ’26