-
Notifications
You must be signed in to change notification settings - Fork 472
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
XCode 14 Build error: Stored properties cannot be marked potentially unavailable with '@available' #705
Comments
how to overcome this issue in xcode 14 ios 16. |
@available(iOS 13.0, *) change it to this |
Update: This too is not workingNoteThe bug was fixed in version 4.3.4 and this solution forces installation of that version. SolutionIf you have podfile you could add this to top of the file
Then do pod install and compile. |
+1 facing the same issue |
+1 stuck with this issue |
+1 having same issue |
@ArunJRK thanks a lot. This worked! Been tearing my hair out for several hours. |
For those having issues, please try to go to your Podfile, and change from 'https://github.com/miguelpruivo/DKImagePickerController.git' to 'https://github.com/zhangao0086/DKImagePickerController.git'. Then cd into your ios directory and run pod update. Should have successful build after you done this. Works for me. |
This is how my Podfile looks like after making the change: I first tried with the changes in the post_install section but that did not do anything. Hope this helps @dev-thinks |
Thank you @ykiran. and also @kwangmeng I tried both options and it worked for me with mac M1 chip. |
Thank you @ykiran It worked of me. |
@ykiran it's not working for me. |
@ykiran I fixed my problem. my problem was in the flutter_inappview package. |
@available(iOS 13.0, *) change it to this Thank you KingUttu |
之前是 12.0 参考: zhangao0086/DKImagePickerController#705 (comment) ```sh cd ios pod updaet ```
之前是编译在 12.0>= 参考: zhangao0086/DKImagePickerController#705 (comment) cd ios pod update
之前是编译在 12.0>= 参考: zhangao0086/DKImagePickerController#705 (comment) cd ios pod update
之前是编译在 12.0>= 参考: zhangao0086/DKImagePickerController#705 (comment) cd ios pod update
@available(iOS 13.0, *)
@objc lazy public var shouldDismissViaUserAction = false
Error : Stored properties cannot be marked potentially unavailable with '@available'
The text was updated successfully, but these errors were encountered: