Andrew
Andrew

Reputation: 16051

Launching app on iOS 5 with Social framework causes crash

I haven't used Social framework in my code at all yet, I've only imported it into the project. This causes it to crash on iOS 5, because Social framework isn't supported yet for that. How can I import it in a way that my iOS 5 users can still launch the app without having it?

Upvotes: 0

Views: 201

Answers (2)

user1673099
user1673099

Reputation: 3289

Just set the SocialFramework as a optional.

Hope this help!!

Upvotes: 0

Girish
Girish

Reputation: 4712

Just set it as optional in Build phases. See below image for reference.

enter image description here

Upvotes: 3

Related Questions