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

AzureAuth different sources #98

Closed
jaltenbernd opened this issue Aug 15, 2020 · 4 comments
Closed

AzureAuth different sources #98

jaltenbernd opened this issue Aug 15, 2020 · 4 comments
Labels
not related The issue is not related to the library

Comments

@jaltenbernd
Copy link

If I run a pod install inside the ios folder, I get the following error:

[!] There are multiple dependencies with different sources for AzureAuth in Podfile:

  • AzureAuth (from ../node_modules/react-native-azure-auth/ios)
  • AzureAuth (from ../node_modules/react-native-azure-auth)

The reason I ran the command was because it says it can't find the module AzureAuth. Then followed by:

[Sat Aug 15 2020 17:26:57.738] ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)
[Sat Aug 15 2020 17:26:58.776] ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication)

I started with a brand new React Native app and added this module.

@vmurin vmurin added the not related The issue is not related to the library label Aug 16, 2020
@vmurin
Copy link
Owner

vmurin commented Aug 16, 2020

Hi John,

I think you issues are not related to the library but to your setup and accident :)

Just take a look on the similar issues on stackoverflow and/or github. See related examples below:

Feel free to reopen the issue if you have further questions. I will also extend and slightly improve the pod file shortly.

Regards
Vlad

@vmurin vmurin closed this as completed Aug 16, 2020
@almercier
Copy link

@vmurin I am also getting this error, only for this specific repo. Only the last link you sent is related to the pod install error, and the answer is not useful.

The solutions suggested here also do not resolve the issue. facebook/react-native#26642

the podfile reference is correctly pointing to the root of the module, so it really seems like a possible issue with this module for the latest cocoapods.

@almercier
Copy link

@vmurin @jaltenbernd The error is resolved by unlinking the two repos that it says to link in the installation instructions. Which tells me it's autolinking and those steps need to be removed from the readme.

@vmurin
Copy link
Owner

vmurin commented Dec 18, 2020

@vmurin @jaltenbernd The error is resolved by unlinking the two repos that it says to link in the installation instructions. Which tells me it's autolinking and those steps need to be removed from the readme.

@almercier Thanks for your suggestion. As a library author I can't know do you use autolinking or not. That's why the README follows the official documentation for Automatic linking (dont mix up with autolinking ;-)) )

But I will add the note about autolinking issue.
Thank you again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not related The issue is not related to the library
Projects
None yet
Development

No branches or pull requests

3 participants