Re: How to copy one project product to another project Resources on build (relative path)
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: Juanjo Conti <email@hidden>
- Date: Mon, 02 Mar 2015 10:02:47 -0300
Discard my last email. I've re read yours and understood it.
I did what you said and then went to A target and add an item (B product)
to Copy Bundle Resources. In the xml file I still see the absolute path.
What am I missing?
On Mon, Mar 2, 2015 at 1:02 AM, Joar Wingfors <email@hidden> wrote:
> Select the reference to project B in project A. Open the File inspector.
> Change the "Location" pop-up from "Absolute" to "Relative to Project".
>
> Joar
>
>
> > On 1 mar 2015, at 19:27, Juanjo Conti <email@hidden> wrote:
> >
> > Hi!
> >
> > 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:
> >
> > 81CBEDD41A9FA5740015BEE2 /* ProductName */ = {isa = PBXFileReference;
> > explicitFileType = wrapper.cfbundle; name = ProductName; path =
> >
> "/Users/xxx/Library/Developer/Xcode/DerivedData/Worspace-dygmdtnwaxtdegfcwjuatbfcygfg/Build/Products/Debug/ProductName";
> > sourceTree = "<absolute>"; };
> >
> > 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?
> >
> > Thanks in advance,
> >
> > --
> >
> > Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com
> > <email@hidden>>
> >
> > Software Engineer - Carousel Apps <https://carouselapps.com>
> >
> > --
> > Carousel Apps Limited, registered in England & Wales with registered
> number
> > 7689440 and registered office Unit 2 Artbrand Studios, 7 Leathermarket
> > Street, London SE1 3HN. Any communication sent by or on behalf of
> Carousel
> > App Ltd or any of its subsidiary, holding or affiliated companies or
> > entities (together "Watu") is confidential and may be privileged or
> > otherwise protected. If you receive it in error please inform us and then
> > delete it from your system. You should not copy it or disclose its
> contents
> > to anyone. Messages sent to and from Watu may be monitored to ensure
> > compliance with our internal policies and to protect our business. Emails
> > are not secure and cannot be guaranteed to be error free. Anyone who
> > communicates with us by email is taken to accept these risks.
> > _______________________________________________
> >
> > 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
>
>
--
Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com
<email@hidden>>
Software Engineer - Carousel Apps <https://carouselapps.com>
--
Carousel Apps Limited, registered in England & Wales with registered number
7689440 and registered office Unit 2 Artbrand Studios, 7 Leathermarket
Street, London SE1 3HN. Any communication sent by or on behalf of Carousel
App Ltd or any of its subsidiary, holding or affiliated companies or
entities (together "Watu") is confidential and may be privileged or
otherwise protected. If you receive it in error please inform us and then
delete it from your system. You should not copy it or disclose its contents
to anyone. Messages sent to and from Watu may be monitored to ensure
compliance with our internal policies and to protect our business. Emails
are not secure and cannot be guaranteed to be error free. Anyone who
communicates with us by email is taken to accept these risks.
_______________________________________________
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