I have an iphone application using the third party library from my customer. They provide me two static library one for simulator and one for device. How can I change setting to allow me set to project setting to build against right library when project change configuration? can i use --framework flag? if it is, how I can do that?
Asked
Active
Viewed 602 times
1 Answers
3
Easiest way might be to merge the two libraries with lipo. The linker will choose the appropriate architecture's code during the build. This blog post discusses the process (in the context of a much more complete pseudo-framework setup).
See also this question and this question.

Community
- 1
- 1

Sixten Otto
- 14,816
- 3
- 48
- 60