You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SR-8259] Make PropertyListDecoder available on Linux #3665
Activity
swift-ci commentedon Oct 7, 2018
Comment by Sven A. Schmidt (JIRA)
I've come across this issue here trying to find a way to make `PropertyListDecoder` available on Linux.
It turns out that given your pointer above this was quite easy. I took the file you linked to and added
```
import Foundation
extension DecodingError {
}
let kCFBooleanTrue = NSNumber(booleanLiteral: true)
let kCFBooleanFalse = NSNumber(booleanLiteral: false)
```
to fix a couple of missing declarations. This builds and runs fine on Linux with swift-4.2 (and probably earlier, I didn't test).
So I suppose that proves that this should be straightforward to add 🙂
I'd be happy to put in some time to open an MR for this but not having build swift or the stdlib I'm not really sure where to start.
kevints commentedon Nov 15, 2018
@millenomi it looks like the implementation for this is already in the overlay, could we copy it into s-c-f?
swift-ci commentedon Jan 19, 2019
Comment by Yonas (JIRA)
Is there an update on this?
swift-ci commentedon May 13, 2019
Comment by Ondrej Rafaj (JIRA)
hi, any update please? 🙁
spevans commentedon Jun 4, 2020
PropertyListEncoder/Decoder were added in #1849