• 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: Xcode 4 referencing old, non-existing files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 4 referencing old, non-existing files?


  • Subject: Re: Xcode 4 referencing old, non-existing files?
  • From: "Hank Heijink (Mailinglists)" <email@hidden>
  • Date: Mon, 21 Mar 2011 15:07:56 -0400

On Mar 21, 2011, at 2:54 PM, Tito Ciuro wrote:

> Hello,
>
> One thing I've seen in Xcode 4 is a few of warnings after I have cleaned up a project. The project used to contain a bunch of .cpp files, which are now part of a static library. Xcode 4 stubbornly continues to complain that the files do not exist (it's right)... but where can I silence this warnings? Where does it keep the list that should have been deleted when I removed these files from the project?
>
> Also, it seems that when a file is renamed (i.e. from 'foo.m' to 'foo.mm') and moved to a different directory (in both the filesystem and project... to keep them in sync), this annoying warning appears too. I cannot see a way to make it go away:
>
>> file://localhost/Users/tciuro/Development/MyProject C++/Implementation/DMPFoundationPhoneClient/DMPFoundationPhoneClient/Foo.m: warning: Missing file: /Users/tciuro/Development/MyProject C++/Implementation/DMPFoundationPhoneClient/DMPFoundationPhoneClient/Foo.m is missing from working copy
>

Xcode is reporting on the SCM status: you'll need to bring your source control up to date for these messages to go away. If you use subversion, svn status will show an exclamation point next to the files that are missing. svn --force rm <file> will take care of this warning. If you use another SCM client, it'll be the appropriate equivalent.

Moving or deleting files under source control without going through Xcode or the source control client will always result in warnings.

Hank

 _______________________________________________
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:
    • [SOLVED] Re: Xcode 4 referencing old, non-existing files?
      • From: Tito Ciuro <email@hidden>
References: 
 >Xcode 4 referencing old, non-existing files? (From: Tito Ciuro <email@hidden>)

  • Prev by Date: Re: trick for seeing the console
  • Next by Date: Re: When new book for Xcode 4.0 will be released?
  • Previous by thread: Xcode 4 referencing old, non-existing files?
  • Next by thread: [SOLVED] Re: Xcode 4 referencing old, non-existing files?
  • Index(es):
    • Date
    • Thread