If the following Node.js code is used to create and populate a realm, then the Realm Browser 3.0.1 (98) is used to save the model definitions to Swift, rather than exporting a list (e.g., let values = List()), it produces an error "Error! 'Any' properties are unsupported in Swift."
import Foundation
import RealmSwift
class SchemaTestElement: Object {
dynamic var value = 0
}
class SchemaTestReadOnly: Object {
/* Error! 'Any' properties are unsupported in Swift. */
}
That's a bug. It has been fixed in the upcoming release of Realm Studio that will be released soon.
In the meantime, you will have to fix it manually in the model.
If the following Node.js code is used to create and populate a realm, then the Realm Browser 3.0.1 (98) is used to save the model definitions to Swift, rather than exporting a list (e.g., let values = List()), it produces an error "Error! 'Any' properties are unsupported in Swift."