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

npx cap sync fails - AMSupportURLConnectionDelegate implemented twice #152

Closed
travisBradfield opened this issue Feb 4, 2022 · 8 comments

Comments

@travisBradfield
Copy link

Describe the bug
I'm able to run:
npm install @capacitor-community/stripe

When I run the: npx cap sync it fails on the pod install wit the following error:

Analyzing dependencies
objc[19147]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x213126b90) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1086d82c8). One of the two will be used. Which one is undefined.

To Reproduce
Steps to reproduce the behavior:

  1. npm install @capacitor-community/stripe
  2. npx cap sync
  3. Error.

Expected behavior
I expect the pod install and cap sync to be successful.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS 12.1 (M1)
@travisBradfield
Copy link
Author

Is the M1 situation a contributor to this problem?

@rdlabo
Copy link
Member

rdlabo commented Feb 5, 2022

Does this article help you? : https://stackoverflow.com/questions/65089767/class-amsupporturlconnectiondelegate-is-implemented-in-both

My machine is M1, but this error doesn't happen.

@travisBradfield
Copy link
Author

Thanks for your response!

Do you know what my target iOS version should be? At this point that article isn't helping me yet..

@travisBradfield
Copy link
Author

So after some trying what seemed to work for me was running:

sudo gem install cocoapods -n /usr/local/bin

@rdlabo
Copy link
Member

rdlabo commented Feb 7, 2022

@travisBradfield I'm glad you got it sorted out!

Did you use this plugin for production? If yes, please tell us what app. This help development this plugin.

👉 #145

Thanks.

@travisBradfield
Copy link
Author

Thanks for your help! Not in production yet, but it will be going out in the next few weeks.

@rdlabo
Copy link
Member

rdlabo commented Feb 7, 2022

Thanks. I can't wait to hear of your release!

@rdlabo
Copy link
Member

rdlabo commented Jul 3, 2022

Has this problem been resolved? No action taken, so this Issue is closed. If you continue to have problems, please create a new Issue.

@rdlabo rdlabo closed this as completed Jul 3, 2022
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