I have two projects in an Xcode workspace. I would like to add the build product of project B as a bundle resource in project A. I have already configured the scheme of project A to build project B first. Is there a proper way to do this besides simply adding the build product of project B from the file system?
Share
I was able to add the product of project B into project A in the following manner. I simply dragged the product of project B from the Project Navigator into the Copy Bundle Resources pane of project A. It can be tricky as you cannot initiate the drag by selecting the icon of the product — I succeeded only by dragging its title. It was not necessary to make project B a target dependency of target A; the build dependency can be managed instead by schemes (which was the way I originally had the workspace configured).