0

Project getting build in xcode 5.0.1 but not in xcode5.1.1. I have tried to remove arm64 from valid architecture and build architecture but I am getting same error.

I have referred lots of post on stackoverflow but no one help on this issue.

Can anyone help me on this?

EDIT: Here is the screenshot of error message.

Here is the screenshot of error message.

1 Answers1

0

Project -> Build Phases -> Link Binary With Librairies -> add (+) Foundation.framework.

Your project-Prefix.pch should look like:

#ifdef __OBJC__
    #import <UIKit/UIKit.h>
    #import <Foundation/Foundation.h>
#endif

Or, if you have Enable Modules in Build Settings:

#ifdef __OBJC__
    @import UIKit;
    @import Foundation;
#endif

Else, have you tried to re-install Xcode?

Josh Crozier
  • 233,099
  • 56
  • 391
  • 304
Cœur
  • 37,241
  • 25
  • 195
  • 267