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

Installing as a SwiftPackage fails #21

Closed
JARMourato opened this issue Jan 30, 2020 · 6 comments
Closed

Installing as a SwiftPackage fails #21

JARMourato opened this issue Jan 30, 2020 · 6 comments

Comments

@JARMourato
Copy link

Tried Installing by adding this line:
.package(url: "https://github.com/arturdev/Unrealm", from: "1.0.1")

or this (since the line above does not use the latest version that includes Realm 4.3.0)

.package(url: "https://github.com/arturdev/Unrealm", .branch("master"))

image

@arturdev
Copy link
Owner

Can you please try from tag v0.2.5?

@JARMourato
Copy link
Author

using that tag works @arturdev - but then I'll be using an outdated version

@arturdev
Copy link
Owner

I will update SPM in a few hours.. stay tuned

@arturdev
Copy link
Owner

arturdev commented Jan 30, 2020

Please try again. I released a new version with RealmSwift 4.3.1 support: 1.0.2

@JARMourato
Copy link
Author

I tried 1.0.2 and I still got the error from the image above when building.

@arturdev
Copy link
Owner

Found the reason.. The thing is that SPM currently doesn't support importing Swift package target into ObjC package target.
So if you want to use Unrealm with RealmSwift's latest version, you should install it by cocoapods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants