No Supporting Files directory in a Xcode Cordova project - iphone

I need to integrate the phonegap BarcodeScanner plugin with my iOS6.1 project. To add the plugin I need to do the following:
In the Supporting Files directory of your project, add a new plugin by
editing the file Cordova.plist and in the Plugins dictionary adding
the following key/value pair: key:
org.apache.cordova.barcodeScanner value: CDVBarcodeScanner
But the problem is that I don't have a "Supporting Files" directory in my project, or at least I couldn't find one.
Link to the plugin
I was able to successfully run the app on a 6.1 iOS simulator and on a device.
Xcode version: 4.6.3
Phonegap: 2.9
OS X: 10.7.5
Here is my project in xCode:
I'm fairly new to both Phonegap and Apple devices.

It shouldn't make any different if it is in "Supporting File" or not. It all gets linked in the same way. If it make you feel better you can create the missing group in your project and put it in there, just to tidy things up, but t really won't make any difference as you have seen by it working.
Hope this helps!

Related

I have installed phoneGap lib but am unable to run the app

I have installed phonegaplib for ios, I created one test project using phoneGap based on application template, but in that, phoneGap.framework is in the red color. I think it is missing. So where can I get this frame work, can any one help me?
Are you sure you're following the official guide?
Create a PhoneGap project (Xcode 4)
Launch Xcode, then under the File
menu, select "New Project...".
Navigate to the "iOS" section, under
"Applications" - then in the right
pane, select "PhoneGap-based
Application"
Select the "Next" button, name your
project and company idenfifier, then
select the "Next" button again.
Choose the location where you want
the new project to be.
Run the project at least once to
create the "www" folder in your
project folder.
Drag and drop this "www" folder into
your project in Xcode, and add it as
a folder reference.
Modify the contents of the "www"
directory to add your HTML, CSS and
Javascript.
Reference 1: PhoneGap iPhone - Build and install the Installer Package
Reference 2: Video: PhoneGap Installer - Xcode 4 Template [HD]
Sounds like you are using XCode 4, which is not fully compatible with PhoneGap's default settings. Use this link to have PhoneGap generate a compatible project for you:
https://build.phonegap.com/generate

Error in Build - Missing SDK

I downloaded some Application samples from a website.
It used to work but when I went back to Xcode (After a couple of months) I tried them and it gives me this error.
error: There is no SDK with the name
or path 'iphoneos2.0'
I tried looking for a file called "iphoneos2.0"
and tried looking for a highlighted code but nothing.
Could anyone help me please?
The Base SDK of your downloaded app's Target has set to iphoneos2.0. Change the Base SDK of the Target from iphoneos2.0 to a iOS version which is available.
To change the Build Settings in (Xcode 3.2) - Goto Project -> Edit Project Settings menu. Or, Double-click the project name in the project tree in Xcode.
To change the Build Settings in (Xcode 4) - Select the project name in the project tree. It will open the Project Settings in the document area of Xcode.
In the project settings, search for Base SDK.

Export a project to Xcode

Is possible to import already created project (using Xcode 3.2.4 and iOS SDK 4.1) to Xcode 3.2.5 and iOS SDK 4.2
If you have an excode project you can simply copy all the files in the project's directory and move them wherever you want or zip them, and then simply open the project file from the new location!
You can simply copy the whole project folder and then later simply double click the .xcodeproject file and you have imported it.
hope it helps if you have some other questions just ask it
wblade

Is possible make a .xcodeproj file and how?

is possible make a .xcodeproj file and how? I'd like to make a Mac software which have to build a .xcodeproj file.
An xcode project file is just a keyed archive of internal xcode model objects. It'd be a waste of time trying to generate one outside of xcode.
If you want to build a compile script your best option is to generate Makefiles. Those can be imported in xcode if you need this to work with the IDE as well.
Install Xcode from developer.apple.com. Open Xcode and select "New Project..." from the File menu.

Blackberry Eclipse Plugin - cannot generate cod file or see BB properties

I am using the BB eclipse plugin to create a BlackBerry app. I made some changes to my app but they were not reflected in the simulator. So I ran clean.bat and rebuilt the project. But now the project's cod file is not getting generated.
And if I try and view the BlackBerry project properties for the Project, I get an error saying the window contains invalid values and it doesn't let me see the BB properties of the project.
The only solution I've found in the support forums is to create a new project and copy the whole code to this workspace. But that doesn't look like a very good solution.
It seems to be a bug in the blackberry eclipse plugin. I had the same problem and "fixed" it creating a new project.
Sometimes it works launching the simulator and erasing the application in the simulated blackberry. Another trick is to delete .jar, .jad and .cod refresh and then clean all.
The last tricks that also works is to open the same workspace with the Blackberry IDE and it may repair it.
Sorry, I don't have a definite solution but I hope you can solve your problem with one of the tips.
You have to follow some steps as:-
Delete deliverables folder.
Remove all .jad files from your system. Search all .jad files in system.
Go to eclipse\plugins\net.rim.ejde.componentpack6.0.0_6.0.0.30\components\simulator and run clean.bat. It will reset the clean simulator.
Clean all projects from workspace.