• 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
Solution: Perforce and Xcode error:"model paths must start with / path:"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solution: Perforce and Xcode error:"model paths must start with / path:"


  • Subject: Solution: Perforce and Xcode error:"model paths must start with / path:"
  • From: Will <email@hidden>
  • Date: Sun, 25 Jan 2009 01:05:50 +0000

Hi folks,

I happened upon this error while setting up a local perforce server to integrate with xcode. It ties in with not being able to see the status on the files in the project (lots of question marks for scm status).

SUMMARY:

Ensure the case of your depot names and paths in Perforce clientspecs (workspaces) match the case of the folders/files on your discs.

Cheers,
Will.

----

BIT MORE DETAIL:

I came across this on Windows before when using a Linux p4 server.

It appears to be a problem of case mismatches between the filesystem and perforce. Perforce is I think case sensitive and MacOSX appears to be mixed case only in display (i.e. I cannot have both "MyDir" and "mydir" directories in existence - like Windows).

Mine was a problem of cases not matching in a couple of places..

My directory on the disk was 'iPhone', depot 'iphone', clientspec referencing 'iphone'. Changed directory name to iphone (mv iPhone iphone) and all is shiny,

I have probably missed the subtleties of the real reasons behind this issue. But ensuring matching cases throughout is key.
_______________________________________________
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
  • Follow-Ups:
    • Re: Solution: Perforce and Xcode error:"model paths must start with / path:"
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: problems running Cocoa examples in XCode
  • Next by Date: Re: Searching Book X and Getting Snippets
  • Previous by thread: Re: problems running Cocoa examples in XCode
  • Next by thread: Re: Solution: Perforce and Xcode error:"model paths must start with / path:"
  • Index(es):
    • Date
    • Thread