Is there a known issue with `xcodeConfigurationToN...
# kotlin-native
a
Is there a known issue with
xcodeConfigurationToNativeBuildType
in Gradle Cocoapods plugin in 1.5.31? In Xcode, we have a custom configuration named
Development
In Gradle, we're setting
xcodeConfigurationToNativeBuildType["Development"] = NativeBuildType.DEBUG
But we still see this in our logs:
Copy code
Unable to detect Kotlin framework build type for CONFIGURATION=Development automatically. Specify 'KOTLIN_FRAMEWORK_BUILD_TYPE' to 'debug' or 'release'
It looks like it's still building the debug framework, but would love to know if • this is already known, • we're doing something wrong, • or if we should file a YT
a
Hello, @ankushg! As far as I can see, there was a similar problem with the new
embedAndSignAppleFrameworkForXcode
task, see here(https://youtrack.jetbrains.com/issue/KT-48024). Could you please check if your build uses this task along with the CocoaPods integration?
a
Hm, no we're using the cocoapods integration directly
a
@Ilia Solovei,could you please have a look?
👀 1
v
Hi @ankushg, thanks for bringing it up, this was kind of a known issue but looks like we missed to log it properly, so I’ve created a ticket to fix this eventually: https://youtrack.jetbrains.com/issue/KT-49458 This warning is generated during embedAndSignAppleFrameworkForXcode task registration, so it has nothing to do with cocoapods integration. So, unless you use embedAndSignAppleFrameworkForXcode I’d suggest ignoring this warning or declaring KOTLIN_FRAMEWORK_BUILD_TYPE in Xcode project for suppressing it.
a
Thanks! Good to know that I'm not missing anything 😄
118 Views