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

'showsBackgroundLocationIndicator' is only available in iOS 11.0 #47

Open
cahyofendhi opened this issue May 10, 2021 · 19 comments
Open

Comments

@cahyofendhi
Copy link

i found error 'showsBackgroundLocationIndicator' is only available in iOS 11.0 inside RxKeyPaths.swift, how to solve this problem

@newoo
Copy link
Member

newoo commented May 10, 2021

Could you tell me which version do you use now?

@goncharik
Copy link

Hi. Have same issue. Version 1.5.1. This issue appeared after Xcode 12.5 update

@DavidFerreria
Copy link

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> {

@cahyofendhi
Copy link
Author

cahyofendhi commented May 18, 2021

Could you tell me which version do you use now?

version 1.5.1

@newoo
Copy link
Member

newoo commented May 19, 2021

Thanks @cahyofendhi

@pschneider
Copy link

pschneider commented May 19, 2021

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.

@ValeriyJefimov
Copy link

Any Updates @cahyofendhi

@om55
Copy link

om55 commented May 30, 2021

It appears that this issue has already been solved in Master, however there has not been a new release.

@om55
Copy link

om55 commented May 30, 2021

@bobgodwinx

@bfaganello
Copy link

Hello,
Do you have a date to release a version with this fix?

@abouroubi
Copy link

Hello !

Is this issue going to be addressed ? or should we stop using RxCoreLocation, it's breaking our CI :(

bobgodwinx pushed a commit that referenced this issue Oct 1, 2021
@norbdev
Copy link

norbdev commented Oct 8, 2021

+1

@santieduardo
Copy link

The fix is in master branch, but @bobgodwinx didn't make new tag yet

@abouroubi
Copy link

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.

@santieduardo
Copy link

@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.

@bobgodwinx
Copy link
Member

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

@ShenYj
Copy link
Member

ShenYj commented Jan 8, 2022

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 **

@mixdesign
Copy link

If you don't want to wait for fix version in cocoa pods, use SPM for this library. Grad the source from master branch. ✅

@ShenYj
Copy link
Member

ShenYj commented Mar 26, 2022

Now, the minimum target version is upgrade to 11.0, it seems like @available attribute is unnecessary.

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