-
Notifications
You must be signed in to change notification settings - Fork 47
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
Swift 4.0.3 compilation errors #18
Comments
@liuxuan30 I know you're busy, but would you have time to make sure it runs fine to release with Charts 3.1? If not, I will take care of it immediately after we release Charts 3.1 (first week of February) |
It does compile with swift 4.0.3, if you build yourself, or from carthage, but it does not work with pod. The sole problem is that, Realm 3.1.0 saying its prebuilt framework supports 4.0.3, while it's not. So you have to use source code to build:
|
Current carthage file use master branch to build from scratch, which takes a long time. So it's up to you. You can learn when prebuilt 4.0.3 framework came out here: realm/realm-swift#5538 BTW, @alexandru-crossover are you using Realm or RealmSwift? I don't think RealmSwift works fine with ChartRealm, from my PR: #17 |
@liuxuan30 We are using CocoaPods and RealmSwift. We did not encounter any issues related to RealmSwift so far. I'm not sure how RealmSwift is involved here. That compiles successfully right now. Are you saying that we first need a new version of RealmSwift and only then we'll have a new version of ChartsRealm? |
OK so two things:
|
There are no such errors for RealmSwift. |
ok, thanks. |
@liuxuan30 Yes, that works on the master branch, which was fixed here, but not with the latest CocoaPods version, 3.0.4, which does not contain that fix. For now, as a workaround, we reverted to 3.0.3, which compiles successfully on Swift 4.0.3 |
I see so you use pod here. I tried to push to pod, however always compile issues, while carthage works fine. I'm no pod expert, you can try make a PR to fix it and I could merge. Or wait Realm release a prebuilt framework for 4.0.3, and I can try with pod again. |
pod has been bumped to 3.0.5 with latest Xcode fashion. |
Hi,
The latest version, 3.0.4, does not compile when using Swift 4.0.3. I see that the compilation errors have already been fixed here, but they have not been released yet. Are there any plans for a 3.0.5 version that will include those fixes?
The text was updated successfully, but these errors were encountered: