Skip to content

Current resource bundle target setup doesn't play well with image assets containing universal images #2292

@nikolaykasyanov

Description

@nikolaykasyanov

I have an asset catalog with universal image set (I'm using different images for iPhone and iPad) included in pod resource bundle like this:

s.resource_bundle = {'LibName' => ['LibName/Media.xcassets']}

And here's the problem: build setting "Targeted Device Family" of LibName resource bundle target is set to iPhone, so I got no iPad images in resulting LibName.bundle.

I think that target device family should be inferred from the application target device family or user should be able to specify target device family in podfile so podspecs could inherit this setting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    t2:defectThese are known bugs. The issue should also contain steps to reproduce. PRs welcome!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions