Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Problem to compile together with the Parse sdk ? #151

Open
bagusflyer opened this issue Jun 3, 2014 · 2 comments
Open

Problem to compile together with the Parse sdk ? #151

bagusflyer opened this issue Jun 3, 2014 · 2 comments

Comments

@bagusflyer
Copy link

I got the following error:

Undefined symbols for architecture i386:
  "_FBTokenInformationExpirationDateKey", referenced from:
      -[PFFacebookTokenCachingStrategy cacheTokenInformation:] in Parse(PFFacebookTokenCachingStrategy.o)
      -[PFFacebookTokenCachingStrategy expirationDate] in Parse(PFFacebookTokenCachingStrategy.o)
      -[PFFacebookTokenCachingStrategy setExpirationDate:] in Parse(PFFacebookTokenCachingStrategy.o)

Base on the parse.com forum the issue is -ObjC flag. I found the only library using the -ObjC flag is UIKit7 library. Is there a way to bypass this problem ? Thanks

@youknowone
Copy link
Owner

See the error message. Because FBTokenInformationExpirationDateKey is not a symbol in UI7Kit, I can't fix it form UI7Kit. I am not sure where it is, but you may miss some library from linking.

@thejaff
Copy link

thejaff commented Jun 15, 2014

Hi , I am facing the same problem , it seems like the issue is similar with using RESTKit , as explain from this post https://www.parse.com/questions/using-the-parse-ios-sdk-without-including-the-facebook-sdk

Parse recommend to use this -force_load to resolve RESTKIT issue , i wonder can this help to solve the issue with UI7Kit here. If this can , Can help to recommend whats the path should be which by referring to this link http://stackoverflow.com/questions/11254269/using-the-force-load-linker-flag-with-restkit-ios , it should be something like this (-force_load facebook-ios-sdk/lib/facebook-ios-sdk/libfacebook_ios_sdk.a -force_load $(BUILT_PRODUCTS_DIR)/libRestKit.a) ?

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants