Skip to content

Reflection.ReflectionError with iOS 12 and the new Xcode beta #10

@armintelker

Description

@armintelker

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions