<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Engineering Notes, by Artur Berkovics</title>
  <link>https://arturberkovics.com/blog/</link>
  <atom:link href="https://arturberkovics.com/blog/feed.xml" rel="self" type="application/rss+xml"/>
  <description>Long-form engineering notes from building ClamNotes alone: Swift concurrency, Core ML on old iPhones, background audio, App Attest and 25 languages.</description>
  <language>en</language>
  <lastBuildDate>Tue, 03 Nov 2026 12:27:38 +0000</lastBuildDate>
  <item>
    <title>The assumeIsolated crash in a BGTask expirationHandler, and why Swift 6 didn&#x27;t warn</title>
    <link>https://arturberkovics.com/blog/bgtask-expiration-handler-mainactor-assumeisolated-crash/</link>
    <guid isPermaLink="true">https://arturberkovics.com/blog/bgtask-expiration-handler-mainactor-assumeisolated-crash/</guid>
    <pubDate>Tue, 03 Nov 2026 08:00:00 +0000</pubDate>
    <category>Swift Concurrency</category>
    <description>MainActor.assumeIsolated in a BGTask expirationHandler traps with _dispatch_assert_queue_fail. Why Swift 6 never warned, how to reproduce it, and the fix.</description>
  </item>
  <item>
    <title>My Core ML model crash-looped an iPhone 11: the Neural Engine&#x27;s first-load memory spike</title>
    <link>https://arturberkovics.com/blog/ios-neural-engine-model-load-memory-crash/</link>
    <guid isPermaLink="true">https://arturberkovics.com/blog/ios-neural-engine-model-load-memory-crash/</guid>
    <pubDate>Tue, 03 Nov 2026 08:00:00 +0000</pubDate>
    <category>Core ML</category>
    <description>On a 4 GB iPhone, Core ML&#x27;s first Neural Engine load blew past the memory limit and jetsam killed the app on every launch. How to spot it and guard against it.</description>
  </item>
  <item>
    <title>App Attest on Cloudflare Workers: Hide Your LLM API Key</title>
    <link>https://arturberkovics.com/blog/ios-app-attest-cloudflare-worker-api-key/</link>
    <guid isPermaLink="true">https://arturberkovics.com/blog/ios-app-attest-cloudflare-worker-api-key/</guid>
    <pubDate>Tue, 03 Nov 2026 08:00:00 +0000</pubDate>
    <category>iOS Security</category>
    <description>Why an LLM API key shipped in an iOS app can be extracted, and how a Cloudflare Worker checks Apple App Attest attestations and assertions before forwarding.</description>
  </item>
  <item>
    <title>Shipping Core ML speech models with Apple-hosted Background Assets</title>
    <link>https://arturberkovics.com/blog/on-device-speech-models-background-assets/</link>
    <guid isPermaLink="true">https://arturberkovics.com/blog/on-device-speech-models-background-assets/</guid>
    <pubDate>Tue, 03 Nov 2026 08:00:00 +0000</pubDate>
    <category>iOS Engineering</category>
    <description>How I ship 4.6 GB of Core ML speech models in an iOS and Mac app with Apple-hosted Background Assets: ba-package, AssetPackManager, TestFlight, pitfalls.</description>
  </item>
  <item>
    <title>Recording a whole class with the screen locked: AVAudioEngine and AVAudioSession in the background</title>
    <link>https://arturberkovics.com/blog/ios-background-audio-recording-avaudioengine/</link>
    <guid isPermaLink="true">https://arturberkovics.com/blog/ios-background-audio-recording-avaudioengine/</guid>
    <pubDate>Tue, 03 Nov 2026 08:00:00 +0000</pubDate>
    <category>iOS Audio</category>
    <description>Why an iOS recording keeps counting but hears nothing once the screen locks, and the fixes: interruptions, engine rebuilds, background time and zero buffers.</description>
  </item>
  <item>
    <title>Localizing an iOS App to 25 Languages with String Catalogs</title>
    <link>https://arturberkovics.com/blog/localize-ios-app-25-languages-string-catalog/</link>
    <guid isPermaLink="true">https://arturberkovics.com/blog/localize-ios-app-25-languages-string-catalog/</guid>
    <pubDate>Tue, 03 Nov 2026 08:00:00 +0000</pubDate>
    <category>Localization</category>
    <description>How I keep an iOS and Mac app complete in 25 languages: String Catalogs, a script that checks .stringsdata against the catalog, CLDR plurals, legal text.</description>
  </item>
</channel>
</rss>
