Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDan Lee
1,732 PointsI get an error: SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0.
Is the video updated for the current Swift version?
1 Answer
Kareem Jeiroudi
14,984 PointsI have just resolved the issue, and I hope that you have too. In case not, try to use Apple's Migration Guide to resolve this issue. In case you're still facing some issues after going through this guide (which I did) such as the assistant not making any migration suggestions, try modifying the following file either in Xcode or via
vim VendingMachine.xcodeproj/project.pbxproj
as described in this StackOverflow answer.
Hope that helps 😉👍!
Kareem Jeiroudi
14,984 PointsKareem Jeiroudi
14,984 PointsHave you managed to migrate from Swift 3.0 to 4.0 or something? Because I'm having the same issue, and I was wondering if you managed to resolve it.