![](/img/trans.png)
[英]How to properly add iOS framework with location and create plugin from it in Cordova?
[英]How to add static library instead of a framework for Cordova ios plugin?
我正在构建一个包装由一些更高功率提供的SDK的插件。
我写了这样的东西:
<framework src="path/to/static-lib.a" custom="true" />
Cordova在XCode构建设置中设置Framework Search Paths
很酷,但似乎我需要的是Library Search Paths
。
我应该如何编写plugin.xml来添加这样的静态库?
试试吧
<source-file src="srcpath/to/static-lib.a" framework="true" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.