sprhawk/ytoolkit — Issue #1: Issues Integrating to Project
Author: ryandb2
Created: 2012-01-28 21:35:57+00:00
State: open

I am currently running xCode 4.2 for an iOS 5 project. I have been trying a variety of methods for getting this project to work in my code. The one that seems most promising is:
1) Drag the xcodeproject file into my project
2) In my build Phases I add the target dependencies:
ybase64additionsTests, ybase64-iOS, ybase64additions-iOS, ycocoaadditions-iOS, yoauth-iOS, yoauthadditions-iOS, ybase64Tests, ycocoaadditionsTests, yoauthTests, ytoolkit, yoauthadditionsTests, ytoolkitbundle, and ycocoaadditions-MACOSX
3) I then go to Link Binary with Libraries and add:
libybase64.a, libybase64additions.a, libycocoaadditions.a, libyoauth.a, libyoauthadditions.a, and libycocoaadditions.a (which shows up twice for some reason, but I get same errors if I remove this duplicate).
4) Add {BUILT_PRODUCTS_DIR}/usr/local/include/ to the Header Search Paths in Build Settings

I then compile and get two Mach-O link (symbol) errors one for _ybase64_encode, and one for _ybase64_decode. Symbol not found for architecture i386. I have tried several ways to fix this but can't seem to find one that works. I have also tried running the demo but as soon as I build I get a build error for "ASIHTTPRequest.h" file not found from FacebookLoginViewController.h.

I am fairly new to iOS development so I am assuming I am doing something dumb with my build order but I'm not sure what. Any help would be very much appreciated!

Thanks!