Re: SVN, Xcode and project.pbxproj
Re: SVN, Xcode and project.pbxproj
- Subject: Re: SVN, Xcode and project.pbxproj
- From: Joar Wingfors <email@hidden>
- Date: Sat, 03 May 2014 00:20:05 -0700
On 2 maj 2014, at 14:42, Alex Zavatone <email@hidden> wrote:
> Using SVN as the repo, does Xcode do individual file syncs against the source repo, but ONLY after is has checked to see if the files are in the project folder/project name.xcodeproj/project.pbxproj file?
>
> It appears that instead of actually svn update at the project folder level, what xcode 5.1.1 is actually doing is only updating the project.pbxproj file, and then only updating the each file within.
>
> Is this the case?
No.
Xcode is using the files referenced from the projects that you have open to figure out which working copies to pay attention to. Once it's built up that list of working copies though, it performs SCM operations in terms of those working copies and not in terms of files referenced from projects.
Not sure what's up in your case. Please file a bug report. A copy of your project files would be great, no need to attach the associated source files. If that's not possible, a detailed description of your SCM configuration / layout. Finally, a set of steps + descriptions of expected vs. actual outcomes.
Joar
> The reason I ask is that my coworker added a bunch of view controllers and XIBs and using another SVN client (Verisons), added the files to the project and committed them.
>
> When I then tried to update my local copy of the source, the files never came down to my working directory and of course they didn't appear in the project navigator since he didn't commit any changes to the project.pbxproj file.
>
> Doing an svn log -l1-v, I can see that the files were committed to the repo.
>
> If I did an update to the the project from Xcode's Source Control menu, I'd expect that the files from the repo would appear in my working copy on my drive, even if they are not in the project.pbxproj unless Xcode doesn't do an svn update at the project folder level, but instead updates the project.pbxproj file and then builds a list of the files within that need to be updated.
>
> Can anyone share if that's what's going on?
>
> Trying to understand how Xcode manages source repo updates and commits so that we can minimize our time wasted with source sync issues.
>
> Thanks in advance.
> - Alex.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden