Method 'isEqual(to:)' with Objective-C selector 'isEqualTo:' conflicts with method 'isEqual(to:)' from superclass 'NSObject' #1822
Labels
triaged
Issue has been reviewed by Stripe and is being tracked internally
Summary
I get a compilation error while building my project that integrated with Stripe SDK via SPM. Getting this error on STPToken.swift file and STPToken class in this function. L.No. 73
@objc func isEqual(to object: STPToken?) -> Bool
Method 'isEqual(to:)' with Objective-C selector 'isEqualTo:' conflicts with method 'isEqual(to:)' from superclass 'NSObject' with the same Objective-C selector
Code to reproduce
Stripe SDK integrated into a Mac Catalyst Project via SPM on Xcode 13 and macOS 12.
I have tried to build on both iOS and macOS still got the same error.
It works fine in Xcode 12.5
iOS version
macOS 12.0 Beta 1 (21A5248p)
iOS 15 Beta 1
Installation method
SPM
SDK version
21.5.0
21.5.1
21.6.0
First I got this error in 21.5.0 So I moved to the next version (21.5.1) and tried but not worked so moved to the very latest version 21.6.0 in the latest version also issue persists.
Other information
It works fine in Xcode 12.5
The text was updated successfully, but these errors were encountered: