No such Directory Error > - iphone

i am using in my code this protocol:
#import "AdMobDelegateProtocol.h"
but i am facing no such file or directory found ??
help needed.

This error shows AdMobDelegateProtocol.h not present in your app bundle. either it need any kind of reference if you use this from any code present at net or you missing to include any framework or it also may possible you create any kind of typo. not more than this

Pls check if the file is present in the project folder or tree in the correct destination. This indicates that there is no such file or is missing in the specified folder/destination

From your comments I see you use AdWhirl.
If you want to use AdMob with AdWhirl you have to add the AdMob framework to your project.
There are no Ad frameworks included in AdWhirl. You have to add them to your project. AdWhirl just uses them, but you have to add them.
You can find the AdMob SDK and install instructions on the admob website.

Related

How to add third party framework to mobile substrate tweak

I would like to add the iOS AWS framework, specifically S3 functionality, to a Mobile Substrate tweak that I am building. Unfortunately, I can't for the life of me figure out how to make it work. I have tried adding the following to my Makefile without any success:
xxxxx_CFLAGS += -I./External/
OR
xxxxx_LDFLAGS += -l./External/AWSS3.framework
The frameworks, Core and S3 are located in ./External directory. Whatever I try I always get the following error:
fatal error: 'AWSS3/AWSS3.h' file not found
Any assistance is greatly appreciated. Thanks!
Try coping it to /Library/Frameworks and load it from there iOS will automatically search for frameworks in that location

How to include Roku_Ads.brs library for the Roku Advertising Framework

I'm trying to make midroll ads work with DFP on Roku and I'm having some trouble.
I'm reading the docs on using the Roku Advertising Framework (RAF) and it says to put Library "Roku_Ads.brs" into the code where I want to use RAF. Since it uses the Library call, it leads me to assume that the library is included in Roku and doesn't have to be downloaded separately.
However, when I put Library "Roku_Ads.brs" at the top of my lib/ads.brs file, I always get the following error:
*** ERROR compiling /pkg:/source/lib/ads.brs:
Error loading file. (compile error &hb9) in pkg:/source/lib/ads.brs(1) 'Roku_Ads.brs'
What am I missing here? Is there some Roku_Ads.brs file that I need to download from somewhere first?
Thanks for the help!
Be sure to add the following line to your manifest:
bs_libs_required=roku_ads_lib

Use of unresolved identifier 'PFQuery'

So I am following this tutorial https://www.youtube.com/watch?v=Q6qcrO8uNzU&feature=youtu.be for Parse and when defining a PFQuery variable I get this error: "Use of unresolved identifier 'PFQuery'".
Code Below:
var getMessages = PFQuery(className:"DevelopmentMessages")
How would this be fixed? Thanks in Advance! ;)
You haven't included the Parse framework in your project correctly. This is done about 7 minutes in during Part 1 of that tutorial: http://www.youtube.com/watch?v=Q6kTw_cK3zY
It is also covered in Parse's QuickStart instructions:
https://parse.com/apps/quickstart#parse_data/mobile/ios/native/existing
All you need to do is the "Install the SDK" portion but you also need to include the Parse framework's header in your Objective-C bridging header:
#import <Parse/Parse.h>
The problem might be because you might not have imported the libraries properly. Drag drop the library files into the project properly. Make sure you have added the library inside your project folder and not outside it. Sometimes it may also be the cause of the problem.
Note - Please don't forget to check the option "Copy files if needed" while dragging and dropping the library files.
Update - If you have named your project as "parse" then it will not work. So rename your project to any other name and try it.

How to use omnigroup framework in an iOS project?

I need to be able to write and read from a rtf file in iOS.
The omnigroup framework has the 2 classes i am looking for :
OmniUI/iPad/RTF/OUIRTFReader
OmniUI/iPad/RTF/OUIRTFWriter
I managed to build the frameworks but i cant figure out how to integrate theses classes in my own project.
I had the following frameworks to my project :
OmniAppKit.framework
OmniFoundation.framework
OmniBase.framework
I still get some undefined identifier such as :
RCS_ID("$Id$");
OBINITIALIZE
OMNI_POOL_START
Has anybody been able to use the omnigroup framework in your own project ?
Thanks,
Vincent
We do need some better documentation for this, but the TextEditor example app in OmniUI/iPad/Examples/TextEditor may be a good starting point for seeing how we include the frameworks in our apps.
In this particular case, you may prefer to pull out the OUIRTFReader class and any dependencies it needs from OmniAppKit and OmniFoundation into your project. updating the #imports to be "..." instead of <OmniThis/AndOmniThat.h>.
Perhaps you could try following the instructions given as part of this thread on the Omni Group forums. They appear to have been able to build the framework under the iOS 4.2 SDK.
I don't think you want the OmniAppKit framework, as that is just for the Mac.

Three20 API Integration Problem

Three20/Three20.h:No such file or directory
I am getting this error when after following all steps found at this link:
https://github.com/facebook/three20/
I guess the problem with the header search path which i set as:
../three20/Build/Products/three20
Do i need to take care of the Three20 framework's directory?
please advise..
Please check out the following resources:
Three20 From the Ground Up Episode #1: Building Three20 for the first time
Add Three20 to your project