You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@weex.apache.org by Zhaopeng 黄昭鹏 <Zh...@infinitus-int.com> on 2017/06/26 06:48:26 UTC

weexSDK没有提供动态库,导致swift项目使用weex很不方便,甚至不能发布到pod

这个问题我在这里也发布过https://segmentfault.com/q/1010000008904433
公司最新的移动框架基于weex打造https://github.com/macula-projects/cenarius-ios/tree/3.0,也就是我正在做的事情。<https://github.com/macula-projects/cenarius-ios/tree/3.0%EF%BC%8C%E4%B9%9F%E5%B0%B1%E6%98%AF%E6%88%91%E6%AD%A3%E5%9C%A8%E5%81%9A%E7%9A%84%E4%BA%8B%E6%83%85%E3%80%82>
我希望通过pod来发布我的framework,所以在podspec中自然就要加上s.dependency 'WeexSDK'。
问题就出现了,WeexSDK是静态库,没办法通过pod的验证(swift项目需要用动态库)。
也许可以通过一些变通的方法来解决,但还是觉得在大多数第三方库都用动态库的方式打包的时候,weexSDK却用静态库,有点不能理解了。
毕竟weex是面向全球的,也希望扩大影响,像SPM、pod都应该很好的支持才对。


Best Regards.
ZhaoPeng Huang 黄昭鹏
无限极(中国)有限公司 资讯科技部
电邮(E-Mail):ZhaoPeng.Huang@infinitus-int.com<ma...@infinitus-int.com>
地址(Addr): 广州市天河区冼村路11号保利威座北塔25层

Think Green - Please do not print this email ✉ unless you really need to.


Re: weexSDK没有提供动态库,导致swift项目使用weex很不方便,甚至不能发布到pod

Posted by xing zhang <zh...@gmail.com>.
hi Zhaopeng , this is a mail group  so that people who subscribe it will
receive it. It will be better to using English so that other developers can
understand you here.

--------------------------------------------------------
for a dynamic framework in iOS,  this pull requests
https://github.com/apache/incubator-weex/pull/466
 may be useful.  Trying to make it,  so that developer can use it by
carthage. The next version I will try to submit the source code to Pod
source,  may be this will be ok.

在 2017年6月26日 下午2:48,Zhaopeng 黄昭鹏 <Zh...@infinitus-int.com>写道:

> 这个问题我在这里也发布过https://segmentfault.com/q/1010000008904433
> 公司最新的移动框架基于weex打造https://github.com/macula-projects/cenarius-ios/tree/3.0,
> 也就是我正在做的事情。<https://github.com/macula-projects/cenarius-
> ios/tree/3.0%EF%BC%8C%E4%B9%9F%E5%B0%B1%E6%98%AF%E6%88%91%
> E6%AD%A3%E5%9C%A8%E5%81%9A%E7%9A%84%E4%BA%8B%E6%83%85%E3%80%82>
> 我希望通过pod来发布我的framework,所以在podspec中自然就要加上s.dependency 'WeexSDK'。
> 问题就出现了,WeexSDK是静态库,没办法通过pod的验证(swift项目需要用动态库)。
> 也许可以通过一些变通的方法来解决,但还是觉得在大多数第三方库都用动态库的方式打包的时候,weexSDK却用静态库,有点不能理解了。
> 毕竟weex是面向全球的,也希望扩大影响,像SPM、pod都应该很好的支持才对。
>
>
> Best Regards.
> ZhaoPeng Huang 黄昭鹏
> 无限极(中国)有限公司 资讯科技部
> 电邮(E-Mail):ZhaoPeng.Huang@infinitus-int.com<mailto:ZhaoP
> eng.Huang@infinitus-int.com>
> 地址(Addr): 广州市天河区冼村路11号保利威座北塔25层
>
> Think Green - Please do not print this email ✉ unless you really need to.
>
>