Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24484

iOS: Bundle images are copied to asset catalog when using app-thinning, causing apps to crash

    Details

      Description

      I received some reports from users of my Ti.GoogleMaps module that are experiencing issues when using the <use-app-thinning> property together with bundle files that contain images like here.

      The logs indicate that the bundle images are both copied to the bundle inside the app (correct) and the asset catalog (incorrect).

      The build should skip bundle images for the asset catalog I guess. Native apps would skip it as well, since the images are managed by the bundle.

      The fix should be done somewhere in copyResources, maybe with a regex like bundleFileRegExp = /.+\.bundle($|\n)/ that will only add the bundle to the resources, but not the images to the asset catalog.

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              hknoechel Hans Knöchel
              Reviewer:
              Chris Barber
              Tester:
              Josh Longton
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10546
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code