Dealing with the same issue. We added kmm shared f...
# multiplatform
m
Dealing with the same issue. We added kmm shared framework with CocoaPods. Our build phase in the pods project
[CP-User] Build shared
looks like this:
Copy code
if [ "YES" = "$OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED" ]; then
                  echo "Skipping Gradle build task invocation due to OVERRIDE_KOTLIN_BUILD_IDE_SUPPORTED environment variable set to "YES""
                  exit 0
                fi
                set -ev
                REPO_ROOT="$PODS_TARGET_SRCROOT"   
                "$REPO_ROOT/../gradlew" -p "$REPO_ROOT" $KOTLIN_PROJECT_PATH:syncFramework                     -Pkotlin.native.cocoapods.platform=$PLATFORM_NAME                     -Pkotlin.native.cocoapods.archs="$ARCHS"                     -Pkotlin.native.cocoapods.configuration="$CONFIGURATION"
When I change
-Pkotlin.native.cocoapods.configuration
from
$CONFIGURATION
to
Release
all warnings are gone. It looks like for
Debug
configuration CocoaPods doesn’t generate dsym files and then the crashlytics build phase for uploading symbols throws all the warnings. Is there any solution for this problem?
128 Views