i_raqz
i_raqz

Reputation: 2959

Adding Framework based on iOS 5

I have an app that provides bluetooth support. And the app has to support iOS 4.3 onwards. CoreBluetooth framework is unavailable in 4.3. Is it possible to exclude the library when the app is installed on iOS 4.3 device?

Upvotes: 0

Views: 282

Answers (3)

Nishant Tyagi
Nishant Tyagi

Reputation: 9913

YES you can set it as optional as shown in below image:

go to your LinkedFramworks and Binary section and chage it as optionalenter image description here

Hope it helps you.

Upvotes: 2

Dharmbir Singh
Dharmbir Singh

Reputation: 17535

YES it is possible.You can make CoreBluetooth.framework  `Optional` in your `Link Binary With Libraries`.

Upvotes: 0

Mani
Mani

Reputation: 17585

Yes. It is possible. When you add library to your frameworks, just define it as optional in projectsetting->Build Phases -> Link Binary with Libararies -> CoreBluetooth.framework set as optional

Upvotes: 1

Related Questions