I’m trying to make the Cocoapods plugin working with iOS app (Tried official and Touchlab fork). I’ve enabled the plugin and generated my podspec file (also fix the path of the script because my setup is a bit different). It does create the “dummy” framework in
shared/build/cocoapods/framework/shared.framework
Back to the ios folder, I’m doing
pod install
and it does install everything. When I hit build, it fails with error like
could not build module shared
. When inspecting the imported shared.framwork, I see it’s still have the
dummy.h
so makes me think the sync didn’t worked.
Where can I get more info about that
before_compile
script which calls task
gradlew shared:syncFramework
?
Also, I did try to manually call the
./gradle shared:syncFramework
task but it fails with
Task syncFramework not found in project shared
. Why?
Did checkout Touchlab’s KampKit and can compile without any issue… when comparing what they did, it’s pretty much the same. I’m clearly missing something but can’t point exactly what…
Anyone with some hint? Thanks!