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


_______________________________________________

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

Reply via email to