Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6 - Unknown type name 'NSString' / Expected identifier or '('

When I am running my project in Xcode 6, I am having many weird errors.

Parse Issue - Unknown type name 'NSString'
Format argument not an NSString
Could not build module Foundation
Could not build module QuartzCore

All of these errors occur in Apple's header files such as: CAMediaTiming.h, NSObjCRuntime.h,NSZone.h,NSObject.h, CALayer.h, etc.

Unfortunately, the answers in here: ios - Parse Issues in NSObjCRuntime, NSZone, and NSObject did not work for me.

How do you recommend I fix these errors?

like image 820
GangstaGraham Avatar asked Sep 23 '14 19:09

GangstaGraham


1 Answers

See if the Prefix Header file path is correctly placed under Build Settings tab. See the complete answer at the following link.

Check this post

like image 157
Omar Rehman Avatar answered Oct 20 '22 00:10

Omar Rehman