• 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: Copy files build phase not copying framework C version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy files build phase not copying framework C version


  • Subject: Re: Copy files build phase not copying framework C version
  • From: Bill Cheeseman <email@hidden>
  • Date: Sat, 01 May 2004 08:49:25 -0400

on 2004-04-30 1:53 PM, Bill Cheeseman at email@hidden wrote:

> on 2004-04-30 9:43 AM, Bill Cheeseman at email@hidden wrote:
>
>> I can't figure out why the copy build phase is failing to copy my C
>> framework, and I can't find a way to make it work. Any ideas?
>
> More info, still puzzled:
>
> The build log shows that this command is executed:
>
> /Developer/Tools/pbxcp -exclude .DS_Store -exclude CVS -strip-debug-symbols
> -resolve-src-symlinks
> /Users/cheeseb/Documents/Projects/Cocoa/Builds/PFAssistive.framework
> "/Users/cheeseb/Documents/Projects/Cocoa/Builds/UI
> Browser.app/Contents/Frameworks"
>
> Yet the entire contents of the source (PFAssistive.framework) are not copied
> to the destination (UIBrowser.app/Contents/Frameworks). EVERYTHING is copied
> EXCEPT the folder containing major version C of my framework.

I worked around the problem by adding a shell script build phase to copy the
major version folder from the built framework to the app bundle's framework
folder created by the pbxcp tool, as shown below. But I don't understand why
this is necessary.

cp -Rnp "${TARGET_BUILD_DIR}/PFAssistive.framework/Versions/C"
"${TARGET_BUILD_DIR}/${PRODUCT_NAME}.${WRAPPER_EXTENSION}/Contents/Framework
s/PFAssistive.framework/Versions"

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Next by Date: External executable not launching.
  • Next by thread: External executable not launching.
  • Index(es):
    • Date
    • Thread