Andy Jacobs
Andy Jacobs

Reputation: 15245

Universal app iPad / iPhone with separate resources?

I have built a universal app.

I have assets that are for both but I have a couple assets ( embedded movie's ) that are only for iPhone or only for iPad.

Is there a possibility to make 2 builds 1 for iPhone and 1 for iPad so that the iPhone app doesn't grow to large?

Upvotes: 0

Views: 451

Answers (1)

tonklon
tonklon

Reputation: 6767

No.

An universal app always contains resources for both platforms. You could of cause build an iPhone app and an iPad app from the same XCode project, but they would not be universal.

To do so, duplicate your existing universal target, open the build setting and set the targeted device family to iPhone, on your old target set the targeted device family to iPad, or create a second copy and set it's target family to iPad.

Open the target's Copy Bundle Resources build phase and delete everything, that's not needed for this targets platform.

Upvotes: 1

Related Questions