yoomoney / yookassa-payments-swift

This library allows implementing payment acceptance into mobile apps on iOS and works as an extension to the YooMoney API
https://yookassa.ru/developers
MIT License
41 stars 41 forks source link

Cannot build project #37

Closed acproexe closed 5 years ago

acproexe commented 5 years ago

Привет. I can understand a lot in Russian, but asking questions in Russian is too difficult for me.

I installed the pods and TrustDefender, but I cannot build the project. I get a number of errors.

in PaymentService: Cannot invoke initializer for type 'Tokens.Method' with an argument list of type '(oauthToken: String, paymentMethodData: PaymentMethodDataBankCard, tmxSessionId: String, amount: MonetaryAmount?)'

in MockPaymentService: Type of expression is ambiguous without more context in reference to PaymentInstrumentYandexMoneyLinkedBankCard, PaymentInstrumentYandexMoneyWallet, PaymentOption

SOLVED: updating to 2.1.0 fixed the problem