xcode3 xcode4 project file sharing? - iphone

I'm sharing xcode4 project through svn.
Wonder if it'll be ok for another user to use xcode3.
I read xcode3 and xcode4 can read the same project file.
However, when you share the project file using svn file, it's a bit different story.
(Mainly I'm(with xcode4) worried of possibilities that I'll have to rebuild project on every other person(with xcode3)'s commit or vice versa)
Has anyone done this?

From XCode 4 User Guide
Xcode 4 can open an Xcode 3 project
without difficulty. You can open the
project in any of the usual ways:
Control-click the project and choose
Xcode 4, drag the project onto the
Xcode 4 icon, or choose File > Open to
open the project. You can have both
Xcode 3 and Xcode 4 installed on your
system at the same time without
conflict. You can open a project in
either program, save it, then open it
in the other program without
invalidating the project or losing any
data.
Xcode 4 reads and builds projects
created in Xcode 2.1 through the
latest release of Xcode 3. Projects
created with Xcode 4 can be opened and
built on Xcode 3.2 and later.
Opening and building a project in
Xcode 4 does not upgrade or alter it.
Changes you make to a project in Xcode
4 remain compatible with earlier
versions of Xcode.

General interoperability works fine. But if you use Xcode 4's integrated unit testing (running "application tests" in the simulator), those won't work in Xcode 3.

I did this already at it was no problem. Xcode 3 and Xcode 4 are using the same formats, only the interfaces differe.

Related

.Xib creates error when running the project with Xcode 4.6.1

Please someone help me out.
MY Mac OS(10.8.5) is updated and me also using the Xcode 5, but i have my previous Xcode 4.6.1 also installed in my mac. When i run my project through Xcode 5 then it's OK but when i run my project through Xcode 4.6.1 then it show that error which you seen in the image.and can't run the project.
This has a very simple answer.
Open the Project file on Xcode 5, And then
1.Open file inspector
2.On Interface Builder Documents section change Open with to Xcode 4.6 (if it's 5.x).
3.Click Revert, Close the project and open that with old Xcode.
you can do the same thing on Xcode 4.6 to work with older version.
Happy coding.. :)
1)Goto your xcode5 see your StoryBoardFile go to Assistant Editor preview option.
2)Then Goto file inspector see first tab
3)Select your interface Builder Documents 4.6
4) One Alert popup they ask you Revert to Xcode 4.6 format? select Revert
Follow this step and open your project in your old xcode project.

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!

How to clean obsolete and excluded files from Xcode project?

I have a problem, with running some project on iPhone 4 device. It displays some excluded and already deleted XIB files. For contrast, on the simulator everything is OK. I deleted the app from device, and used xcode feature to clean the build, and there are still some obsolete versions.
Hold down the Option key then select Product > Clean Build Folder... . This will completely wipe the build folder and you can then rebuild from a clean slate. If you also delete the app from your device then you can be sure that there are no leftovers from a previous build.

linking gdata to an xcode 4 project

I'm having major issues linking gdata to a project after upgrading from xcode 3.2.5 to xcode 4. I would like to know if anyone is having similar issues, and what did they do to resolve them. i am using gdata version 1.11 which is the latest on their site. The project works flawlessly on 3.2.5, thanks.
I have created a workspace for my project, and then added the gdata.proj to it. So I do have all the files linked by reference. But project files which include #import "GDataYouTube.h" do not see the file. I get "No Such File or Directory"
Good News... resolved and tested, all working follow these steps...
Open your project in xcode 4 from 3.2
click File -> Save As Workspace
in project navigator on the left, collapse your Project if you see all the files
below your collapsed project, in the empty space right click or control click -> Add Files to...
select the project file you wish to link to, leave Copy items unchecked, click Add
Now you will see 2 collapsed projects in your Project navigator, expand both
Now what I didn't know I had to still do
Drag the files or folders you want from the second project to your main, make sure your Main project target is selected in the options, and I also have group selected then click Finish
You are good to go, you might have some warnings about your second project and its targeted SDK. Fix those by clicking the project name in the Project Navigator -> Build Settings -> Base SDK to 10.6, Deployment Target to 10.5

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.