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

后端 未结 6 941

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

    I just solved a recent issue when I updated my swift3 project to swift4 one with Xcode9, the problem said: [!] The following pods are integrated into targets that do not have the same Swift version:

    Appsee required by MyApp (Swift 4.0), MyAppUnitTest (Swift 3.0) ...Allpods

    My solution was: With my main target MyApp with the swift version at 4.0, I also updated my UnitTest version to 4.0 into Build Settings --> Swift Language Version

提交回复
热议问题