target has transitive dependenci
2023-09-07 本文已影响0人
__Mr_Xie__
描述
组件开发,在pod install
时出现了如下错误
[!] The 'Pods-***_Example' target has transitive dependencies that include statically linked binaries: (/***/***/Example/Pods/DouyinOpenSDK/DouyinOpenSDK/***.a)
原因
在Podfile
中使用use_frameworks!
造成的,因此在***.podspec
中设置s.static_framework = true
,之后执行pod install
即可。