문제

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?

도움이 되었습니까?

해결책

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

enter image description here

다른 팁

Just set the SocialFramework as a optional.

Hope this help!!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top