How can I add ZXingWidget as a dependency of my Xcode project - ios5

1.I have successfully run the ScanTest example project in my xcode4.2.1
2.And then I try to include the ZXingWidget to my project with the ZXing README. I found that the ZXingWidget can not expand. see the pictures. I am going Mad with that.
Please help, thank you very much!!!

Restart the Xcode that problem should be fixed.

Related

Eclipse plugin for LESS: How to hide errors of CSS frameworks?

I just installed Eclipse plugin for LESS (http://www.normalesup.org/~simonet/soft/ow/eclipse-less.fr.html).
I followed the install instructions there. Now I am able to open an LESS file with the LESS editor coming with the plugin.
However, I now see many LESS errors reported about CSS frameworks such bootstrap because of installing this plugin. How can I hide these errors? The instructions there seems not helpful.
Here is the structure of my folders.
webapp
---less/styles.less
---lib/bootstrap/bootstrap.less
Thanks for any input!
I got reply from the code author. Here it goes:
Hello,
Youu can go in the project properties, selection Validation and then
LESS. Then you can disable some type of errors.
Hope this helps,
--
Vincent

RevMob sdk 5.9.0 gives error on header file while import <RevMobAds/RevMobAds.h>

I have already integrated RevMobs in my project. Now I just update it and download new sdk 5.9.0 and follow same step as before and also refer this link
RevMob ios sdk
But now i can't integrate it and while importing header file
#import <RevMobAds/RevMobAds.h>
it gives an error.
Please help me to solve it.
Here is my snap:
One of these should work
1)Open the target of your project.
2)Open the the "Build Phases"
3)Expand the "Compile Sources"
4)Delete the filename that is causing the error
5)Add the file back.
OR
In Header Search Paths you will need to add the path for your files. To change this you will need to go to project's build settings and search for Header Search Paths and then add the path for your file
just go to header search path and add "$SCROOT" and make it recursive
In my case When I followed steps as per SHARANYA's answer , i saw in my Build Phases there are no such files.
Then, I tried to import it in Build Phase but could not import it.
When i added the Header Search Path i got the actual problem solved.
Hope this will Help Some One.
Ok, finally I managed to solve this. I read a lot of questions here, and searched online.
This article help me out a lot.
So, what happened to me, is that the library files, that were giving to me were missing some files and shortcodes.
So, I just:
Downloaded the new version of the library. Link here.
Copy to my project folder.
Add it to the Header Search Path. (Build Settings, Search Path, Header Search Paths. Add something like $(PROJECT_DIR)/RevMobAds.framework)
And a Clean, Build.
And that's it.

Reconciling BAR descriptors QNX IDE

Hello Everybody,
I am importing a sample project "Bucket-list" from Github https://github.com/blackberry/Cascades-Samples/tree/next/bucketlist in QNX IDE but not able to import successfully . Getting error .
Please have a look on Screen-Shoot and suggest me , what I will have to do for sort -out the issue.
All suggestions are welcome and appreciated
May be the issue is related to QNXIDE-Workspace setting , sometimes QNXIDE-Workspace setting changed ,Workspace setting reset is the most preferable solution in this way
I Follow some simple steps to sort-out the issue :-
1. Close QNX IDE
2. Remove .metadata folder that exist in BB10 Worspace
3. Restart QNX IDE & import the Sample project now it's compile & run fine
This happened to me after updating to the latest SDK. Applications worked properly before. Event clean projects "died" trying to compile BAR.
You can tell something is wrong by right clicking on the package, going to Properties, and selecting Actionscript Build Packaging > BlackBerry
To be clear, the instructions above about the .metadata folder is correct.
Open Explorer, go to C:\users\%username%\Adobe Flash Builder 4.7\
(orwhever the user folder is for your IDE) and rename the .metadata to old.metadata.
Restart IDE

Can't get Android ApiDemos to work in Eclipse

I feel a bit stupid since I develop android apps for a while now. My problem is that I can't get the ApiDemos to work with Eclipse.
Please have a look at the screenshot of my errors I get in Eclipse:
http://cheat-database.com/android.png
It looks like it can't find the xml files in the ApiDemos project. Although everything looks fine to me.
Any suggestions what I might be doing wrong?
Other (own) Android applications work fine in Eclipse.
Thanks a lot for help.
Do this: In Eclipse, File->New->Project, then either type the word "sample" in the filter text field or select Android->Android Sample Project and you will see all the projects such as ApiDemos, NotePad, etc.
The R.java is an automatically generated file. It is updated/re-generated whenever layout files, etc are changed.
I'm going to assume you tried to set up the project directly from the samples. I've seen that cause issues with write access if you don't have the privileges, and it doesn't seem to play nice when I try it either.
One thing to try would be copying the relevant ApiDemos folder to an alternate location and then try creating a new android project from that folder as follows:
Create -> New Android Project -> Create Project From Existing Source
Then point it to the location and select the relevant SDK.
It's not ideal, but at least it might get the application generating and running possibly.
Clean the project and build it again...I hope it would solve the issue
when you File->New->Other->Android Project from Existing Code, you have to tick "Copy projects into workspace".
got the same issue today :-(
this way gave me a solution very easy to use with ADT (eclipse) :
click on New Project icon --> Project --> Android --> Android Sample Project --> Next --> Select Target (for me Android 4.4) --> Next --> and then select the sample project you want to import in Eclipse (for me : legacy > ApiDemo) --> Finish
it works fine for me, i hope that could help someone :-)
#+Mathieu

Classic problem: CorePlot-CocoaTouch.h : No such file or directory

Please excuse me for asking this old problem but I have really tried
every solutions I could find in this forum and over at stackoverflow,
and the problem still hasn't been resolved...Please help me :(
So here is what I did:
1) I downloaded 'CorePlot 0.2.2.zip' into my project folder.
2) Drag and drop the 'CorePlot-CocoaTouch.xcodeproj' into my project.
Uncheck the "Copy items..." and change "Relative to project".
3) Drag 'libCorePlot-CocoaTouch.a' to Target's 'Link Binary with
Libraries" folder.
4) Add 'CorePlot-CocoaTouch (from CorePlot ...)' under Direct
Dependencies.
5) 5) In 'Header search paths' I added path- /Users/el08ywk/Desktop/
PlotGraphhhhh/CorePlot 0.2.2/Source/framework , and set it to
'recursive'.
6) In "other linker flags", I added -ObjC and -all_load
7) Finally, I added the QuartzCore framework to my project.
Now when i build and run it, i have 51 errors, all of which say
something is 'undeclared' and in .h file says Coreplot-CocoaTouch no
such file or directory...
So where have i done wrong? Thank you in advance.
"5) 5) In 'Header search paths' I
added path- /Users/el08ywk/Desktop/
PlotGraphhhhh/CorePlot
0.2.2/Source/framework , and set it to 'recursive'."
Be careful where you download and use de core-plot library, I had some troubles when it was on my Desktop, try to move the folder at "/" to test first, and after you are sure it works, put it where you have sufficient authorizations.
I hope it helped you.
It sounds like the CorePlot framework has not been added to build target. A project can build many targets at once each with it's own set of dependencies. Check the frameworks added to the target. Most likely CorePlot won't be there.