Unable to build due to LoginView.swift
Closed this issue · 1 comments
Hello,
I followed the instructions on the readme and I'm running into a build issue.
RChat/RChat-iOS/RChat/Views/User Accounts & Profile/LoginView.swift
Lines 78 to 80 in 0b12b06
Is causing a an error that fails the build
Value of type 'Future<User, Error>' (aka 'Future<RLMUser, Error>') has no member 'id'
I've tried and failed to fix it. Any ideas? I'm new to swift and realm so I'm thinking it might just be a config issue on my end, but I can't find anything.
It also produces a warning:
No calls to throwing functions occur within 'try' expression
But I know this is how the Realm Documentation says to utilize the async login so I'm assuming this is fine.
Well, I seem to have found the solution. I updated from XCode 13.0 to 13.2.1 and now it builds just fine without errors or warnings.