RxCoreLocation
RxCoreLocation copied to clipboard
'showsBackgroundLocationIndicator' is only available in iOS 11.0
i found error 'showsBackgroundLocationIndicator' is only available in iOS 11.0 inside RxKeyPaths.swift, how to solve this problem
Could you tell me which version do you use now?
Hi. Have same issue. Version 1.5.1. This issue appeared after Xcode 12.5 update
Same here.
For now I just modify:
@available(iOS 11.0, *) static let showsBackgroundLocationIndicator = #keyPath(CLLocationManager.showsBackgroundLocationIndicator)
and
@available(iOS 11.0, *) public var showsBackgroundLocationIndicator: Observable<Bool> {
Could you tell me which version do you use now?
version 1.5.1
Thanks @cahyofendhi
We are facing this too (version 1.5.0), but also only when switching from Xcode 12.4 (works fine) to Xcode 12.5 (shows the above mentioned failure) without any other changes to the project.
Any Updates @cahyofendhi
It appears that this issue has already been solved in Master, however there has not been a new release.
@bobgodwinx
Hello, Do you have a date to release a version with this fix?
Hello !
Is this issue going to be addressed ? or should we stop using RxCoreLocation, it's breaking our CI :(
+1
The fix is in master branch, but @bobgodwinx didn't make new tag yet
Hello @santieduardo do you think it will be pushed in the near future ?
I'm afraid to continue using this package if each time there is a critical issue, we need to wait a long time for it to be published.
@abouroubi I have no ideia. @bobgodwinx doesn't seem to be too concerned about the community, unfortunately. Each release takes an average of almost 6 months. This is absurd, in my view.
Look I am working on a very intensive time consuming app at the moment and if someone has the time for a fix and release the xcode 13.1 version I will approve it.. also if someone wants to take the ownership of the project I will give it to them.
Sorry guys for the delay.. My daily jib is currently taking up most time because of what we're building.. Alternative asap we finish xcode 13.1 integration I will have sometime to look into the framework
1.5.1 has the same problem in Xcode Version 13.2.1 (13C100)
RxCoreLocation.build/Release-iphoneos/RxCoreLocation-iOS.build/Objects-normal/arm64/RxKeyPaths.bc
/Users/shenyj/Documents/Code/MyProject/PPILibrary/Carthage/Checkouts/RxCoreLocation/Sources/RxKeyPaths.swift:17:78: error: 'showsBackgroundLocationIndicator' is only available in iOS 11.0 or newer
static let showsBackgroundLocationIndicator = #keyPath(CLLocationManager.showsBackgroundLocationIndicator)
^
/Users/shenyj/Documents/Code/MyProject/PPILibrary/Carthage/Checkouts/RxCoreLocation/Sources/RxKeyPaths.swift:17:16: note: add @available attribute to enclosing static property
static let showsBackgroundLocationIndicator = #keyPath(CLLocationManager.showsBackgroundLocationIndicator)
^
/Users/shenyj/Documents/Code/MyProject/PPILibrary/Carthage/Checkouts/RxCoreLocation/Sources/RxKeyPaths.swift:11:1: note: add @available attribute to enclosing extension
extension String {
^
** ARCHIVE FAILED **
If you don't want to wait for fix version in cocoa pods, use SPM for this library. Grad the source from master branch. ✅
Now, the minimum target version is upgrade to 11.0, it seems like @available attribute is unnecessary.