JanGorman / Agrume

🍋 A lemony fresh iOS image viewer written in Swift.
MIT License
790 stars 121 forks source link

Unknown attribute 'Binding' pod 5.8.4 #334

Closed brainfuel closed 1 year ago

brainfuel commented 1 year ago

I can run my app with Agrume installed in the simulator and on device just fine. But when I try to archive I get "Unknown attribute 'Binding'" and 20 similar issues.

Target iOS 15

Any ideas?

JanGorman commented 1 year ago

The @Binding is used here AgrumeView.swift which correctly imports SwiftUI and has an @available annotation… If I had to guess it could be that the s.platform in the podspec sets platform to iOS 9 (wow, so old) and that somehow bugs out the compiler.

Could you try forking the library, then set a different value for s.platform in the fork and use that fork in your Podfile to see if that resolves the issue?

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.