• 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: pbxcp vanished in Xcode 4.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pbxcp vanished in Xcode 4.4


  • Subject: Re: pbxcp vanished in Xcode 4.4
  • From: Jonas Maebe <email@hidden>
  • Date: Fri, 27 Jul 2012 00:45:46 +0200

On 26 Jul 2012, at 18:51, Mel Walker wrote:

> I'm copying frameworks, but only under certain build conditions.
>
> I use:
> path/to/pbxcp  -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -resolve-src-symlinks "${PROJECT_DIR}/myframeworks/Foo.framework" ${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}
>
> I figure I'd have replace it with a cp command, followed by a find command to remove the excluded files, but I don't know what to do about the -resolve-src-symlinks argument.

I'm not sure what -resolve-src-symlinks means (even after looking at the help of pbxcp). If it means "resolve any symlink to its target, but do not recursively resolve the target in case it's also a symlink", then something like this should work (untested):

tar -c -C "${PROJECT_DIR}/myframeworks" --exclude .DS_Store --exclude CVS --exclude .svn --exclude .git -H `find Foo.framework` | tar -x -C ${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}


Jonas
 _______________________________________________
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: pbxcp vanished in Xcode 4.4
      • From: Jonas Maebe <email@hidden>
References: 
 >pbxcp vanished in Xcode 4.4 (From: Mel Walker <email@hidden>)
 >Re: pbxcp vanished in Xcode 4.4 (From: Alexander von Below <email@hidden>)
 >Re: pbxcp vanished in Xcode 4.4 (From: Mel Walker <email@hidden>)

  • Prev by Date: Re: repositories
  • Next by Date: Re: repositories
  • Previous by thread: Re: pbxcp vanished in Xcode 4.4
  • Next by thread: Re: pbxcp vanished in Xcode 4.4
  • Index(es):
    • Date
    • Thread