• 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: What is 'pbxcp' and how can I edit it to remove a non-existent file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is 'pbxcp' and how can I edit it to remove a non-existent file?


  • Subject: Re: What is 'pbxcp' and how can I edit it to remove a non-existent file?
  • From: Chris Espinosa <email@hidden>
  • Date: Sun, 12 Sep 2004 17:46:53 -0700

On Sep 12, 2004, at 10:12 AM, Frederick C. Lee wrote:

I removed a XML file from my bundle (france.xml) and all associated code. However I get the fatal error message shown below upon compilation.
Question: how can I remove 'france.xml' from consideration & what is 'pbxcp'?

Regards,

Ric.


<x-tad-smaller>Building target “ricCountries” with build style “Development” (optimization:level ‘0’, debug-symbols:on) — (1 error)
</x-tad-smaller>
<x-tad-smaller> cd /Users/Ric/workarea/dev/ricCountries
/Developer/Tools/pbxcp -exclude .DS_Store -exclude CVS -resolve-src-symlinks /Users/Ric/workarea/dev/ricCountries/france.xml /Users/Ric/workarea/dev/ricCountries/build/ricCountries.app/Contents/Resources
</x-tad-smaller><x-tad-smaller>pbxcp: france.xml: No such file or directory
pbxcp: france.xml: No such file or directory
</x-tad-smaller>

Though you may have removed the france.xml file from your file system, there is still a reference to it in your Xcode project. Because there is a reference, and it is a resource, Xcode is trying to copy it into your app bundle on build (using the pbxcp utility, private to Xcode).

The solution is:
1) Select your project icon in the Groups and Files list
2) Type 'france.xml' into the Filter bubble in the Toolbar
This will find all references
3) Select the file(s) in the Detail view
4) Choose Delete from the File menu

Chris
 _______________________________________________
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

References: 
 >What is 'pbxcp' and how can I edit it to remove a non-existent file? (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: What is 'pbxcp' and how can I edit it to remove a non-existent file?
  • Next by Date: Re: what happened to Shark
  • Previous by thread: What is 'pbxcp' and how can I edit it to remove a non-existent file?
  • Next by thread: GCC 2.95.2 and exceptions
  • Index(es):
    • Date
    • Thread