What is default settings to reffer to file location in xcode project?

那年仲夏 提交于 2019-12-24 02:17:01

问题


What is default settings to reffer to file location in xcode project ?

i have doubts between them

  1. relative to build project
  2. relative to project
  3. relative to enclosing group
  4. relative to source path
  5. Absolute path

回答1:


This doesn't seem to be well documented. As I read "How Files are Referenced" in the "Xcode Project Management Guide":

  1. If the file is in the project's folder, you get a reference relative to an enclosing group.
  2. If the file is created by one of the targets, you get a reference relative to the build product.
  3. Otherwise, I think, you get an absolute path.



回答2:


By default - Eclosing-Group*.

*Beginning Xcode (James Bucanek) Chapter 5, p.76



来源:https://stackoverflow.com/questions/3271971/what-is-default-settings-to-reffer-to-file-location-in-xcode-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!