Open gsautr opened 10 years ago
+1
+1
+1
+1
+1
+1. Is there any workaround? I know next to nothing about ios dev
Yup, same problem here. Build fails everytime, now I need to dwelve into XCode imports.
I managed to solve it by downloading the facebook sdk and adding that to the project. I guess this replaces the internal dependency in the parse api sdk? Either way, it somehow works now! Apparently this is a known bug and fb is investigating. Something to do with a dependency of parse and both fb clashing.
To solve this problem is to remove the -objc compiler flag. This way you don't have to add the Facebook framework to solve this bug.
@idlework that does solve the issue, but I am now unable to register the device using the initialize function. Did you manage to register an iOS device? If so, could you describe the procedure.
@idlework thanks, but I eventually solved the problem.
@Tiagojdferreira Glad to hear you solved your problem. Maybe it is good to share what your problem was and how you solved it.
by removing the -ObjC your cordova on ready event will never fired. That's mean your cordova not work well.
I got this problem solved. https://github.com/ihsanberahim/phonegap-parse-plugin/blob/master/README.md
Just add the frameworks;
Twitter.framework
Social.framework
Accounts.framework
libsqlite3.dylib
libsqlite3.0.dylib
Additional Resources: http://blog.ihsanberahim.com/2015/05/install-parse-plugin-with-ionic.html
@ihsanberahim thank you very much
@ihsanberahim That problem doesn't occur in my project. Also when I create a simple project with only this framework the ready event is dispatched.
Looks like these can be resolved if building natively but not when running this plugin. Can you take a look please?
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) "_FBTokenInformationTokenKey", referenced from: -[PFFacebookTokenCachingStrategy accessToken] in Parse(PFFacebookTokenCachingStrategy.o) -[PFFacebookTokenCachingStrategy setAccessToken:] in Parse(PFFacebookTokenCachingStrategy.o) "_FBTokenInformationUserFBIDKey", referenced from: -[PFFacebookTokenCachingStrategy facebookId] in Parse(PFFacebookTokenCachingStrategy.o) -[PFFacebookTokenCachingStrategy setFacebookId:] in Parse(PFFacebookTokenCachingStrategy.o) "_OBJCCLASS$_FBAppCall", referenced from: objc-class-ref in Parse(PFFacebookAuthenticationProvider.o) "_OBJCCLASS$_FBRequest", referenced from: objc-class-ref in Parse(PFFacebookAuthenticationProvider.o) "_OBJCCLASS$_FBSession", referenced from: objc-class-ref in Parse(PFFacebookAuthenticationProvider.o) "_OBJCCLASS$_FBSessionTokenCachingStrategy", referenced from: _OBJCCLASS$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o) "_OBJCMETACLASS$_FBSessionTokenCachingStrategy", referenced from: _OBJCMETACLASS$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o)