简体   繁体   English

ios静态库问题(从ios的静态库中跳过sbjson库代码)

[英]ios static library issue (skip sbjson library code from static library of ios)

I am creating a static library in ios. 我在ios中创建一个静态库。 which uses sbjson parser 3rd party library and things are working fine. 它使用sbjson解析器3rd party库,并且一切正常。 if we only use ABC.a library in any other project. 如果我们仅在任何其他项目中使用ABC.a库。

The the problem arises when we include DEF.a libary of any other project which internally uses Sbjson parser. 当我们包含DEF。内部在使用Sbjson解析器的任何其他项目的库时,就会出现问题。

So, my query is that how can we skip building 3rd party libray like sbjson, afnetworking etc. with my ABC.a library. 因此,我的疑问是,如何使用ABC.a库跳过构建sbjson,afnetworking等的第三方libray。

Any help will be usefull. 任何帮助将是有用的。

I have got solution for the problem 我有解决问题的方法

below url mite help all 下面的网址螨帮助所有

http://twobitlabs.com/2012/01/excluding-files-from-production-xcode-builds/ http://twobitlabs.com/2012/01/exception-files-from-production-xcode-builds/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM