FROM : Jerry LeVan
DATE : Wed Feb 06 20:37:54 2008
On Feb 6, 2008, at 2:14 PM, John Stiles wrote:
> Brady Duga wrote:
>>
>> On Feb 6, 2008, at 10:38 AM, Jerry LeVan wrote:
>>
>>> I am trying to use subversion with my Cocoa projects...
>>>
>>> It appears that merely opening an Xcode project will
>>> generate changes in the .xcodeproject file...
>>
>> *.xcodeproject "files" aren't files, they are folders (for the
>> purposes of Subversion). When you commit a project (say it is
>> called Foo), you will add the folder Foo.xcodeproject and the file
>> Foo.xcodeproject/project.pbxproj - all the other files there
>> (probably with your user name in them) should *not* get checked in.
>> The .pbxproj file won't change unless you really change the project
>> (add/remove files, change settings, etc).
>>
> That's not entirely true. If you have users on different versions of
> Xcode, sometimes just opening the project is enough to modify it.
>
> Under the hood, whenever you open a project, Xcode actually reads in
> the plist, parses it, and rewrites the file to disk. In typical
> usage, the generated output is identical to what it read to begin
> with, so there's no visible change, but in some cases this might not
> be the case. Something as simple as a different type of line ending
> could cause the entire file to look different, and some SVN
> configurations might mangle this on your behalf. You can verify this
> by opening the plist and adding a comment—it should get removed as
> soon as you open the project. You can even try saving the plist in a
> different format (binary? XML?) and watch Xcode convert it back to
> its native format on open. It's kind of slick, actually.
>
>
>
So is the bottom line wrt the .xcodeproject "bundle":
just keep the the file 'project.pbxproj' under version
control and remove the *.mode1v3 and *.pbxuser from
version control?
Thanks,
Jerry_______________________________________________
Cocoa-dev mailing list (<email_removed>)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
This email sent to <email_removed>
DATE : Wed Feb 06 20:37:54 2008
On Feb 6, 2008, at 2:14 PM, John Stiles wrote:
> Brady Duga wrote:
>>
>> On Feb 6, 2008, at 10:38 AM, Jerry LeVan wrote:
>>
>>> I am trying to use subversion with my Cocoa projects...
>>>
>>> It appears that merely opening an Xcode project will
>>> generate changes in the .xcodeproject file...
>>
>> *.xcodeproject "files" aren't files, they are folders (for the
>> purposes of Subversion). When you commit a project (say it is
>> called Foo), you will add the folder Foo.xcodeproject and the file
>> Foo.xcodeproject/project.pbxproj - all the other files there
>> (probably with your user name in them) should *not* get checked in.
>> The .pbxproj file won't change unless you really change the project
>> (add/remove files, change settings, etc).
>>
> That's not entirely true. If you have users on different versions of
> Xcode, sometimes just opening the project is enough to modify it.
>
> Under the hood, whenever you open a project, Xcode actually reads in
> the plist, parses it, and rewrites the file to disk. In typical
> usage, the generated output is identical to what it read to begin
> with, so there's no visible change, but in some cases this might not
> be the case. Something as simple as a different type of line ending
> could cause the entire file to look different, and some SVN
> configurations might mangle this on your behalf. You can verify this
> by opening the plist and adding a comment—it should get removed as
> soon as you open the project. You can even try saving the plist in a
> different format (binary? XML?) and watch Xcode convert it back to
> its native format on open. It's kind of slick, actually.
>
>
>
So is the bottom line wrt the .xcodeproject "bundle":
just keep the the file 'project.pbxproj' under version
control and remove the *.mode1v3 and *.pbxuser from
version control?
Thanks,
Jerry_______________________________________________
Cocoa-dev mailing list (<email_removed>)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Jerry LeVan | Feb 6, 19:38 | |
| Brady Duga | Feb 6, 20:07 | |
| John Stiles | Feb 6, 20:14 | |
| Jay Reynolds Freem… | Feb 6, 20:19 | |
| Brady Duga | Feb 6, 20:25 | |
| Jerry LeVan | Feb 6, 20:37 | |
| John Stiles | Feb 6, 20:52 | |
| Scott Anguish | Feb 7, 00:48 |






Cocoa mail archive

