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

Faris Zaman
Faris Zaman
2,802 Points

Outdated?

I've followed the steps in order to add the pod and edited the file and insert "pod 'SimpleAuth/FoursquareWeb' " into the file itself. After hitting pod install I get "Pod installation complete! There is 1 dependency from the Podfile and 6 total pods installed." However I also get yellow text mentioning that;

[!] The dPicDid [Debug] target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in Pods/Target Support Files/Pods-dPicDid/Pods-dPicDid.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the$(inherited)` flag, or - Remove the build settings from the target.

[!] The dPicDid [Release] target overrides the ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES build setting defined in Pods/Target Support Files/Pods-dPicDid/Pods-dPicDid.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the$(inherited)` flag, or - Remove the build settings from the target.

After trying to open the new workspace I get a prompt telling me that I need to convert to current swift syntax. Once I try convert I have 120 build errors, if I don't I have 98 build time errors?

Not quite sure where to go from here, I've been seeking answers on StackoverFlow with no help. Not a lot of solutions on google either as not many examples use foursquare API.

Faris Zaman
Faris Zaman
2,802 Points

This question is in relation to the foursquare API task;

Found here; https://teamtreehouse.com/library/gettings-started-with-oauth-20

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Yes, the video is outdated (technology is constantly evolving).

Did you have a look at this question posted regrading the video?

Amit does provide some instruction on how to make compatible with Xcode 8. As he also stated, they are working on creating an updated course for this. I have found that sometimes you just can't follow along because of technological changes (and Swift 3 is a pretty big one). Sometimes, it's just best to watch the old videos and take notes to learn the structures, and then when the newer courses come out, you'll be one step ahead.

Good luck. :) :dizzy: