almassapargali / LocationPicker

iOS location picker view controller
MIT License
242 stars 84 forks source link

@available no longer allowed in LocationPickerViewController #79

Closed Oggerschummer closed 2 years ago

Oggerschummer commented 2 years ago

With the latest xCode / iOS beta this

  @available(iOS 13.0, *)
    public lazy var searchTextFieldColor: UIColor = .clear

causes a compile error: Stored properties cannot be marked potentially unavailable with '@available' in LocationPickerViewController.

Oggerschummer commented 2 years ago

With latest Xcode and iOS 16 this no longer compiles. Could we please remove it ?

Oggerschummer commented 2 years ago

Solved by latest pull request merge

kalmicka commented 2 years ago

Did you guys bum up the SPM version to something higher than 1.4.3? When I pull the SPM package I still see the error even having reset package cache. Any idea on what to do?

weakfl commented 2 years ago

Switch to master branch. Unfortunately I don't have time to publish new releases tbh. SPM wouldn't be a problem, but I don't use cocoapods anymore and a proper release would require updates to both.

RajChanchal commented 1 year ago

master branch doesn't solve the issue as well.

Fayis2021 commented 5 months ago

@RajChanchal Are you able to solve the issue?

Fayis2021 commented 5 months ago

Switch to master branch. Unfortunately I don't have time to publish new releases tbh. SPM wouldn't be a problem, but I don't use cocoapods anymore and a proper release would require updates to both.

@weakfl the error still exist . am using Xcode 15.3 , any help?