• 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: How to copy one project product to another project Resources on build (relative path)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to copy one project product to another project Resources on build (relative path)


  • Subject: Re: How to copy one project product to another project Resources on build (relative path)
  • From: Steve Mills <email@hidden>
  • Date: Sun, 01 Mar 2015 22:05:53 -0600

> On Mar 1, 2015, at 21:27, Juanjo Conti <email@hidden> wrote:
>
> I have a project, let' call it A which contains another one, let's call it
> B.
>
> A producto of B is used by A, so I'm copying it in A build phase to
> Resources folder.
>
> The problem is that in A.xcodeproj/project.pbxproj I see the absolute path
> of the product been copied:
>
> The problem with this is that if I want to build A in another machine, it
> fails.
>
> How can I achieve this in a way not dependent of my machine?

Change the path to relative. You also need to ensure that the two projects will always remain relative to each other in that formation on all machines.

Steve via iPad


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >How to copy one project product to another project Resources on build (relative path) (From: Juanjo Conti <email@hidden>)

  • Prev by Date: Re: How to copy one project product to another project Resources on build (relative path)
  • Next by Date: Application windows are expected to have a root view controller at the end of application launch
  • Previous by thread: Re: How to copy one project product to another project Resources on build (relative path)
  • Next by thread: Application windows are expected to have a root view controller at the end of application launch
  • Index(es):
    • Date
    • Thread