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

library is not added to project #18

Open
bigoloo opened this issue Jan 9, 2022 · 2 comments
Open

library is not added to project #18

bigoloo opened this issue Jan 9, 2022 · 2 comments
Labels
question Further information is requested

Comments

@bigoloo
Copy link

bigoloo commented Jan 9, 2022

Hi All
I have added the library to my project and it isn't compile,

Generating workspace in shared
[!] Unable to find a specification for mokoSocketIo depended upon by shared

You have either:

  • out-of-date source repos which you can update with pod repo update or with pod install --repo-update.
  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.
@Alex009
Copy link
Member

Alex009 commented Jan 10, 2022

hi!
please compare your setup with sample project - https://github.com/icerockdev/moko-socket-io/tree/master/sample/mpp-library

you should add mokoSocketIo with git path to your Podfile and then use this pod from kotlin.

@Alex009 Alex009 added the question Further information is requested label Jan 10, 2022
@bigoloo
Copy link
Author

bigoloo commented Jan 10, 2022

thank you for your response,
my problem is that
pod("mokoSocketIo", onlyLink = true) there is no onlyLink in newer gradle pod function and when i remove it project doesn't compile

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

No branches or pull requests

2 participants