Jonathan Beebe
Jonathan Beebe

Reputation: 5226

How can I conditionally include a framework in XCode?

I have an app I've been building in XCode 4.4 targeting iOS 5. Now that the XCode 4.5 beta is out I wanted to try my app, utilizing one of it's new frameworks.

However when I get back into XCode 4.4 it complains it cannot find the newer framework I've included, because it does not exist in iOS 5.

How can I develop my app with the future iOS 6 in mind, telling XCode to ignore the newer frameworks when I'm in the older XCode?

p.s. Thanks for putting up with what I feel is a very amateur question :)

Upvotes: 1

Views: 1445

Answers (1)

Ananth
Ananth

Reputation: 845

Not sure if you are asking for answer. Think you are in need of a solution like in this link. i.e. You can set optional value to the framework which is not available in different versions.

Upvotes: 3

Related Questions