FLAnimatedImage_AFNetworking error File not found - ios

I'm trying to use this https://github.com/jagbolanos/FLAnimatedImage_AFNetworking and I'm getting the following error:
AFHTTPRequestOperation.h file not found.
I have tried using AFNetworking and FLAnimatedImage by just dragging the files in and by Cocoapods.
Any solutions? Thanks

AFHTTPRequestOperation.h file not found.
The error occurs because of the path problem. The Xcode is not getting the path of this file.
I was able to solve the same problem with the following code.
Add this to the Library Search Paths in Build Settings and make sure you select recursive, delete other library paths which might be absolute paths.
$(PROJECT_DIR)
May be it will help you.

Related

Cocoapod path reference error

I have newly added cocoapods into my application, now getting “parser error” while compiling the code in client machine, But the same source code working fine in my system (without any changes).
Please find below error along with screen shot.
../../../FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h
And also i have added this tag ($(inherited) - > non-recursive) into below paths in Target -> Build settings.
Header Search Path,
Framework Search path,
Library Search Path.
i hope this is cocoapods path reference issue, Please any one help me out of this issue.
Note: Have sent file to client as a .zip.
Finally i came up with answer, I have sent source file to client end(other systems) as a .tar.gz format instead of .zip file.
This is solved my issue.Hope it will help for some one in the future.....

Xcode not searching correct subdirectory for headers

I am using Cocoapods for dependency resolution in an iOS project.
The problem I am having is that the compiler is unable to find the correct subdirectory where the headers are located.
See in the image below the directory in which the compiler is searching for the header file:
However, the file is in the subdirectory /Users/Scott/Documents/GitHub/ios-demo/Pods/iOS-KML-Framework/KML. How do I specifically enable that subdirectory to be searched? I have tried suggestions here and here but those did not seem to work.
Any help would be greatly appreciated!
try set Header Search Path or Library Search Path in Building Setting:

Objective C - Precompiled Headers Creating Error

Hi i am importing some classes in .pch file it is working fine. I can build and run too but when those classes that are included in .pch file are accessed complier gives error but still it an build successfully and run the program too. But as soon as i again import them in some class then complier doesn't gives any error. What is the problem that is causing this?
Edit: I tried Cleaning Project and build folder but no effect
I solved this problem by quoting Xcode forcefully and by going to finder->Gotofolder
~/library/developer/xcode/deriveddata
and deleting everything and when i tried running again i was not prompted any error
if you add the three lines under Search Paths->Framework Search Paths as mentioned below
$(inherited)
$(SRCROOT)
"$(SRCROOT)/frameworkname"
I think the problem is Complier not able to locate the framework.
Hope this will help

import <IOKit/IOMessage.h> gives error

I'm using theos on iDevice. Installed it with installtheos3 command. If I got it right, it installed SDK too.
Now I have a project that has
import < IOKit/IOMessage.h >
Also I added IOKit to theos' makefile _FRAMEWORK section. Also I tried to add it to PRIVATE_FRAMEWORKS section.
When I'm trying to 'make' i got this error:
error: IOKit/IOMessage.h: No such file or directory
there is no errors with other frameworks, only with this.
Thank you!
I never use theos, but this kind of error generally come from the Header Search Path option inside Build Settings inside your project settings.
When I ran into similar issue, I had just downloaded files from Github as part of my project and proceed forward.
Problem is, these header files are for C type of library(not really obj C). So I doubt, you would be able to include by changing path or config settings.
For some reasons IOKit framework installed with 'installtheos3' doesn't have Headers directory at all. Copying it solved problem

OgreCamera.h file not found

I'm facing a problem when trying to implement an OGRE iOS project. I downloaded and installed the OgreSDK and XCode templates from here.
I'm getting this error: OgreCamera.h file not found.
Most likely the path to the OgreSDK is wrong or missing, so that the required include files such as OgreCamera.h cannot be found. So please double-check your paths.

Resources