Closed pcki11 closed 5 years ago
Hi @pcki11, thanks for pointing this out! You're correct that BraintreeDropIn
is using the previous version of Braintree
. This will be updated in a future release.
You don't need to include pod 'Braintree', '4.27.0'
if you're using BraintreeDropIn, since BraintreeDropIn already includes Braintree as a dependency.
Also, BraintreeDropIn supports a minimum deployment target of iOS 9, which it looks like is the root of the issue. See this line from your error message:
Specs satisfying the `Braintree/Core (= 4.27.0), Braintree/Core (= 4.27.0), Braintree/Core (~> 4.26.1)` dependency were found, but they required a higher minimum deployment target.
If you need to support iOS 8, you'll need to use the base Braintree SDK rather than BraintreeDropIn.
Actually, I spoke too soon. Braintree 4.26.1 is the minimum version compatible with BraintreeDropIn, but BraintreeDropIn will use a later version if it's available.
Still, you will need to update your minimum deployment target to iOS 9 if you want to use BraintreeDropIn.
General information
Issue description
Having defined both in a podfile like this:
Results in: