diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fab5e0ca..8cc35109 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,11 @@ jobs: key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }} restore-keys: | ${{ runner.os }}-gradle- + # XCode changed naming for the watch simulators, create a simulator that matches what the tests expect (shouldn't need after 1.8) + - name: Create watch simulator + if: matrix.os == 'macOS-latest' + shell: bash + run: xcrun simctl create "Apple Watch Series 5 - 44mm" "Apple Watch Series 5 (44mm)" - name: Build env: S3_BUILD_CACHE_AWS_REGION: ${{ secrets.S3_BUILD_CACHE_AWS_REGION }} diff --git a/gradle.properties b/gradle.properties index 73957701..03263c6e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx2g SONATYPE_HOST=DEFAULT RELEASE_SIGNING_ENABLED=true GROUP=co.touchlab -VERSION_NAME=1.2.2 +VERSION_NAME=1.2.3 KOTLIN_VERSION=1.7.20 STATELY_VERSION=1.2.3 @@ -32,4 +32,4 @@ kotlin.mpp.enableGranularSourceSetsMetadata=true kotlin.native.enableDependencyPropagation=false kotlin.mpp.enableCInteropCommonization=true kotlin.mpp.commonizerLogLevel=info -kotlin.mpp.enableCompatibilityMetadataVariant=true \ No newline at end of file +kotlin.mpp.enableCompatibilityMetadataVariant=true diff --git a/kermit/build.gradle.kts b/kermit/build.gradle.kts index 0417e8ab..708f7544 100644 --- a/kermit/build.gradle.kts +++ b/kermit/build.gradle.kts @@ -142,7 +142,7 @@ kotlin { implementation("org.jetbrains.kotlin:kotlin-test") implementation("org.jetbrains.kotlin:kotlin-test-junit") implementation("androidx.test:runner:1.4.0") - implementation("org.robolectric:robolectric:4.5.1") + implementation("org.robolectric:robolectric:4.9.2") } commonJvmTest.dependencies { diff --git a/kermit/src/darwinMain/kotlin/co/touchlab/kermit/OSLogWriter.kt b/kermit/src/darwinMain/kotlin/co/touchlab/kermit/OSLogWriter.kt index 3fd34387..94114817 100644 --- a/kermit/src/darwinMain/kotlin/co/touchlab/kermit/OSLogWriter.kt +++ b/kermit/src/darwinMain/kotlin/co/touchlab/kermit/OSLogWriter.kt @@ -35,6 +35,7 @@ open class OSLogWriter : LogWriter() { __dso_handle.ptr, OS_LOG_DEFAULT, kermitSeverityToOsLogType(severity), + "%s", message ) if(throwable != null){ diff --git a/samples/sample-production/gradle.properties b/samples/sample-production/gradle.properties index f9eb78b6..06f57be3 100644 --- a/samples/sample-production/gradle.properties +++ b/samples/sample-production/gradle.properties @@ -14,4 +14,6 @@ android.useAndroidX=true org.gradle.jvmargs=-Xmx3g # New memory model -kotlin.native.binary.memoryModel=experimental \ No newline at end of file +kotlin.native.binary.memoryModel=experimental +kotlin.native.cacheKind.iosX64=none +kotlin.native.cacheKind.iosSimulatorArm64=none \ No newline at end of file