Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem to install/build #20

Open
deoqc opened this issue Jun 9, 2016 · 3 comments
Open

Problem to install/build #20

deoqc opened this issue Jun 9, 2016 · 3 comments

Comments

@deoqc
Copy link

deoqc commented Jun 9, 2016

I'm using react-native 0.25.1 and linked using rnpm (everything seems correct in the ios version, the .xcodeproj were added and the lib*.a linked --> I suggest to add this option to the README also).

The error log from XCode:

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_DGTAppearance", referenced from:
      objc-class-ref in libRCTDigitsManager.a(RCTDigitsManager.o)
  "_OBJC_CLASS_$_DGTAuthenticationConfiguration", referenced from:
      objc-class-ref in libRCTDigitsManager.a(RCTDigitsManager.o)
  "_OBJC_CLASS_$_DGTOAuthSigning", referenced from:
      objc-class-ref in libRCTDigitsManager.a(RCTDigitsManager.o)
  "_OBJC_CLASS_$_Digits", referenced from:
      objc-class-ref in libRCTDigitsManager.a(RCTDigitsManager.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Just one more conceptual question. The android instructions asks for an API KEY and SECRET, but not the ios. How is that?

@jpdriver
Copy link
Collaborator

hey @deoqc -- haven't got time right now but let me have a look at this for you and get back to you. I was getting similar messages for TwitterKit which I've flagged to the Fabric team.. hopefully the fix will be the same.

Which version of DigitsKit are you using?

@deoqc
Copy link
Author

deoqc commented Jun 26, 2016

@jpdriver I mistakeling had not installed the fabric/digits sdk - I had missed this first step.

I installed it now, and doesn't have this problem anymore.

But the basic example in your code throws and error when I click the Login (Do it) button:
undefined is not an object (evaluating 'DigitsManager.launchAuthentication')

Using latest fabric/digits sdk and [email protected]

@jpdriver
Copy link
Collaborator

jpdriver commented Jul 16, 2016

Odd, it's working for me.. Can you step through as far as possible with the Chrome Debugger? We'll need to know whether DigitsManager is being exported to your Native Modules..

My guess is something's gone wrong with your linking, and it hasn't actually exported correctly.

I've tested using the latest DigitsKit & React Native..

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

No branches or pull requests

2 participants