Hey 👋
Left a comment in Github about this but maybe it’s a bit faster through here.
https://github.com/icerockdev/moko-resources/issues/258#issuecomment-1807591317
When you add a custom configuration to Xcode, the copyFrameworkResourcesToApp fails because the $CONFIGURATION variable have some custom name and there isn’t any Gradle task for that name.
Previously it was solved if the user is using Cocoapods by using the built-in KMM Cocoapods Gradle plugin property
xcodeConfigurationToNativeBuildType
but this is only possible if you’re using Cocoapods. If not, the way of setting the build type is by manually setting
KOTLIN_FRAMEWORK_BUILD_TYPE
in Xcode build settings which can be done in a per-configuration basis.
Can we use this
KOTLIN_FRAMEWORK_BUILD_TYPE
to decide which task to run?