MeetYouDevs / cocoapods-imy-bin

1.05k stars 244 forks source link

打出来的是动态的frameworks,哪儿使用不对吗 #130

Open wenlei1990 opened 3 years ago

wenlei1990 commented 3 years ago

---podspec---

... s.dependency 'YYModel' end podfile

---podfile---

use_frameworks!

target 'hello' do pod 'YYModel' end

imwcl commented 3 years ago

静态 framework,podfile 需要修改为use_frameworks! :linkage => :static

xiaojiekillua commented 3 years ago

静态 framework,podfile 需要修改为use_frameworks! :linkage => :static

你好我这样设置打出来还是.framework 是还有别的地方要改吗

malgee012 commented 3 years ago

静态 framework,podfile 需要修改为use_frameworks! :linkage => :static

你好我这样设置打出来还是.framework 是还有别的地方要改吗

我的也是.framework, 怎么样设置才能生成.a呢

zealforbeing commented 1 year ago

为何我没有use_framework!一直打包出来都是.a,加上use_framework! 之后一直报错 fatal error: lipo: can't open input file: build-arm64/

lirs72379 commented 1 year ago

请见谅,这是我的自动回复邮件,您的邮件已收到,谢谢!