-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Any stable version for Swift 3? #4073
Comments
Add the submodules argument, like this:
|
As @steveatinfincia mentioned, you need to let CocoaPods know that Realm's Git repository uses submodules. This will let you build Realm Swift from our master branch. To answer the question in your title: we intend to make a release next week that includes support for both Swift 2.3 and Swift 3.0. Until that release we may make some small changes to our Swift 3 API to better fit with the changes to the Swift naming guidelines. |
This is what I get:
|
I've followed the steps adding bot pods with master branch and submodules and I get these errors:
Any idea on how to fix it?. When is the "real" version released? Monday? |
@puttin, you must explicitly specify both Realm and RealmSwift as dependencies when using a version of RealmSwift from Git. If you don't then CocoaPods will attempt to satisfy the Realm dependency with the most recent Realm release, which isn't necessarily compatible with RealmSwift from master: pod 'Realm', git: 'https://github.com/realm/realm-cocoa.git', branch: 'master', submodules: true
pod 'RealmSwift', git: 'https://github.com/realm/realm-cocoa.git', branch: 'master', submodules: true @bitomule, are you using the Xcode 8 GM seed build (8A218a)? We made changes on master to be compatible with it earlier this week, which quite likely broke support for the earlier beta versions of Xcode 8. If you're not using the GM seed, please update and try again. If you are using it, please file a new issue with more details about what you're doing to see this. |
@bdash It turns out my fault. I delete Xcode 8 beta 6 this morning but forget to update |
@bdash thanks! using GM worked. |
In order to get Swift 3 versions of
|
Hello , |
@arshadsk5, please don't comment on old, closed issues. File a new issue, or ask your question on Stack Overflow. |
Hello! Wondering about RealmSwift with support and the full power of Swift 3d generation, but:
I tried to use Pods with
pod 'RealmSwift', :git => 'https://github.com/realm/realm-cocoa.git', :branch => 'jp-xcode8-ci'
and failed on installing with output:
Realm version: Latest
Xcode version: 8.0 (8A218a)
iOS/ version: 9.1 +
Dependency manager + version: CocoaPods stable version
The text was updated successfully, but these errors were encountered: