https://kotlinlang.org logo
#compose-ios
Title
# compose-ios
l

Landry Norris

05/31/2022, 4:24 PM
Does dev686 have a way to embed frameworks in the final app? I was looking to experiment with moving an app over to compose that uses cinterop on a framework that we embed.
It looks like creating a Frameworks folder in src/ would fix the issue, but my frameworks are built for iOS + iOS Simulator, which XCode ignores, but iosDeploy* seems to see as a hard error.
It looks like it’s not writing my Frameworks folder to the app. It’s adding the .framework folders directly, so the linker can’t find them.
If it helps anyone else, so far, I’ve found it best to just copy the generated project.yml and add the frameworks as dependencies in the yml. It means I can’t use the deploy tasks in gradle, but at least it functions.
d

Dima Avdeev

06/18/2022, 10:15 AM
Yeah, currently gradle tasks deploy is for experimental usage. It design's for simplify experience for Compose beginners. Your decision is good, thank's for this discussion!
6 Views