2

I was trying to add a .pch file in my Xcode project with iOS SDK 8.3, but was getting an error:

no such file or directory: '/Users/classic/Downloads/appname/appname/appname-Prefix.pch'

I was following this link: PCH File in Xcode 6

Can anyone help?

Community
  • 1
  • 1
A_Curious_developer
  • 483
  • 1
  • 5
  • 12

1 Answers1

6

Try below Code :

GoTo > Project > Build Settings > Apple LLVM 6.1 Language then Set Precompile prefix header : Yes Prefix Header : Paste Your File name here (eg Sample-Prefix.pch) . As given in below image . Image Description Note: Select Combined in level to easy understand . As showing in below image :Image description

iPC
  • 5,916
  • 3
  • 26
  • 38
Alok
  • 24,880
  • 6
  • 40
  • 67