arayanlovex
arayanlovex

Reputation: 13

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

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

Upvotes: 2

Views: 3091

Answers (2)

fir
fir

Reputation: 387

By default - Eclosing-Group*.

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

Upvotes: 0

JWWalker
JWWalker

Reputation: 22717

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.

Upvotes: 1

Related Questions