Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile with version 3.0.3 and Xcode 9 due to incompatible Swift version #2810

Closed
btcnewsapp opened this issue Sep 21, 2017 · 1 comment

Comments

@btcnewsapp
Copy link

I am unable to compile my app using Charts 3.0.3 added via Pod (3.0.4 does not seem to exist as a pod) and Xcode 9, due to incompatible version of Swift. Compiled fine with Xcode 8.3.3. Error message below. I have already tried cleaning out the derived data directory and the build, restarting Xcode, but get the same error message.

error: The following binaries use incompatible versions of Swift:
/Users/tal/Desktop/Xcode Projects/BTCnews/Charts.framework/Charts
/Users/tal/Library/Developer/Xcode/DerivedData/BTCnews-fcmtcvbpettdsxayujdaqryenzee/Build/Products/Release-iphoneos/BTCnews.app/BTCnews

Ideas? Thanks!

@btcnewsapp
Copy link
Author

Issue resolved. I had an extra Charts framework in the build from the pre-Cocoapods installation, which was getting in the way. Removing it from the required and embedded frameworks seems to have solved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant