开发者

Resource Management in XCode

开发者 https://www.devze.com 2023-04-11 18:00 出处:网络
I\'m wondering is there any way in XCode to control the resources that are included in the project, or more importantly included in the build itself.

I'm wondering is there any way in XCode to control the resources that are included in the project, or more importantly included in the build itself.

What I'm trying to achieve is having a HD version of my app and a standard iPhone version. I would like to just have one project instead of two tho. I want to keep the app under 20mb so having all resources, HD and standard, included in both builds isn't a viable option. I'm assuming it is possible to do this through clever use of plists but I don't know nearly enough about the development environment to know what to start playing around with.

On a similar note is it possible to have a project to have different build settings, one to tell the compiler to build for ipad only and another to build for iphone only. Or is this just a project wide setting? If this 开发者_StackOverflowis the case then what I'm trying to do may not even be possible.


Create two targets in the project, one for iPhone, on e for iPad. Then each can specify their resources and build options sharing code as applicable.

0

精彩评论

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

关注公众号