moko-resources icon indicating copy to clipboard operation
moko-resources copied to clipboard

copyFrameworkResourcesToApp on kotlin 1.9.20 invalid works with cocoapods

Open Alex009 opened this issue 1 year ago • 2 comments

At xcode 15 and kotlin 1.9.20, with cocoapods integration and isStatic = true for framework i see that after call copyFrameworkResourcesToApp will be called podspec task that override already valid compiled kotlin files in build/cocoapods/framework/shared.framework to placeholder. after this in xcode i got all red kotlin classes, just like they not exist.

Alex009 avatar Dec 04 '23 12:12 Alex009

at now as workaround i use direct addition of bundles inside xcode project: image without call of copyFrameworkResourcesToApp

Alex009 avatar Dec 04 '23 12:12 Alex009

Duplicate of https://github.com/icerockdev/moko-resources/issues/387

Ustimov avatar Dec 05 '23 08:12 Ustimov

@Alex009 Can you please elaborate the steps or link some article of adding the bundles directly? As a beginner in Xcode, I am unable to understand the steps via the image that you have provided.

msa1422 avatar Apr 03 '24 08:04 msa1422

will be fixed in 0.24.0, please check in 0.24.0-alpha-5

ExNDY avatar Apr 17 '24 05:04 ExNDY

fixed in 0.24.0-beta-1

Alex009 avatar Apr 19 '24 14:04 Alex009