直接在swift项目中使用weex,通过在Podfile中加上
pre_install do |installer|
# workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
def installer.verify_no_static_framework_transitive_dependencies; end
end
可以正常使用weex。
但是,如果想把weex作为依赖自己发布一个pod,就是在podspec中s.dependency 'WeexSDK'
,
那么验证始终是通过不了的。
如果weex使用的是动态链接库,将大大降低集成难度和使用范围,希望你们考虑下。