LoginSignup
4
0

More than 5 years have passed since last update.

R.swiftでコンパイルエラー

Posted at

さあプロジェクト立てるぞ〜まずは環境だとおもいPodfileにいつも通り書いてビルドしてみると、こんなエラーが

Cannot convert value of type '[AnyHashable : Any]?' to expected argument type '[UINib.OptionsKey : Any]?'

調べてみるとXcode 10で起きてるっぽいですね。R.Swiftは現時点でXcode 9までをサポートしてるみたいです。

解決策はエラーを起こしたファイルNibResource+UIKit.swiftの該当箇所をこんな感じに修正してあげましょう。無事にビルドできました。

内容が内容なのでいずれ解消できるとは思いますが、備忘録として。

4
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
0