4

I am building a project with a library. The version I am making is the debug version. The library builds itself into the following directory:

LibraryPath/build/Debug-iphoneos

When I am linking my main project, I get the following warning:

Directory 'LibraryPath/build/Debug-iphonesimulator' following -L not found

Xcode finds everything, and the build works just fine, but the warning is annoying. How can I get rid of it?

William Jockusch
  • 26,513
  • 49
  • 182
  • 323

2 Answers2

5

Check the properties for the application Target and the Build Locations Per-configuration paths.

Dave Anderson
  • 11,836
  • 3
  • 58
  • 79
-1

The problems was that I had the library set to "Device" and the main project set to "simulator".

William Jockusch
  • 26,513
  • 49
  • 182
  • 323