Xcode 构建阶段的 Copy Bundle Resources 和 Copy Files 有什么区别? [英] What is the difference between Copy Bundle Resources and Copy Files for Xcode build phases?

查看:131
本文介绍了Xcode 构建阶段的 Copy Bundle Resources 和 Copy Files 有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人能解释一下 Xcode 的 Copy Bundle Resources 阶段和 Copy Files 阶段之间的区别吗?我什么时候会使用复制文件"?

Could someone explain the difference between the Copy Bundle Resources phase of Xcode and a Copy Files phase? When would I use "Copy Files"?

推荐答案

Copy Bundle Resources 阶段复制您希望在您的包 (.app) 中可用的文件.另一方面,Copy Files 阶段将文件复制到您的应用程序可访问的其他(标准)位置(例如/Library/Fonts),让您还可以选择仅在安装时复制它们.您还可以在此处查看相关文档

Copy Bundle Resources phase copies files that you want to be available in your bundle (.app). On the other hand Copy Files phase copies files to other (standard) locations accessible from your application (for example to /Library/Fonts) giving you also the option to copy them only when installing. You can also see relevant documentation here

这篇关于Xcode 构建阶段的 Copy Bundle Resources 和 Copy Files 有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆