SOLVED: Opening XCode project shows errors


#1

I can run my project using ionic CLI with iOS emulator, but if I try to open the project Platforms/ios/projectname.xcodeproj it shows errors:

"Lexical or Preprocessor issue ‘Cordova/CDV.h’ file not found and "Lexical or Preprocessor issue ‘Cordova/CDVViewController.h’ file not found

I am using:
XCode: 6.1.1
OSx 10.10.1

latest ionic.

So why these errors? I want to manage my icon assets from XCode. How is emulator build working if I get these errors inside of XCode.


#2

SOLVED: make sure the Xcode preference “Xcode Preferences -> Locations -> Derived Data -> Advanced…” is set to “Unique”