Upgrade from Facebook iOS SDK 3.2.1 to 3.5 gave me an error with FBCrypto

After installing the new sdk I cleaned the project and build it. It fails with this message:

Undefined symbols for architecture i386: "_SecRandomCopyBytes", referenced from: +[FBCrypto randomBytes:] in FacebookSDK(FBCrypto.o) -[FBCrypto encrypt:additionalDataToSign:] in FacebookSDK(FBCrypto.o) "_kSecRandomDefault", referenced from: +[FBCrypto randomBytes:] in FacebookSDK(FBCrypto.o) -[FBCrypto encrypt:additionalDataToSign:] in FacebookSDK(FBCrypto.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Same problem anyone? Solutions?

Answers


Well, you need to include the security framework and the libsqlite3.dylib as stated here. It works now.

edit

Also found this now...


Need Your Help

ASP NET Chart columns overlapping multiple labels

c# asp.net charts

I have a chart on which I display some numbers as the Y values at the dates that this numbers originate on the X axis.

Primefaces calendar picker doesn't work with MMM pattern

jsf primefaces calendar

I'd like to use a Calendar component from the primefaces as shown here: PrimeFaces - ShowCase : Calendar - Time