Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build warnings in Realm 0.95 #2448

Closed
lionpants opened this issue Aug 26, 2015 · 1 comment
Closed

Build warnings in Realm 0.95 #2448

lionpants opened this issue Aug 26, 2015 · 1 comment
Assignees

Comments

@lionpants
Copy link

Just updated to Realm 0.95 and am receiving the following build warnings...

../RealmSwift/RealmConfiguration.swift:135:45: Forced cast from 'Object.Type' to 'AnyClass' always succeeds; did you mean to use 'as'?

../RealmSwift/Migration.swift:73:58: 'defaultPath' was deprecated in * version 1: Use Configuration.defaultConfiguration

../RealmSwift/Realm.swift:636:93: 'defaultPath' was deprecated in * version 1: Use Configuration.defaultConfiguration

A bit ironic. :P

Thanks for fixing the analyzer warning in 0.64. :)

@jpsim jpsim self-assigned this Aug 26, 2015
@jpsim
Copy link
Contributor

jpsim commented Aug 26, 2015

Thanks for reporting this issue, @lionpants! The first warning is fixed in master (see https://github.com/realm/realm-cocoa/blob/35575f1dc3713a2f86f5399953cf645ebc850777/RealmSwift-swift1.2/RealmConfiguration.swift#L135). As for the deprecation warnings, those will be addressed once Realm entirely moves from the old path methods to the new configuration methods, which we intend to do for our next major release.

@jpsim jpsim closed this as completed Aug 26, 2015
@segiddins segiddins reopened this Aug 26, 2015
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants