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 trial

iOS Installing and Using Carthage for iOS

andrew falcone
andrew falcone
8,651 Points

I'm getting this error "No entry found for dependencies ios, platform in Cartfile."

I'm using Swift 4 and used this line in Cartfile: github "thellimist/SwiftRandom" == 1.0.0 Does this need updated for Swift 4?

Anyone else think that this is a poor explanation of what's going on? Especially since it isn't kept up to date.

1 Answer

Michael Hulet
Michael Hulet
47,912 Points

Can you post the full contents of your Cartfile? It sounds from the error message like you have a syntax error somewhere, and it's not necessarily related to Swift 4. Nothing about Carthage's usage has changed in a while, so the video itself is up-to-date as of the latest Swift 4.2