I am using XCode 8.3 and I am trying to Run my project which is connected with link and now I have a XCode Error: Module compiled with Swift 3.0.2 cannot be imported in Swift 3.1 So my question is how to update the version of the framework? I downloaded this framework from the link that I've posted above.
            Asked
            
        
        
            Active
            
        
            Viewed 1,060 times
        
    0
            
            
        - 
                    Did you read link question answered?if so which part you won't understand – Nazmul Hasan Mar 30 '17 at 17:13
 - 
                    I want to compile the framework for Swift 3.1 and I don't know how? – Bogdan Bogdanov Mar 30 '17 at 17:17
 
1 Answers
1
            
            
        I think that you need to update CocoaPods to a newer version supports XCode 8 (CocoaPods 1.1.0 or newer):
sudo gem install cocoapods
Then do a pod update to fix your dependencies that are not linking:
pod update
Delete the DerivedData folder for your project and rebuild, the link error should be gone.
        Dhia Eddine Farah
        
- 260
 - 4
 - 23
 
- 
                    I don't have CocoaPods I've downloaded the framework from the internet. – Bogdan Bogdanov Mar 30 '17 at 17:08