I\'ve an application which includes an external library I developed, and I\'m getting the following warning message every time I compile using the device as target:
If you don't want to combine the libraries for some reason (like having a debug lib and a release lib) there is a way that you can include different libraries depending on your build target.
If you open up your project info (right-click on the project->Get Info or highlight it and click the info button) and go down to the Linking section, highlight Other Linker Flags and then click on the cog on the bottom-left of the screen one of the options is Add Build Setting Condition. Clicking on that will give you a child option under Other Linker Flags that has, by default, Any SDK and Any Architecture drop-downs with a blank line following. From there you can set specific linker flags (-lmylib-release-iphonesimulator etc.) depending on various build settings.