问题
What is default settings to reffer to file location in xcode project ?
i have doubts between them
- relative to build project
- relative to project
- relative to enclosing group
- relative to source path
- Absolute path
回答1:
This doesn't seem to be well documented. As I read "How Files are Referenced" in the "Xcode Project Management Guide":
- If the file is in the project's folder, you get a reference relative to an enclosing group.
- If the file is created by one of the targets, you get a reference relative to the build product.
- 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