【发布时间】:2016-06-10 16:36:42
【问题描述】:
我使用 pod lib create 创建了一个骨架 pod,并将我的代码写入 Development pods > MyPod > Classes 组。
我收到错误Swift is not supported for static libraries。
除了替换了 ReplaceMe.swift 并添加了一些其他文件之外,我还没有真正编辑任何其他文件。
这是 pod 文件:
use_frameworks!
target 'MyPod_Example' do
pod 'MyPod', :path => '../'
target 'MyPod_Tests' do
inherit! :search_paths
end
end
我错过了什么?
【问题讨论】: