Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能不能支持swift的cathrage #72

Open
gakaki opened this issue Dec 12, 2016 · 1 comment
Open

能不能支持swift的cathrage #72

gakaki opened this issue Dec 12, 2016 · 1 comment

Comments

@gakaki
Copy link

gakaki commented Dec 12, 2016

现有的只能支持cocopods 超级不方便在swift项目里,特别是做组件化的swift项目
举个例子: 假设有一个自有的库是wow3rd 他有一个s.dependency 是 pingpp , '->~ 2.2.10'
那么有一个主project依赖于wow3rd 在project内pod install 必然会出现

[!] The 'Pods-wowdsgn' target has transitive dependencies that include static binaries: (/Users/g/Desktop/work/wow-ios/Pods/Pingpp/lib/Channels/Alipay/libpingpp+alipay.a, /Users/g/Desktop/work/wow-ios/Pods/Pingpp/lib/Channels/Alipay/AlipaySDK.framework, /Users/g/Desktop/work/wow-ios/Pods/Pingpp/lib/libpingppcore.a, /Users/g/Desktop/work/wow-ios/Pods/Pingpp/lib/Dependencies/Network/libpingpp+network.a, /Users/g/Desktop/work/wow-ios/Pods/Pingpp/lib/Channels/UnionPay/libPaymentControl.a, and /Users/g/Desktop/work/wow-ios/Pods/Pingpp/lib/Channels/UnionPay/libpingpp+up.a)

这主要是由于pod 对swift 集成的framework 是一些伪framework 不能真正支持swift的framework
oc项目完全没有这个问题 因为是作为static library 引入的...
swift的项目大量依赖framework 而不是static
这样的话就只能用 pod的vendor library来做了 很是折腾

@samurai00
Copy link
Contributor

我们这边看一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants