JamitLabs / Accio

A dependency manager driven by SwiftPM that works for iOS/tvOS/watchOS/macOS projects.
MIT License
660 stars 32 forks source link

Improve warning about missing schemes #59

Closed fredpi closed 5 years ago

fredpi commented 5 years ago

The case covered with this code is an edge case that would have otherwise been handled a few lines below with the following text:

⚠️ No shared scheme(s) found matching library name 'SwiftEntryKit' – can't remove potentially unnecessary shared schemes, keeping all

As that text is misleading if there a no schemes at all, it's suitable to explicitly handle this case.

Jeehut commented 5 years ago

@fredpi CI is failing, which makes sense: error: 'guard' body must not fall through, consider using a 'return' or 'throw' to exit the scope

Please fix.

fredpi commented 5 years ago

@Dschee My bad, it's not that hard 😂