0

I working on facebook integration in ios6.I added social,accounts frameworks and import as follows

#import "social /Social.h"
#import "accounts /Accounts.h"

but i got "social /Social.h not found" error.Any idea. Thanks in advance

Jasper
  • 11,590
  • 6
  • 38
  • 55
fathik
  • 346
  • 1
  • 2
  • 10

2 Answers2

2

Try this

#import <Social/Social.h> 
LombaX
  • 17,265
  • 5
  • 52
  • 77
  • if you want to make your app iOS 5 compatible, make sure to set the Social,Accounts,AddSupport framework as Optional from the build phases. http://stackoverflow.com/a/6480788/857865 – Kassem Oct 30 '12 at 22:21
0

Make capital letter as initial when importing iOS frameworks.

Just like this.

#import "Social/Social.h"
#import "Accounts/Accounts.h"
Dinesh Raja
  • 8,501
  • 5
  • 42
  • 81