following pods are integrated into targets that do not have the same Swift version

后端 未结 6 942

I am updating my project to Swift 3. When updating some of my cocoapods to swift 3, I receive the following message in terminal, after running pod install:

          


        
6条回答
  •  梦谈多话
    2021-01-17 09:04

    I have solved the problem like this:

    1. I had two targets: the main project and the tests targets.
    2. My main project's target had the 'Use legacy Swift Language version' (in Build Settings) to 'Unspecified (3.0)'.
    3. I set the 'Use legacy Swift Language version' to 'No' and it worked fine.

提交回复
热议问题