Thanks, seems I managed to achieve it with option 1. On Mon, Mar 2, 2015 at 11:16 AM, Steve Mills <sjmi...@mac.com> wrote:
> On Mar 2, 2015, at 07:02:47, Juanjo Conti <jjco...@carouselapps.com> > wrote: > > > > 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? > > Ah. It can't be relative to the project, because the file you're adding is > in its own project's build products folder. I'd suggest one of two > solutions. > > 1) Put both projects into a single workspace. That makes cross-project > links much easier. > > 2) Have the project that builds the bundle copy the final result to a > known folder that is relative to project B, e.g.: > > ~/Projects/MyLibs/MyBundleThatIUseInOtherProjects.bundle > ~/Projects/MyApp/MyApp.xcodeproj > > That way the bundle can easily be added as a relative path. And when you > sync your source on another machine (you didn't mention if you're using an > SCM or not, but it would be silly not to) and build the bundle, it will go > to a known relative folder. > > -- > Steve Mills > Drummer, Mac geek > > -- Juanjo Conti <jjconti <http://goog_2023646312>@carouselapps.com <jjco...@carouselapps.com>> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com