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

Build failure in sample project #29

Open mrwhoknows55 opened 10 months ago

mrwhoknows55 commented 10 months ago

I cloned this project and tried to run the sample module but I'm facing build failure in sample project. I checked with kdoctor, cocoapod is properly installed. But getting this issue specifically to this project. Please let me know if anything is missing from my side.

Environment diagnose (to see all details, use -v option):
[✓] Operation System
[✓] Java
[✓] Android Studio
[✓] Xcode
[✓] Cocoapods

Conclusion:
  ✓ Your system is ready for Kotlin Multiplatform Mobile Development!

Getting these errors in build logs:


Task failed with an exception.
-----------
* What went wrong:
Some problems were found with the configuration of task ':cocoapodBuildMokoSocketIoIphoneosArm64' (type 'CompileCocoaPod').
  - Type 'dev.icerock.gradle.tasks.CompileCocoaPod' property 'podsDir' specifies directory 'moko-socket-io/sample/ios-app/Pods' which doesn't exist.

    Reason: An input file was expected to be present but it doesn't exist.

    Possible solutions:
      1. Make sure the directory exists before the task is called.
      2. Make sure that the task which produces the directory is declared as an input.

    Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#input_file_does_not_exist for more details about this problem.
  - Type 'dev.icerock.gradle.tasks.CompileCocoaPod' property 'podsProject' specifies directory 'moko-socket-io/sample/ios-app/Pods/Pods.xcodeproj' which doesn't exist.

    Reason: An input file was expected to be present but it doesn't exist.

    Possible solutions:
      1. Make sure the directory exists before the task is called.
      2. Make sure that the task which produces the directory is declared as an input.

    Please refer to https://docs.gradle.org/7.5/userguide/validation_problems.html#input_file_does_not_exist for more details about this problem.