skip to Main Content

we are facing the issue after updating the Xcode 14.3

/Users/ankit/Library/Developer/Xcode/DerivedData/ProjectName/ dhfelfdsyohhzxfkhlcejfrdx/SourcePackages/checkouts/Kingfisher/Sources/SwiftUI/KFImageRenderer.swift:48:63 Initializer for conditional binding must have Optional type, not ‘AnyView’

2

Answers


  1. I used to have the same problem.

    pod ‘Kingfisher’, ‘7.6.1’

    And then pod install, you can solve the problem.

    Login or Signup to reply.
  2. If you are using Swift Package Manager,

    • Open Package Dependencies and double click on the Kingfisher
    • Change the version as 7.6.2
    • Done!
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search