moko-socket-io icon indicating copy to clipboard operation
moko-socket-io copied to clipboard

library is not added to project

Open bigoloo opened this issue 3 years ago • 2 comments

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.

bigoloo avatar Jan 09 '22 12:01 bigoloo

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 avatar Jan 10 '22 06:01 Alex009

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

bigoloo avatar Jan 10 '22 12:01 bigoloo