开发者

How can I add one Target (Foundation Tool) to Copy Bundle Resources of another Target in Xcode

开发者 https://www.devze.com 2022-12-22 17:44 出处:网络
Hy everybody, 开发者_开发问答I have two targets in one Project in Xcode. One is a foundation tool which I need in the resources Bin of the other Target, which is a Bundle App.

Hy everybody,

开发者_开发问答

I have two targets in one Project in Xcode. One is a foundation tool which I need in the resources Bin of the other Target, which is a Bundle App. I am not able to add the Target one into the Copy Bundle Resources Build Phase of the Bundle App. Do I need to use a Copy Files Build phase and put the File out of the build/Release Folder into it?

Thank you,

Michael


There should be a "Products" folder in your project, containing everything that would be built by your targets. You need to add the product reference for your tool (which will be in that folder) to the copy phase, not the target itself.

0

精彩评论

暂无评论...
验证码 换一张
取 消