I am building an app that uses the Social.h
and Accounts.h
frameworks.
I have both Frameworks set as optional
.
I have my Base SDK
set as 6.0
I have iOS Deployment Target
set as 5.0
When I build the app to my iPhone running 6.0
, everything works fine. When I build to my iPhone Simulator running 5.0
, I get errors that saying Social/Social.h file not found
(I do not get this error for Accounts.h, which seems odd. I would think it would be all or nothing.)
Thank you for all your suggestions.
In the end it was a problem with my iOS Simulator. I am assuming if I go through the whole re-install, it will solve my problem. I was able to get my hands on an actual device that is running iOS 5.0 and it ran as expected. The problem only occurs when I run it on my simulator.