[IOS] Fixing iOS github actions
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
org.gradle.configureondemand=true
|
||||
org.gradle.caching=true
|
||||
org.gradle.parallel=true
|
||||
org.gradle.jvmargs=-Xmx8192M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx8192M"
|
||||
systemProp.javax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
|
||||
systemProp.javax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
|
||||
@@ -8,6 +9,7 @@ systemProp.javax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.in
|
||||
android.nonTransitiveRClass=true
|
||||
android.useAndroidX=true
|
||||
#Kotlin Multiplatform
|
||||
kotlin.apple.xcodeCompatibility.nowarn=true
|
||||
kotlin.native.ignoreDisabledTargets=true
|
||||
kotlin.mpp.androidGradlePluginCompatibility.nowarn=true
|
||||
kotlin.mpp.enableCInteropCommonization=true
|
||||
|
||||
@@ -368,7 +368,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.0;
|
||||
MARKETING_VERSION = 1.1.0;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_ID}${TEAM_ID}";
|
||||
PRODUCT_NAME = "${APP_NAME}";
|
||||
PROVISIONING_PROFILE_SPECIFIER = "";
|
||||
@@ -405,7 +405,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.0;
|
||||
MARKETING_VERSION = 1.1.0;
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_ID}${TEAM_ID}";
|
||||
PRODUCT_NAME = "${APP_NAME}";
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import org.jetbrains.compose.ExperimentalComposeLibrary
|
||||
import org.jetbrains.kotlin.gradle.plugin.mpp.apple.XCFramework
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.kotlin.multiplatform)
|
||||
@@ -192,9 +191,11 @@ dependencies {
|
||||
//add("kspIosSimulatorArm64", libs.koin.kspCompiler)
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
if (name != "kspCommonMainKotlinMetadata") {
|
||||
dependsOn("kspCommonMainKotlinMetadata")
|
||||
tasks.filter {
|
||||
it.name.contains("compile", true)
|
||||
}.forEach {
|
||||
if (it.name != "compileKotlinMetadata") {
|
||||
it.dependsOn("kspCommonMainKotlinMetadata")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -202,7 +203,6 @@ afterEvaluate {
|
||||
tasks.filter {
|
||||
it.name.contains("SourcesJar", true)
|
||||
}.forEach {
|
||||
println("SourceJarTask====>${it.name}")
|
||||
it.dependsOn("kspCommonMainKotlinMetadata")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user