Basic functionality:
New features:
newCompiling target RealmSwift target on branch tg/xcode-10 with Xcode Version 10.0 beta (10L176w) and Swift 4+ results in the following build errors:

Building as Swift 4 now works for me, and all of our tests pass. We'll be making an unrelated release tomorrow, and then after that I'll work on merging the xcode 10 branch to master and looking into if there's any new things we can take advantage of.
@tgoyne How can we play around with your branch?
I'm trying to use it in my Podfile like so:
pod 'RealmSwift', :git => 'https://github.com/realm/realm-cocoa', :branch => 'tg/xcode-10', submodules: true
But I'm still getting compile time errors like Value of type 'RLMSyncConfiguration' has no member 'fullSynchronization', Cannot invoke initializer for type 'RLMSyncConfiguration' with an argument list of type '(user: SyncUser, realmURL: URL, isPartial: Bool, urlPrefix: String?, stopPolicy: RLMSyncStopPolicy, enableSSLValidation: Bool)', etc.
You need to explicitly add the Realm pod as well (with the branch specified) or it'll try to use the latest release.
@tgoyne I would also be interested in trying this out as this seems to be the only dependency not working in Xcode 10, I tried the above line but received other errors after recompiling. If you have a few mins would love a quick way to get this up and running? :)
@grangej ,as @tgoyne already told, you need "explicitly add the Realm pod as well", so two lines:
pod 'RealmSwift', :git => 'https://github.com/realm/realm-cocoa', :branch => 'tg/xcode-10', submodules: true
pod 'Realm', :git => 'https://github.com/realm/realm-cocoa', :branch => 'tg/xcode-10', submodules: true
@NeriusB That will teach me to read before coffee 鈽曪笍
Seems like the tg/xcode-10 branch has been merged into master, so I guess now we can just target master branch. https://github.com/realm/realm-cocoa/pull/5801
You should now be able to update to v3.7.1 and not have to do anything special.
Version 10.0 beta (10L176w) cannot build via carthage :(
Also having Carthage (0.30.1) trouble on 10.0 (10L221o) [beta 5] with 3.7.4 or 3.7.5 on CircleCI. Getting the kind of error in the other Xcode 10 issue. Oddly, using Cocoapods works fine.
I'm having trouble on XCode 10.0 beta 5 (10L221o) with 3.7.6 and Swift 4.2, I'm getting these errors and more.

Just sharing that I can't compile RealmSwift using Carthage 0.30.1 and today's Xcode 10 beta 6. Running carthage a second time (with no changes to any projects) compiles successfully.
is there a time frame Xcode 10 support? 馃檹
@LuAndreCast It is supported. But we could utilize some of the new features better.
@bmunkholm how can I start testing realm with Xcode 10? any docs available?
your help is greatly appreciated :)
@LuAndreCast Following our docs on the website (https://realm.io/docs/swift/latest/) should do. Otherwise let us know. It's outside the scope of this issue, which now tracks utilizing new features from XCode 10. So if you have trouble installing, our Forum or SO likely gives better responses. Thanks!
pod 'RealmSwift', :git => 'https://github.com/realm/realm-cocoa', :branch => 'tg/xcode-10', submodules: true
pod 'Realm', :git => 'https://github.com/realm/realm-cocoa', :branch => 'tg/xcode-10', submodules: true
I am using these lines but it give error in terminal that
[!] Error installing Realm
[!] Failed to download 'Realm'.
what should I do.
Thanks
Most helpful comment
@grangej ,as @tgoyne already told, you need "explicitly add the Realm pod as well", so two lines:
pod 'RealmSwift', :git => 'https://github.com/realm/realm-cocoa', :branch => 'tg/xcode-10', submodules: true
pod 'Realm', :git => 'https://github.com/realm/realm-cocoa', :branch => 'tg/xcode-10', submodules: true