iOS开发者进阶

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即可。

上一篇 下一篇

猜你喜欢

热点阅读