私は手動でインストール対象のSWIFT_VERSION
にを指定する必要がCocoapods 1.0.1でこの問題を持っていた(これは標準的なQ &この問題が発生した将来のユーザーを支援するためのペアです) 3.0可能:
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
私の完全なPodfile
(テスト/開発ポッド用):
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
target 'MyApp' do
pod "MyPod", :path => "../"
end
target 'MyApp_Tests' do
pod "MyPod", :path => "../"
end
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
問題#5521 - Compiler Version for Xcode 8は、この回避策を見つけるのを助けました。
出典
2016-09-28 20:42:32
JAL
をポッドをインストールするのですか、あなたは知っている、ちょうど1.1.0.rc.2に更新する彼らのリリース候補版
を使用することをお勧め。 –
@JonShierリリース候補バージョンを取得するには、特定のベータチャネルを購読する必要がありますか? – JAL