1

After I updated XCode to 4.6.1 version, when I open a project developed in the last Xcode version, it gives me an error when I run the application, on the #import <Availability.h> (I don't know in which class is that code line). The error I get is: "'Availability.h' file not found". How can I solve this?

Johnny Dahdah
  • 995
  • 5
  • 15
  • 21

2 Answers2

1

Problem might be with the Foundation.framework, try to delete the framework in build-phases and add it again to your project. Once you have added it again, just clean and build your project, it will solve your problem.

If by doing the above does not solve your problem then you will have to re-install xcode I am afraid.

nsgulliver
  • 12,655
  • 23
  • 43
  • 64
0

at Target->Build Phases-=>Link Binary with Libraries remove Foundation.Framework and add it again

meth
  • 1,887
  • 2
  • 18
  • 33