Skip to content

Adding Swift Package Manager support due to CocoaPods deprecation#4623

Merged
shai-almog merged 3 commits intomasterfrom
cocoapods-to-spm-migration
Mar 19, 2026
Merged

Adding Swift Package Manager support due to CocoaPods deprecation#4623
shai-almog merged 3 commits intomasterfrom
cocoapods-to-spm-migration

Conversation

@shai-almog
Copy link
Collaborator

No description provided.

@github-actions
Copy link

Cloudflare Preview

@github-actions
Copy link

github-actions bot commented Mar 19, 2026

Developer Guide build artifacts are available for download from this workflow run:

Developer Guide quality checks:

  • AsciiDoc linter: No issues found (report)
  • Vale: 18842 alert(s) (2771 errors, 6392 warnings, 9679 suggestions) (exit code 1) (report)
  • Image references: No unused images detected (report)

@github-actions
Copy link

github-actions bot commented Mar 19, 2026

✅ Continuous Quality Report

Test & Coverage

Static Analysis

Generated automatically by the PR CI workflow.

@shai-almog
Copy link
Collaborator Author

shai-almog commented Mar 19, 2026

Compared 32 screenshots: 32 matched.

Native Android coverage

  • 📊 Line coverage: 7.44% (3792/50950 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 5.85% (18727/320311), branch 2.80% (872/31131), complexity 3.50% (1043/29780), method 6.17% (856/13883), class 10.27% (189/1840)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6327 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.ClassReader – 0.00% (0/1519 lines covered)
      • kotlin.collections.kotlin.collections.CollectionsKt___CollectionsKt – 0.00% (0/1148 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.MethodWriter – 0.00% (0/923 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/712 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/623 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.Frame – 0.00% (0/564 lines covered)
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysJvmKt – 0.00% (0/495 lines covered)
      • kotlinx.coroutines.kotlinx.coroutines.JobSupport – 0.00% (0/423 lines covered)

✅ Native Android screenshot tests passed.

Native Android coverage

  • 📊 Line coverage: 7.44% (3792/50950 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 5.85% (18727/320311), branch 2.80% (872/31131), complexity 3.50% (1043/29780), method 6.17% (856/13883), class 10.27% (189/1840)
    • Lowest covered classes
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysKt – 0.00% (0/6327 lines covered)
      • kotlin.collections.unsigned.kotlin.collections.unsigned.UArraysKt___UArraysKt – 0.00% (0/2384 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.ClassReader – 0.00% (0/1519 lines covered)
      • kotlin.collections.kotlin.collections.CollectionsKt___CollectionsKt – 0.00% (0/1148 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.MethodWriter – 0.00% (0/923 lines covered)
      • kotlin.sequences.kotlin.sequences.SequencesKt___SequencesKt – 0.00% (0/712 lines covered)
      • kotlin.text.kotlin.text.StringsKt___StringsKt – 0.00% (0/623 lines covered)
      • org.jacoco.agent.rt.internal_b6258fc.asm.org.jacoco.agent.rt.internal_b6258fc.asm.Frame – 0.00% (0/564 lines covered)
      • kotlin.collections.kotlin.collections.ArraysKt___ArraysJvmKt – 0.00% (0/495 lines covered)
      • kotlinx.coroutines.kotlinx.coroutines.JobSupport – 0.00% (0/423 lines covered)

@shai-almog shai-almog linked an issue Mar 19, 2026 that may be closed by this pull request
@shai-almog shai-almog force-pushed the cocoapods-to-spm-migration branch 3 times, most recently from 9f67770 to 54ede04 Compare March 19, 2026 15:02
@github-actions
Copy link

github-actions bot commented Mar 19, 2026

✅ ByteCodeTranslator Quality Report

Test & Coverage

  • Tests: 138 total, 0 failed, 2 skipped

Benchmark Results

  • Execution Time: 10403 ms

  • Hotspots (Top 20 sampled methods):

    • 32.24% java.lang.String.indexOf (592 samples)
    • 16.88% com.codename1.tools.translator.Parser.isMethodUsed (310 samples)
    • 14.49% com.codename1.tools.translator.Parser.addToConstantPool (266 samples)
    • 8.28% java.util.ArrayList.indexOf (152 samples)
    • 3.54% java.lang.Object.hashCode (65 samples)
    • 3.16% java.lang.System.identityHashCode (58 samples)
    • 2.29% com.codename1.tools.translator.BytecodeMethod.optimize (42 samples)
    • 2.18% com.codename1.tools.translator.ByteCodeClass.fillVirtualMethodTable (40 samples)
    • 1.09% com.codename1.tools.translator.Parser.cullMethods (20 samples)
    • 0.71% sun.nio.fs.UnixNativeDispatcher.open0 (13 samples)
    • 0.65% com.codename1.tools.translator.BytecodeMethod.addToConstantPool (12 samples)
    • 0.65% java.lang.StringBuilder.append (12 samples)
    • 0.65% com.codename1.tools.translator.Parser.generateClassAndMethodIndexHeader (12 samples)
    • 0.54% com.codename1.tools.translator.ByteCodeClass.markDependent (10 samples)
    • 0.49% java.lang.Integer.getChars (9 samples)
    • 0.49% java.io.FileOutputStream.writeBytes (9 samples)
    • 0.44% com.codename1.tools.translator.BytecodeMethod.appendCMethodPrefix (8 samples)
    • 0.44% java.io.UnixFileSystem.getBooleanAttributes0 (8 samples)
    • 0.44% java.lang.StringCoding.encode (8 samples)
    • 0.38% com.codename1.tools.translator.ByteCodeClass.generateCCode (7 samples)
  • ⚠️ Coverage report not generated.

Static Analysis

  • ✅ SpotBugs: no findings (report was not generated by the build).
  • ⚠️ PMD report not generated.
  • ⚠️ Checkstyle report not generated.

Generated automatically by the PR CI workflow.

@shai-almog
Copy link
Collaborator Author

shai-almog commented Mar 19, 2026

iOS screenshot updates

Compared 32 screenshots: 31 matched, 1 updated.

  • landscape — updated screenshot. Screenshot differs (2556x1179 px, bit depth 8).

    landscape
    Preview info: Preview provided by instrumentation.
    Full-resolution PNG saved as landscape.png in workflow artifacts.

Benchmark Results

  • VM Translation Time: 0 seconds
  • Compilation Time: 101 seconds

Detailed Performance Metrics

Metric Duration
Simulator Boot 1000 ms
Simulator Boot (Run) 0 ms
App Install 4000 ms
App Launch 6000 ms
Test Execution 169000 ms

@shai-almog shai-almog force-pushed the cocoapods-to-spm-migration branch from 54ede04 to 88467cf Compare March 19, 2026 15:48
@shai-almog shai-almog force-pushed the cocoapods-to-spm-migration branch from 9676ec3 to bd0741f Compare March 19, 2026 18:12
@shai-almog shai-almog merged commit e4b0844 into master Mar 19, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant