leandro
03/30/2021, 4:11 PMiosMain
.
the config of Cocoapods is:
cocoapods {
summary = "..."
homepage = "..."
frameworkName = "test"
ios.deploymentTarget = '8.0'
pod('Analytics') { version = '~> 4.1.2' }
pod('Segment-Amplitude') { version = '~> 3.2.3' }
pod('segment-appsflyer-ios') { version = '6.1.4' }
podfile = project.file("src/iosMain/Podfile")
}
with Podfile being
use_frameworks!
platform :ios, '8.0'
target 'ios-app' do
pod 'kotlin_library', :path => '../kotlin-library'
end
The error is on the thread 🧵Automatically assigning platform `iOS` with version `8.0` on target `App-iOS` because no platform was specified. Please specify a platform for this target in your Podfile. See `<https://guides.cocoapods.org/syntax/podfile.html#platform>`.
Tip: try to configure deployment_target for ALL targets as follows:
cocoapods {
...
ios.deploymentTarget = "..."
...
}
at org.jetbrains.kotlin.gradle.targets.native.tasks.AdvancedCocoapodsTasksKt.runCommand(AdvancedCocoapodsTasks.kt:342)
at org.jetbrains.kotlin.gradle.targets.native.tasks.AdvancedCocoapodsTasksKt.runCommand$default(AdvancedCocoapodsTasks.kt:303)
at org.jetbrains.kotlin.gradle.targets.native.tasks.PodGenTask.generate(AdvancedCocoapodsTasks.kt:424)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
Petter Måhlén
03/31/2021, 6:42 AMsushma nayak
04/01/2021, 4:31 AMios.deploymentTarget = "8.0"
on cocoapods{..} “” in place ‘’jean
06/10/2021, 1:05 PMleandro
06/10/2021, 2:22 PMjean
06/11/2021, 7:34 AMjoshshin
06/17/2021, 10:13 PMjean
06/18/2021, 6:22 AM