prolificinteractive / Caishen

A Payment Card UI & Validator for iOS
MIT License
766 stars 119 forks source link

Fixed Xcode 9 errors #121

Closed Katafalkas closed 7 years ago

DannyVancura commented 7 years ago

Hi,

I think you're witnessing a bug with Xcode/Cocoapods rather than the project itself here. I was able to see those errors myself but you can fix them by running pod install prior to running the example project on the swift-4 branch.

Steps to reproduce:

  1. Checkout branch swift-3.2
  2. Run pod install
  3. Run the project (works fine)
  4. Checkout branch swift-4 but do not run pod install
  5. Run the project (fails with the error that range(at:) was renamed)
  6. If you now run pod install and try again, these errors are gone.