hyperoslo / BarcodeScanner

:mag_right: A simple and beautiful barcode scanner.
http://hyper.no
Other
1.68k stars 387 forks source link

Package Resolution Failed #189

Open rcasula opened 3 years ago

rcasula commented 3 years ago

I'm trying to install BarcodeScanner with SwiftPackageManager but I receive this error: Schermata 2020-12-23 alle 16 01 18

I think that's because the last release name is Barcode Scanner - 5.0.0 and SPM can't handle this.

Is it possible to rename the release with only the semantic version number?

maxwellainatchi commented 3 years ago

It's actually because the 5.0.0 release doesn't have the Package.swift file - https://github.com/hyperoslo/BarcodeScanner/tree/5.0.0

I'm pointing to the commit that it was added in rather than a version, but definitely would be nice to get it tagged to a version (e.g. 5.0.1)

3lvis commented 3 years ago

Made a new tag, wasn't able to publish it as a pod, tho.

[!] Found podspec BarcodeScanner.podspec Updating spec repo trunk Validating podspec -> BarcodeScanner (5.0.1)

  • ERROR | [iOS] file patterns: The resource_bundles pattern for BarcodeScanner did not match any file.
  • ERROR | [iOS] file patterns: The resource_bundles pattern for Localization did not match any file.
  • ERROR | [iOS] unknown: Encountered an unknown error (Unable to find other source ref for cameraRotate@3x.png for target BarcodeScanner.) during validation.