2016-09-28 67 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 

希望有所幫助。