XHMM / react-native-cloud-store

A react-native module for icloud drive
https://react-native-cloud-store.vercel.app/docs/install/with-crna
MIT License
68 stars 11 forks source link

xcode 14 error #1

Closed devops35 closed 2 years ago

devops35 commented 2 years ago

Hello, I am getting an error like this in xcode 14. How can I solve this?

Stored properties cannot be marked potentially unavailable with '@available'

XHMM commented 2 years ago

After having a search, seems this error happened on xcode14beta. As a workaround, you can build using xcode13 which is compatible with xcode14 as described here, and I will fix this when possible

XHMM commented 2 years ago

Hi, release of 0.5.0-beta has dropped @available usage, you can have a try with npm i react-native-cloud-store@0.5.0-beta and wait for your feedback, reopen if still in problem 🙂

thenakulgupta commented 2 years ago

Where to run this command: npm i react-native-cloud-store@0.5.0-beta?

XHMM commented 2 years ago

run it under you project root, you can alose check doc for details