-
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
Xcode 12.5 beta - Swift Compiler Error for RealmSwift module #7083
Comments
Hey, this issue seems legitimate. We'll get to it shortly. |
@jsflax any update? |
I am having the same issue. |
Same issue here. When will this be fixed and available? |
I'm having this issue. XCode 12.5 Beta, application build. "Identifiable' is only available in application extensions for iOS 13 or newer" on on the following line in Combine.swift.
|
This was fixed in 10.5.2. |
Thanks, I copied the Realm Cocoapods example too literally, didn't notice it was set to '=10.1.4' |
I've started assembling a v5.5.1 release that'll include this. |
Awesome thx 🙏 |
Any update on v5.5.1? |
It was released a month ago. |
Oh, thanks for the quick reply. I didn't see v5.5.1 in the release notes and my cocoa pods weren't finding it using ~> '5.5.1'. I ended up using pod 'RealmSwift', '5.5.1' and it worked. Thanks again. |
Xcode 12.5 binaries has been added to the release-v10.7.4 package. |
Thanks |
I have a similar issue, when build Realm(10.10.0) on Xcode 13 BETA3, Xcode error shows 'AnyCancellable', 'Publisher', 'CAncellable' is only available in iOS 13.0 or newer, but the error only occurs on the device under iOS 12. |
Hi @yves8833 are you using Cocoapods or SPM to install Realm? |
Hi @dianaafanador3 i use cocoapods (v1.10.1) |
It's working fine on my part on Xcode 13 (Beta 4), Realm(v10.10.0) Cocoapods (v1.10.0), Device (Simulator iOS 11.4) |
Thanks i will try it. |
@zohairhadi was you able to solve the issue? |
@vicmosin @zohairhadi - I'm having the same issue. Any help here would be great. |
It seems to work for me after changing the iOS Deployment Target of RealmSwift pod to 12.0 and do a |
@alissone so what version did RealmSwift jump to? If it jumped to their latest version, they stated in their release that they fixed this issue. I suppose a simple Furthermore, what is support for iOS 11 is needed? |
It seems like I fixed the issue by just bumping the RealmSwift to the latest version ( |
Yes, updated to 10.21 works now. Thanks |
Goals
Build Realm on Xcode 12.5 beta
Expected Results
To be able to build project
Actual Results
Got a Swift Compiler Error for the RealmSwift module in Combine.swift
with the error being that 'Identifiable' is only available in iOS 13 or newer.
Steps for others to Reproduce
Add Realm and RealmSwift modules via SPM in Xcode 12.5 beta
Build project
Version of Realm and Tooling
Realm framework version: 10.5.1
Realm Object Server version: ?
Xcode version: 12.5 beta
iOS/OSX version: macOS 11.2
Dependency manager + version: SPM (also tried with same error with Cocoapods)
The text was updated successfully, but these errors were encountered: