CodeGuy
CodeGuy

Reputation: 28907

Warning message when building iPhone application

I'm building an iPhone application using the Simulator on "Debug" configuration. I get this warning:

ld: warning: directory '/Users/myusername/Documents/iPhoneApps/TestGA/Source/build/GData.build/Debug/GDataFramework.build/Objects-normal/i386' following -L not found

I also get this warning:

ld: warning: directory '/Users/myusername/Documents/iPhoneApps/TestGA/Source/build/Debug' following -F not found

Any insight? How can I fix this? What do these warnings even mean?

Upvotes: 0

Views: 104

Answers (2)

jgritty
jgritty

Reputation: 11915

See this:

Directory 'X' following -L not found

Upvotes: 1

paxdiablo
paxdiablo

Reputation: 881083

-L is usually the argument to the linker ld to tell it what directories to search in for libraries to link with your code.

The fact that you're getting this warning is not a problem in itself unless you also get errors caused by it (which doesn't appear to be the case). ld will happily ignore directories that don't exist.

If you want to get rid of the warnings, you can either:

  • create those directories (easiest); or
  • find out where in your project settings the particular linker command line settings are being set, and change them (probably the best solution).

Upvotes: 0

Related Questions