• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Subversion doesn't appear to see class files in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subversion doesn't appear to see class files in Xcode


  • Subject: Re: Subversion doesn't appear to see class files in Xcode
  • From: Richard Humiston <email@hidden>
  • Date: Mon, 2 Mar 2009 23:00:31 -0500

I am currently running OSX 10.5.8.  Xcode 3.1.1, and subversion 1.4.4.  I checked the project root as you suggested and it seems to be correct.  The thing that has me stumped is that making changes to main.m is captured correctly.  It's only the class files that don't seem to be recognized, yet they all reside in the same directory in the project and were all checked out together.
Rich


On Mon, 2 Mar 2009 09:24:50 -0800     Andrew Pontious wrote:

On 22 Feb 2009, at 8:38 PM, Richard Humiston wrote:

I followed all of the directions in Xcode # Unleashed to create a  
subversion repository...etc...check out....etc.  A local  
repository.  It all appears to work fine except the class files in  
my project don't seem to be recognized by subversion.

Note it's almost always more helpful for you to mention what version  
of Xcode and the OS you're using.

I'm going to assume you're using an Xcode 3 variant on Leopard.

Xcode 3 has the concept of a "project root". It's set in the inspector  
window for the project, which you can bring up by double-clicking on  
the top-level node (which has the name of the project) in the Groups &  
Files tree, and switching to the General pane in that window.

If the dSliderCell.* files are outside that directory, then Xcode  
won't attempt to get SCM information for them.

By default, the project root is set to the directory that contains the  
Xcode project file.

So that's the firs thing you should check.

-- Andrew


On Feb 23, 2009, at 4:58 PM, Richard Humiston wrote:

Yes I mean files that declare classes.  In my case dSliderCell.h and  
dSliderCell.m.  I navigated to the working project directory and  
entered

richard-humistons-imac:xTestWorkingCopy rhumiston$ svn st
?      xTest.xcodeproj/project.pbxproj

then

richard-humistons-imac:xTestWorkingCopy rhumiston$ svn info  
dSliderCell.m
Path: dSliderCell.m
Name: dSliderCell.m
URL: file:///Developer/Subversion/xTest/trunk/dSliderCell.m
Repository Root: file:///Developer/Subversion/xTest
Repository UUID: cad2a9ea-34e0-4eef-a6b0-ce0908a7bb43
Revision: 4
Node Kind: file
Schedule: normal
Last Changed Author: rhumiston
Last Changed Rev: 3
Last Changed Date: 2009-02-22 21:04:06 -0500 (Sun, 22 Feb 2009)
Text Last Updated: 2009-02-22 21:08:34 -0500 (Sun, 22 Feb 2009)
Checksum: 34ba77c658a3e49e07f452e84b15a6a6



On Feb 23, 2009, at 10:17 AM, Fritz Anderson wrote:

Just so I'm clear on this...

By class files, do you mean files that declare classes (e.g.,  
DataPoint.h), or those that define/implement classes (e.g.  
DataPoint.m), or both?

If DataPoint.m is a problem, open the Terminal, cd to your project  
directory, and type

svn st

and

svn info DataPoint.m

and tell me what the results are.

— F

-- 
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/ 

 _______________________________________________
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

  • Prev by Date: Re: Newbie needs help with an exercise from the Book Programming in Objective-C 2.0
  • Next by Date: Xcode's 'Find in Project' fails to find all instance of the search term
  • Previous by thread: Re: Subversion doesn't appear to see class files in Xcode
  • Next by thread: Re: Include search path for autocomplete when using external build system
  • Index(es):
    • Date
    • Thread