开发者

Iphone & iPad - how to exclude a resource from a target?

开发者 https://www.devze.com 2022-12-20 23:17 出处:网络
I have two ta开发者_如何学Pythonrgets on my project - iPad and iPhone. Some resources, as interface images, are exclusively for iPad and others for iPhone.

I have two ta开发者_如何学Pythonrgets on my project - iPad and iPhone. Some resources, as interface images, are exclusively for iPad and others for iPhone.

How do I exclude an image, for example, of being included on a given target.

This project of mine was created using that "transition" stuff and groups were created: Resources-iPad and Resources-iPhone. I have organized each resource inside one of these groups. Even so, every final product has both resources.

Am I missing something? thanks for any help.


Go to the "copy resources" step for the target in question and delete any resources you don't want in there. In addition, you should right-click the resource, select "Get Info" and remove it from any targets you don't want using the Targets tab.


Right-click on a resource file, select Get Info, open the Targets tab and click checkboxes as needed.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号