Export a project to Xcode - iphone

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

Related

No Supporting Files directory in a Xcode Cordova project

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!

iphone project - copy and rename in xcode 4.3

I have an iphone project that is a "base" project. I want to copy this project, rename it and change a couple of files so as to create the final version of each application I want. How can I copy and rename a project in xcode 4.3+ without having any issues (like lost targets or so) ?
Click on your Project,
enter name of your project and prees enter,
it will ask,
Rename Project Content Items ?
say Rename then it will ask you for snapshot, click on Enable
and then press OK
Done !
You could also just create a new project and import only the header and code files you need.

Xcode project not working after replacing project folder

I was working on an xcode project called Test, which I then made a copy of the project folder as a backup. Now , I would like to replace my current Test project with my backup folder, which I did. But now I seem to be having errors like:
_OBJC_IVAR_$_GameLayer.backgroundSheet", referenced from:
-[ALayer setBackgroundPosition] in ALayer.o
backgroundSheet existed in the newer version of my project, which I have replaced. Why is Xcode still reading it? Thanks!
Edit: When I open my backup project which is in a different location it works fine.
Clean your build using Product -> Clean (shift + cmd + K), and after this build. It should help.
Are you using xcode 4.2 and if you opened both projects (backup and working copy) at the same time you will get error like this

Can I run Xcode 4 Project in Xcode 3?

I download the One Example which had been in Xcode 4. I have Xcode 3 therefore, I can't run the Project. Please let me know is it Possible to run Xcode 4 Project in Xcode 3?
Yes, this is possible. Xcode4 saves the Xcode4 specific settings in a file that isn't used by Xcode3. But the project "layout" (which files should be compiled, compiler settings etc) is still in Xcode3 compatible files. And all the .m, .h .xib files are of course in the same format as in Xcode3
But since "I can't run the Project" isn't a helpful error description I can't help you further.

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.