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.
- Did you read link question answered?if so which part you won't understandNazmul Hasan– Nazmul Hasan2017-03-30 17:13:04 +00:00Commented Mar 30, 2017 at 17:13
- I want to compile the framework for Swift 3.1 and I don't know how?Bogdan Bogdanov– Bogdan Bogdanov2017-03-30 17:17:58 +00:00Commented Mar 30, 2017 at 17:17
Add a comment |
1 Answer
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.
1 Comment
Bogdan Bogdanov
I don't have CocoaPods I've downloaded the framework from the internet.