2016-09-28 68 views
1

似乎不是:当我在pod安装后打开工作区时,系统会要求我执行Swift 3转换。有没有时间表?ProcedureKit Swift 3准备好了吗?

+0

Thorpe要求在stackoverflow上将问题指向他。 howerver我不确定如何在@ daniel.thorpe上标明他的目标。 – johnrubythecat

+1

这不适合堆栈溢出的问题。请在[项目问题页面]上发布问题/问题(https://github.com/ProcedureKit/ProcedureKit/issues)。 – rmaddy

回答

1

ProcedureKit是斯威夫特3准备好了,但它仍处于测试阶段的时刻 - 可能会发生一些重大的变化,它不是100%的功能,以操作V3.4兼容。

如果您通过CocoaPods集成,则需要指向development分支,例如,

pod 'ProcedureKit/Network', :git => 'https://github.com/ProcedureKit/ProcedureKit.git', :branch => 'development' 

此外,根据您的设置(也许把一个.swift版本)在您的项目 - 这的CocoaPods创建中间框架的方式,可能会默认为雨燕2.3。您可以通过添加:

post_install do |installer| 
    installer.pods_project.targets.each do |target| 
     target.build_configurations.each do |config| 
      config.build_settings['SWIFT_VERSION'] = '3.0' 
     end 
    end 
end 

希望有所帮助。