SwiftKVC icon indicating copy to clipboard operation
SwiftKVC copied to clipboard

Reflection.ReflectionError with iOS 12 and the new Xcode beta

Open armintelker opened this issue 6 years ago • 0 comments

Hey when I try to use your library with the new Xcode 10 beta 2 and iOS 12 beta I have following issue:

protocol ITranslation: Value {
    var example: String { get }
}
class TranslationBase: ITranslation {
    var example = "example"
}

let key = "example"
do {
    if let translationString = try translations.get(key: key) as? String {
          print(translationString)
    }

} catch let error {
    print(error) // Reflection.ReflectionError unexpected
}

Do you have an idea how to solve this issue?

armintelker avatar Jun 28 '18 14:06 armintelker