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

后端 未结 6 879

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:12

    When I opened my xcodeproj file it displayed 3.2, but when I ran git diff, I noticed that the project.pbxproj had everything as Swift 3.0.

    Manually updating the SWIFT_VERSION variables to 3.2 with a text editor solved the discrepancy.

    I recommend this as a last resort only!

提交回复
热议问题