0

When I tried to Convert Swift 3.0 to Swift 4.2 from Xcode 10.1,I got error at QRCodeReader

Error is

enter image description here

What I need to do to fix this issue? After update to pod 'QRCodeReader.swift', '~> 9.0.0' Error is like below enter image description here

Sabai Phoo
  • 358
  • 1
  • 4
  • 20

1 Answers1

0

You can update the pod to version 9.0.0 for Swift 4.2 support:

pod 'QRCodeReader.swift', '~> 9.0.0'

(or if you don't use CocoaPods, just clone https://github.com/yannickl/QRCodeReader.swift/tree/9.0.1)

Yonat
  • 4,382
  • 2
  • 28
  • 37
  • after change pod version,it is showing error,I edited error photo in question,if u know how to solve plz sugguest me – Sabai Phoo Apr 17 '20 at 08:33
  • 1
    Weird error message. Just to make sure, do a Product > Clean then `rm -rf ~/Library/Developer/Xcode/DerivedData` then `pod install` -- see if it changes anything. – Yonat Apr 17 '20 at 11:07