icerockdev / moko-socket-io

MOKO SocketIo by IceRock is Socket.IO implementation Kotlin Multiplatform library
https://moko.icerock.dev/
Apache License 2.0
116 stars 19 forks source link

library is not added to project #18

Open bigoloo opened 2 years ago

bigoloo commented 2 years ago

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:

Alex009 commented 2 years ago

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.

bigoloo commented 2 years ago

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