Xcode 4 build Static Library dependency with different configuration setting

后端 未结 2 1271
野的像风
野的像风 2021-02-08 12:41

I was wondering whether it is possible to have dependant static library compiled with different configuration settings.

My case was I have a project (project.pbxproj) wh

2条回答
  •  时光取名叫无心
    2021-02-08 13:06

    To extend what rage said, you'll want to use targets instead of configurations. Targets are all about what is built where as configurations is how to build.

    You may also want to look at lipo. Its useful for combining static libs such as simulator and device into 1 static lib resource. I haven't played with it extensively but maybe there is a way to have different configs as well and somehow use the right config when the parent project is built.

提交回复
热议问题