I’m trying to set up build check on GitHub Actions...
# multiplatform
v
I’m trying to set up build check on GitHub Actions for iOS part of my multiplatform app and getting
error: no such module '<my framework name>'
, while on my local machine the same build command
xcodebuild -workspace <...>.xcworkspace -scheme <...> -configuration Debug -sdk iphonesimulator -arch arm64
works just fine. I’m using
native.cocoapods
plugin and generated podspec. All code is open-source, the error is here. Any hints are appreciated, since I cannot check GitHub machines to ensure that required files are in place, so I’m in blind here.
I managed to reproduce the issue by cloning new copy of repository and redoing all steps as in .yml
Turned out it’s a problem with cocoapods itself. More info in https://youtrack.jetbrains.com/issue/KT-44380 and https://medium.com/wantedly-engineering/different-approaches-in-consuming-kmm-modules-in-ios-7957c722b114 I just had to add
generateDummyFramework
before
pod install