omise / omise-ios

Omise iOS SDK
https://www.opn.ooo
MIT License
74 stars 36 forks source link

Error in XCode 15 beta 5, Stored properties cannot be marked unavailable with '@available' #221

Closed RAGOpoR closed 1 year ago

RAGOpoR commented 1 year ago

Is it possible to fix this error?

Screenshot 2566-07-26 at 14 38 31
aashishgurung commented 1 year ago

@RAGOpoR Thank you for bringing this up the issue. We suggest that you use the stable version of XCode because the Beta versions are prone to having bugs. If the issue persist even in XCode 15 stable version, then we will look into this. Thank you.

Supawat-yo commented 1 year ago

I found same problem in XCode 15 stable version.

perthcpe23 commented 1 year ago

Found the same issue on Xcode15 stable too (through Carthage).

.../Carthage/Checkouts/omise-ios/OmiseSDK/CreditCardFormViewController.swift:189:6: error: stored properties cannot be marked unavailable with '@available'
    @available(*, unavailable, message: "Built in support for Card.ios was removed. You can implement it in your app and call the setCreditCardInformation(number:name:expiration:) method") // swiftlint:disable:this line_length
     ^

Edited: SPM also doesn't work.

Screenshot 2566-09-22 at 11 45 57
vault087 commented 1 year ago

Thanks for your feedback, the issue was fixed in version 4.24.3