LoginSignup
2
1

More than 5 years have passed since last update.

Module compiled with Swift 3.0.1 cannot be imported in Swift 3.1

Posted at

動作環境

  • Xcode8.3
  • Swift3.1
  • CocoaPod 1.2.0

ビルドに失敗した

cocoapodにてフレームワークをインポートしてビルドしたところModule compiled with Swift 3.0.1 cannot be imported in Swift 3.1というエラーがでてビルドできませんでした。

20170404_1491269976.jpg

解決方法

Podsのプロジェクトの Build SettingsUser-DefinedのSWIFT-VERSION がデフォルトでは3.0だったのを3.1に変更したらビルドが通りました。

20170404_1491270019.jpg

困った方の参考になればと思います。

2
1
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
2
1