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

Stored properties cannot be marked unavailable with '@available' #39

Open
AizatQisti opened this issue Oct 5, 2023 · 9 comments
Open

Comments

@AizatQisti
Copy link

have issue running on xcode 15 error "Stored properties cannot be marked unavailable with '@available' "

@BeauNouvelle
Copy link
Owner

Ah thanks for this. Will check it out for you!

@Abduladzhi
Copy link

Screenshot 2023-10-10 at 01 59 39

@triggs
Copy link

triggs commented Nov 8, 2023

I have the same issue, i've checked the latest code and that attribute is not there but it is in the files after running pod install.
(i don't really understand how cocoapods works under hood but just in case this helps)

on the main page of the repo it says the latest release is 2.5.0 and the podspec says 2.2.2 but when i check the podfile.lock after running pod install it says its 2.1.0
maybe there is a config issue with pod?

@BeauNouvelle
Copy link
Owner

Sorry about this. Looks like the pod file hasn't been updated. Will get onto it

@QaziAmmar
Copy link

facing the same issue updating the pod file as well.

@BeauNouvelle
Copy link
Owner

@QaziAmmar

Could you try again with 2.5.1?

It looks like I made the change some months ago, but pods didn't pick it up until I created a new tag.

@vit-azarov
Copy link

@BeauNouvelle
Hello! I just upgraded my xcode to 15.3 and also got the above error.
With pod 'SimpleCheckbox' in my pod file, 2.1.0 is being installed on pod update
If I specify a version with pod 'SimpleCheckbox', '~> 2.5.1' (as you mentioned above) i got this error on pod update:

[!] CocoaPods could not find compatible versions for pod "SimpleCheckbox":
In Podfile:
SimpleCheckbox (~> 2.5.1)

None of your spec sources contain a spec satisfying the dependency: SimpleCheckbox (~> 2.5.1).

You have either:

  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.

Can you please suggest what can be a solution here?

@BeauNouvelle
Copy link
Owner

BeauNouvelle commented Apr 8, 2024

Ah perhaps I need to push the update to the cocoa pods repo. Sorry, I've been off cocoa pods for years now. Is there any reason why you don't want to use SPM?

Not sure I have the time to maintain a cocoa pods supported version of this for what is essentially a few small files.

@vit-azarov
Copy link

No real reason, just a fact that we use Cocoapods for all dependencies in our project. I migrated to SPM today without any issues, since you are not supporting pods. All works good, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants