Cocoa/cocoa.h Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or
'cocoa/cocoa.h' File Not Found Xcode
posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join #import
Framework Not Found Cocoa
a minute: Sign up Cocoa/Cocoa.h file not found up vote 4 down vote favorite I am using XMPPFramework in my application. I have imported the Cocoa/Cocoa.h in my .m file. But when i build the project Xcode shows an error. error: xcode command line tools "Cocoa/Cocoa.h file not found". How can i solve this Error? iphone ios objective-c ipad xmppframework share|improve this question edited Apr 5 '13 at 7:07 asked Apr 5 '13 at 5:49 John 732210 add a comment| 3 Answers 3 active oldest votes up vote 8 down vote If you're building for iOS then you shouldn't #import
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Getting “
Swift in All Categories All Categories Advertising Audio / Video / Images Database Ecommerce Editors Game Development Location & Localization Other Performance Productivity Security Social media Statistics System & Frameworks User Interface sorted by Popular Popularity Newest Last update All Adobe AIR More ... All http://www.binpress.com/issue/cocoacocoah-not-found/746 Qt More ... All ASP.NET More ... All Apache CXF Grails JBoss seam JavaServer Faces Spring Struts 2 More ... All AngularJS Dojo jQuery MooTools Prototype More ... All AppKit SpriteKit UIKit More ... All CakePHP CodeIgniter Laravel Symfony Yii Framework Zend Framework More ... All Django Pylons More ... All Ruby On Rails Sinatra More ... All Cocoa More ... Stop LoadingBack to top iCarousel Released 5 years ago , Last update 4 years ago A simple, highly customisable, data-driven 3D not found carousel view for iOS devices and Mac OS applications. From » FREE View Licenses Language: Objective-C Framework: UIKit Platform(s): iPad, iPhone, Mac Product By Nick Lockwood Description Comments 70 Reviews 39 Support 3 Downloads Fixed Cocoa/Cocoa.h not found Created 5 years ago, last activity 5 years ago L Las 5 years ago Dragged and drop iCarousel into my Xcode project and attempted to build project in the simulator and keep getting this error: Cocoa/Cocoa.h not found I'm creating an iPhone app. 'cocoa/cocoa.h' file not I have looked at your iOS example and it builds fine with no issues so I don't understand why it won't work when adding to an existing project. Can anyone help! Dragon01 Followers: Nick Lockwood Las L Nick Lockwood 5 years ago Hi Las, I believe the problem is with your project type - when you set up your new project, did you select an iOS or Mac OS project? Cocoa.h is only used for Mac projects, so it's an odd error to get in an iPhone app. If you send your project to support at charcoaldesign dot co dot uk I will take a look. Flag L Las 5 years ago Hi I am creating an iOS project. How do I add to my existing project? Flag Nick Lockwood 5 years ago Hi Las, Did you drag the entire iCarousel folder into your project? You should only drag the the iCarousel subfolder - i.e. the one containing just the iCarousel.m and iCarousel.h files, not all of the example and test project files. If that wasn't the issue, please send your project to the support address I mentioned in my previous response and I will take a look. Flag Nick Lockwood 5 years ago The issue was due to the project not having a .pch file, so UIKit was not automatically included before iCarousel. The solution is either to add a .pch file, or to paste a UIKit #import statement into the iCarousel.h