adorsys / YesWeScan

A library with a ready to use view controller for document scanning
Apache License 2.0
102 stars 33 forks source link

Fix Carthage #12

Closed xavierLowmiller closed 6 years ago

xavierLowmiller commented 6 years ago

Description

I added installation instructions for Carthage users.

Checking this, I noticed that currently v1.0.3 crashes due to the resource bundle handling when installed with Carthage.

I read up on the specifications of .podspec files and realized that s.resource_bundles is the wrong abstraction for including asset catalogs: s.resources is a better fit for our use case.

To debug this, I added a trivial test case. Instead of deleting it afterwards, I kept it to lay the groundwork for further testing. The test case now runs every time pod lib lint is executed (which is part of our Travis checks).