错误:在cocoapods spec

时间:2015-06-11 09:23:22

标签: swift frameworks repository cocoapods podspec

我在stackoverflow中看到了类似的问题,并在--use-libraries之后添加了pod spec lint。它只是说 [!] Pods written in Swift can only be integrated as frameworks; this feature is still in beta. Add use_frameworks!to your Podfile or target to opt into using it.非常奇怪。

我的问题是如何创建一个用objective-c和swift编写的框架,并创建一个私有的cocoapods存储库。我无法创建正确的.podspec,因为我在框架中使用了objective-c桥接头,pod spec lint总是告诉我error: include of non-modular header inside framework module。这让我变得疯狂......

我也在github中详细发布了这个问题:

https://github.com/CocoaPods/CocoaPods/issues/3666

如果有人知道如何解决它,我将非常感谢你。非常感谢!

0 个答案:

没有答案