Sebastien Leclerc Lavallee
10/23/2020, 3:52 AMshared/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!John O'Reilly
10/23/2020, 7:01 AMrocketraman
10/23/2020, 8:14 AMpackForXCode
you might have some cruft left over in your xcode project where it is still trying to build the old shared framework. Look for references to the shared framework and remove them, then pod install
again to have cocoapods update the xcode project again.Even André Fiskvik
10/23/2020, 8:39 PMSebastien Leclerc Lavallee
10/24/2020, 1:22 AM