I have compose multiplatform project android and iOS, when I release iOS project it freeze my MacBook (m1 air 8 GB ram), ram using swap with 13-14 GB but my Macbook ram is 8GB, how I can fix this problem I cannot archive my project in Xcode, android working fine I released and deployed play store, my cocoapods:
Copy code
cocoapods {
summary = "Some description for the Shared Module"
homepage = "Link to the Shared Module homepage"
version = "1.0"
ios.deploymentTarget = "16.0"
podfile = project.file("../iosApp/Podfile")
framework {
baseName = "composeApp"
isStatic = true
// Required when using NativeSQLiteDriver
export(libs.kmpNotifier)
@OptIn(ExperimentalKotlinGradlePluginApi::class)
transitiveExport = false
linkerOpts.add("-lsqlite3")
}
pod("FirebaseCore") {
version = "11.3.0"
extraOpts += listOf("-compiler-option", "-fmodules")
}
pod("FirebaseMessaging") {
version = "11.3.0"
extraOpts += listOf("-compiler-option", "-fmodules")
}
pod("MapLibre") {
version = "6.4.2"
}
p
Pablichjenkov
02/13/2025, 12:37 PM
Unfortunately you need better hardware, at least Apple M3 with 32GB/36GB RAM. Otherwise the experience won't be great
ł
Łukasz Nowakowski
02/13/2025, 12:50 PM
if macbook is too expensive then you may want to consider mac mini