r/iOSProgramming • • 50m ago

Question My app transmits 0 data to the internet will changing that affect it?

2 Upvotes

My app is completely offline and never connects to the internet. Lately it's sky rocketing, with lots of new users and very high retention.

I want to add fully anonymous analytics to see what users do in the app and how much they use it. But that would change my privacy rating on the store.

Should I hold off while the app is growing this fast?


r/iOSProgramming • • 4h ago

Discussion Modular navigation using Scaffolding

0 Upvotes

Hey! I just released a new version of Scaffolding, a Swift package for modular navigation in SwiftUI. If you remember Stinsen, this has been made as it's spiritual successor.

It's been battle tested on few production applications already and been developer through each of their development phase as needs occured - but not to tend to specific needs of the app, but general purpose.

In terms of modularity support, each feature can expose a coordinator and keep its screens internal. The coordinator owns the navigation state, and views or their viewmodels call it when they need to go somewhere.

The reason for it to be made was a frustration with native SwiftUI navigation for large-scale applications or applications with complicated and reoccuring flows. TCA is whole ecosystem that's ever-changing, Stinsen has been dead for a while and most of the teams I worked with stayed on the UIKit coordinator pattern, which adds unnecessary boilerplate.

Modularizing the navigation doesn't work on any kind of magic - internally, the library works as a linked list which flattens, allowing for the navigation to become a tree rather than a simple stack.

The package supports push navigation, sheets, tabs, and split views. Here’s a small settings flow:

import Scaffolding
import SwiftUI

@Observable @Scaffoldable
final class SettingsCoordinator: FlowCoordinatable {
    var stack = FlowStack<SettingsCoordinator>(root: .settings)

    @Route func settings() -> some View {
        SettingsView()
    }

    @Route func account() -> some View {
        AccountView()
    }
}

Inside SettingsView, a button can read the coordinator from the environment and push the account screen:

`@`Environment(SettingsCoordinator.self) private var settings

var body: some View {
    Button("Account") {
        settings.route(to: .account)
    }
}

The main addition in this release is typed child routes. If the parent flow declares \@`Route func settings() -> SettingsCoordinator { .init() }`, it can deep-link straight to the account screen:

route(to: .settings)?.route(to: .account)

The first call returns SettingsCoordinator?, so Xcode can suggest the next route. The parent never needs access to AccountView, and both flows share a navigation stack so the user can swipe back across the feature boundary.

Thanks for reading! If you have any suggestions or questions, I'd gladly appreciate and answer them.

Let me know how you handle navigation in large-scale, modular applications.

Library: https://github.com/dotaeva/scaffolding
Documentation: https://dotaeva.github.io/scaffolding/documentation/scaffolding/


r/iOSProgramming • • 20h ago

Discussion Publishing on Google Play made me appreciate how sane the App Store is

111 Upvotes

I used to complain about the App Store like everyone else. The $99 yearly fee, App Review, all the little rules. Then I published the Android version of my app on Google Play, and now I have a new appreciation for how reasonable Apple actually is.

I built a small tennis app by myself. The iOS version went through testing and review without much drama. Some friends liked it, and a few Android users asked if I could make an Android version too.

Google Play only charges a one-time $25 fee, so I thought, why not? That $25 turned out to be the cheapest part of the whole experience.

For a new personal developer account, Google requires a closed test with at least 12 testers for 14 days before you can apply for production access. I am not a very social person, so finding 12 real humans was honestly harder than building the Android version.

I first recruited people through a small WeChat group. After a week I had 9 names, but one person never showed up and another was an iPhone user who joined by mistake. So I really had 7.

Then I found a few subreddits where indie developers test each other's apps. For several days I joined other people's testing groups and downloaded more than a dozen very random apps. In return, my testing group grew to 30+ people, which was good because some testers always disappear or run into technical problems. Even two of my original seven never managed to complete the test.

Those 14 days felt very long. With iOS, I could test the app myself, submit it, and move on. TestFlight is there if you want it, but Apple does not force you to recruit a small village before you are allowed to publish.

The closed test finally finished, production approval came through, and the Android app went live on November 21. I was relieved.

Then I noticed my home address was publicly displayed in my Google Play listing.

At first I thought only I could see it because I was logged in. Nope. For a personal developer, Google shows your name, email, phone number, and address. This is where I really started missing Apple. As an individual developer on the App Store, basically your name is shown. Apple does not publish where you live.

I looked for a simple fix. A PO Box was not enough. A virtual address was not enough either, at least not for my situation. The practical solution was to form a real company and use a business address instead of my home address.

So I formed an LLC. That meant choosing a company name, applying for an EIN, getting a business address and domain, applying for a DUNS number, opening a business bank account, and paying yearly maintenance costs. The money was a little over $200 a year, but the process took about a month and a lot of patience.

I also bought a Pixel 10 for Android testing, which was another $800 before tax. So much for Google Play being the cheap option.

Apple is definitely not perfect. I still do not love paying $99 every year, and App Review can be frustrating. But after this experience, the App Store feels much more humane to me. One person can build an app, test it, submit it, and publish it without recruiting 12 testers or putting their home address on the internet.

The funny part is that I posted an earlier version of this story in an Android developer subreddit, and it was downvoted pretty quickly. Many people there seemed to think Google's rules are completely reasonable. I understand the anti-spam argument for testing, but publishing a personal developer's home address? I still cannot understand that one. Maybe they are just used to it, or maybe many of them use company accounts and never had to deal with it.

Has anyone else here published on both stores and had the same feeling?


r/iOSProgramming • • 1d ago

App Saturday [App Saturday] Dubkey: a voice translation keyboard. Mic capture and Foundation Models inside a keyboard extension

Post image
0 Upvotes

Dubkey is an iPhone keyboard.

You talk in your language and it types in the other person's, in any app. There's also a reply mode: copy their message, say your answer, and it replies in their language and tone. Free to try, $4.99 one-time unlock.

https://dubkey.app
https://apps.apple.com/app/id6840794248

 Stack: Swift/SwiftUI, iOS 26+, XcodeGen. Keyboard extension with Full Access. SFSpeechRecognizer (on-device where the locale supports it) for transcription, Foundation Models for the rewrite, StoreKit 2, App Group for shared state, fastlane for 22 listing locales.

The interesting problem: audio in a keyboard extension. AVAudioEngineand AudioQueue don't work in the keyboard process, even with Full Access. The workaround, from stephancill/ios-keyboard-dictation (MIT), is a hidden 1×1 WKWebView that runs getUserMedia. WebKit captures in its own process, and the page streams 16 kHz PCM chunks back to Swift, which go to SFSpeechAudioBufferRecognitionRequest. Ugly, but it's held up fine. 

The nice surprise: memory. Keyboards get roughly 60-70 MB before they're killed, and I assumed an LLM in there was hopeless. But LanguageModelSession runs inference in a system process, so the model doesn't count against the keyboard. I prewarm a session when the keyboard opens, and the first result streams quickly. 

Smaller things: - On iOS 27, PrivateCloudComputeLanguageModel is an opt-in fallback for long input. It has a daily quota you can check without spending it (quotaUsage). - I expected Private Cloud to support more languages than on-device. It doesn't: same 15.

List here: https://dubkey.app/apple-intelligence-languages.html - .permissiveContentTransformations guardrails were necessary. The default guardrails refused ordinary messages surprisingly often when asked to translate them. 

AI disclosure: AI-assisted. Built with Claude Code; the architecture, product decisions and on-device testing are mine. Happy to go deeper on any of it, or on getting a Full Access keyboard through review.

Fun Fact: This was the fastest I have gotten an app approved, less than 24 hours. I didn't think it was gonna get approved so quickly and was worried about using WKWebView in such a manner. But The ioSDevWeekly from a couple of weeks ago gave me some hope...and it worked! : https://iosdevweekly.com/issues/778/


r/iOSProgramming • • 1d ago

Question RealityKit vs Unity for a lightweight procedural 3D game — when is switching worth it?

12 Upvotes

I've been building a small, low-poly procedural 3D game using Swift and RealityKit, and I'm considering whether moving to Unity would be a sensible long-term decision.

I'm an experienced software engineer, primarily from a web/frontend background, but game development is relatively new territory for me.

I've been using AI to help with implementation, which has made working with unfamiliar frameworks surprisingly accessible.

However, I'm conscious that AI can produce working solutions without necessarily making the best architectural or performance decisions. I'm particularly interested in understanding the trade-offs before committing further to either approach.

RealityKit has worked reasonably well so far, and I like keeping things native. But I'm wondering whether I'm making life unnecessarily difficult by using a framework that isn't primarily intended as a conventional game engine.

  • For relatively simple procedural 3D games, what are the practical advantages of Unity over RealityKit?
  • Is Unity's additional runtime and application-size overhead significant on iOS?
  • Does RealityKit offer meaningful advantages in performance, efficiency or integration with Apple platforms?
  • Are there particular limitations of RealityKit that tend to emerge as projects grow?
  • If you've migrated between the two, what would you do differently?

Cross-platform development is appealing, particularly the possibility of Android support, but it's not an immediate requirement.

I'm also interested in what experienced RealityKit developers recommend monitoring or validating during development, especially when AI is generating much of the implementation.

Ultimately, I'm trying to make an informed architectural decision rather than switching frameworks simply because Unity is the more established game development platform.

I'd be interested to hear from anyone who's worked with both.


r/iOSProgramming • • 1d ago

Question Guideline 5.1.1(V) accessing store VERY CONFUSED.

6 Upvotes

I have a multiplayer game where users are able to play without signing in, however, rewards and customisation are only available to users who have an account. I have a store which sells coins which aren't obtainable in any way without an account.

I have got this message from apple TWICE:

Issue Description

Specifically, the app requires users to register before accessing store. Apps may not require users to enter personal information to function, except when directly relevant to the core functionality of the app or required by law.

Next Steps

Revise the app to let users freely access the app's features that are not account based. The app may still require registration for other features that are account based.

---

Do they expect me to allow non signed in accounts to have the same functionality as signed in accounts? I have asked them to clarify if they mean just being able to see the store/products without being able to buy and they hit me with literally the exact same message. I am confused and fustrated. Send help.


r/iOSProgramming • • 1d ago

Discussion I run a full aarch64 Linux VM inside an iOS app, without JIT, so an AI agent gets a real shell

5 Upvotes

I've been building Pallas Agent, an iOS assistant where the agent loop runs on the phone itself. The models are still in the cloud (ChatGPT sign-in or any OpenAI-compatible endpoint); what runs on the phone is the harness, the tools, and your files.

Models are way better at bash and Python than at any custom tool API I could design, so I wanted the agent to have a real Linux shell on-device.

The stack

  • Swift/SwiftUI app. The agent harness (a mobile build of the open-source DeepSeek Harness) runs in-process on nodejs-mobile without JIT, behind a loopback port.
  • The first time the model calls bash, the app dlopens QEMU 10.0.12-utm (from UTM SE) and boots an aarch64 virt machine in the same process. TCG targets UTM's TCTI (aarch64-tcti) threaded-code backend, turning guest code into chains of addresses of precompiled gadgets. Since the app only ever writes data and never executable memory, it works without a JIT entitlement or a jailbreak.
  • Guest is unmodified Linux 6.12 with an Ubuntu 24.04 arm64 userland, a read-only root, and bubblewrap dropping privileged capabilities (no SYS_ADMIN, SYS_MODULE, SYS_PTRACE, etc., keeping only basic file/uid caps). The app's workspace is mounted over virtio-9p so files stay in the app's Documents directory.
  • Preinstalled: bash, Python 3.12, Node 24, npm, git, curl, ripgrep, pandas, NumPy, Matplotlib, DuckDB, and Polars.

Numbers (on iPhone, interpreter only)

  • Cold boot to first command dropped from 28s to 11s by switching to a custom uncompressed initramfs (just the 15 required modules plus 3 optional ones) and precompiling the V8 code cache and .pyc files onto a read-only tools disk.
  • After that, launches restore a whole-machine snapshot over QMP in ~1.6s.
  • Translation is under 5% of the runtime; interpretation is most of it, and for file-heavy workloads 9p round trips take over. Rough ballpark: guest work runs about 4-8x slower than TCG on a Mac.

Things that bit me

  • Random Rust crashes. This one took a while to track down: ripgrep died in ~45 out of 120 runs. Turned out TCTI's cmp_vec had the LT/LE and LTU/LEU gadgets swapped, so cmlt #0 evaluated true for zero lanes and Rust's SwissTable HashMap silently lost entries. Instead of rebuilding QEMU from scratch, I patched 8 bytes in the prebuilt binary's branch table. Upstream had actually fixed the same bug too (utmapp/qemu ed597a6).
  • Node 24's fetch taking down the whole engine. undici calls socket.setTypeOfService(0) on every new connection. On iOS that returns EINVAL if QEMU's port forward has already reset the connection, and it escaped as an uncaught exception. Switched health checks to node:http.
  • Passing V8 flags broke the code cache. Even a single non-default flag changes V8's flag hash, which makes Node silently ignore its built-in code cache and noticeably slows down startup.
  • 4 vCPUs ran slower than 2 because the extra two landed on efficiency cores.
  • iOS reclaims listening sockets when an app is suspended, which silently kills slirp's hostfwd. Rather than rebooting the guest on resume, the host just re-adds the forward over QMP.

Why not iSH? iSH pioneered this on iOS with user-mode i386 and a reimplemented syscall layer, which is much lighter and has no boot time. I went with full-system aarch64 and a real kernel mainly so official arm64 glibc binaries, namespaces, and bubblewrap work out of the box. Snapshot restore hides most of the boot cost.

The QEMU patch, guest corresponding source, and a longer write-up (including a side-by-side with iSH) are here: https://github.com/deemo0666/pallas-vm

The app: https://github.com/deemo0666/pallas-agent

If you're curious about any part of the QEMU-on-iOS setup, ask away.


r/iOSProgramming • • 1d ago

Question TestFlight suddenly stopped working across my entire Apple Developer account, but App Store submissions still work

Thumbnail
gallery
4 Upvotes

All my TestFlight builds got expired & stopped working overnight. Internal testing says "This app isn't available for your Apple Account," and submitting builds for external testing gives an unknown error.

I can still publish App Store updates, my agreements are active, and TestFlight works fine for other developer teams. I've reproduced this on both my iPhone and Mac.

Has anyone experienced this and found a fix? I've contacted Apple Developer Support but haven't received a response yet.

So many diff errors like whyyy


r/iOSProgramming • • 2d ago

Question How to recreate the native draggable tab bar indicator without the background?

6 Upvotes

Hey everyone,
I’m currently developing a Swift app and want to recreate the native iOS tab bar interaction, but with just the text labels and the draggable selection pill, without the surrounding tab bar background.
The ChatGPT iOS app implemented pretty much exactly what I’m looking for in a recent update.
I’ve already tried a bunch of different approaches:

  • Modifying existing tab bar recreations on GitHub to remove the background
  • Looking for standalone implementations of the draggable selection pill
  • Exploring projects that use undocumented APIs

Unfortunately, most of these approaches are either too limited or don’t quite capture the native look and feel, especially when it comes to animations and dragging behavior.
Does anyone have an idea how to achieve this? Ideally using public APIs, but I’d also be interested in understanding how ChatGPT implements it.
I’ve attached a screen recording showing exactly what I’m trying to achieve.
Any help would be greatly appreciated!


r/iOSProgramming • • 2d ago

Article What's left on a self-hosted Mac mini after a few months of CI jobs

21 Upvotes

Disclosure: I work at Bitrise, and we sell hosted Mac runners. The main points are here so you don't have to click.

If you run GitHub Actions on your own Mac minis, the runner usually keeps its disk between jobs. Over time that means certificates imported into the keychain by signing steps that never removed them, an App Store Connect API key from a TestFlight upload, cloud credentials from a deploy job, and the checkout of every repo that has built there.

In November, hijacked GitHub accounts pushed a script into thousands of repos' workflows that collected whatever credentials it could find on the runner. On a fresh VM it only finds that job's secrets. On a shared Mac it can find the release signing setup of an app that has nothing to do with the repo it came in through.

Things that help without changing your setup:

  • Delete the keychain and any key files at the end of every job that creates them
  • Keep repos with outside contributors on different Macs from your release builds, using runner groups
  • Don't attach self-hosted runners to public repos
  • Log in to one runner and look through its home folder

Making Mac runners properly ephemeral means macOS VMs (Tart or Anka) and a base image with your Xcode versions that someone keeps current. The write-up compares that with the other options: https://bitrise.io/blog/post/github-actions-self-hosted-runner-security

Anyone here actually rebuilding their Macs between jobs?


r/iOSProgramming • • 2d ago

Solved! My Mac mini lost 350 GB in a month. du couldn't see 280 GB of it. Here is what it was and how I found it

13 Upvotes

TL;DR: My Mac mini (M6, 1 TB, macOS 27, Xcode 27.2) went from ~500 GB free to ~150 GB in about a month. A user-level du explained only ~490 GB of the ~770 GB in use. The missing ~280 GB was mostly one root-only file, 237 GB: /System/Library/Caches/com.apple.coresymbolicationd/data. symbolscache status shows its size without root. Clearing it freed 237.7 GB.

How I got there (in the order that worked)

  1. Sample df -k /System/Volumes/Data three times, 15 s apart. That is the rate. Mine was still falling while my build and test jobs ran, so it was not an old pile.
  2. diskutil apfs list and tmutil listlocalsnapshots /: no local snapshots, no Time Machine, nothing there.
  3. du -xk -d1 per top-level folder, in parallel. It added up to ~457 GiB. Careful with units: I divided by 1048576 (GiB) and compared with diskutil (decimal GB), and "found" a 313 GB hole that was really ~280 GB. Same units on both sides first.
  4. Something was invisible to my user. A one-off root probe found the file above: 237 GB, drwx------ root, not SIP-protected, so neither du nor any cleanup tool I ran ever listed it.
  5. symbolscache status (no root) prints bytes total: 220.85 GiB there. symbolscache --wide list lists only your own uid's entries (18 GB for me), so the rest belongs to other uids, probably root's from crash reports.

What I think fed it (partly proven, partly a hypothesis)

I run a Swift Testing suite with exit tests (#expect(processExitsWith: .failure)) that trap on a precondition on purpose. Each run wrote ~4 crash reports for swiftpm-testing-helper, and every new test build has a new binary UUID that CoreSymbolication caches. Unified log, last 12 h: ReportCrashService made 374 connections to coresymbolicationd, ReportMemoryException 52, spindump 16. Activity Monitor: 0, though it had been open for days. The cache is never compacted: symbolscache --help itself says it "cannot reliably recover space during deletes" and that you must use compact.

  • Verified: a toy program that traps writes one crash report per run (3 runs, 3 reports); the same program with signal(SIGTRAP) { _ in _exit(1) } (also SIGILL, SIGABRT) exits 1 and writes none.
  • Not proven: that the exit tests alone caused 237 GB. The cache refilled to 4.9 GB overnight even after I silenced them, from crashes of ordinary macOS services. So "the tests did it" is a hypothesis.

The fix

With root, once per uid that owns entries (I had uid 0 and 501): sudo symbolscache delete --uid <uid>, then a plain sudo symbolscache delete, then sudo symbolscache compact. Deleting alone does not give the space back. Used entries 12370 → 0, bytes total 221 GB → 912 KB, and df free went 202.3 → 440.0 GB. The file keeps its logical size (237 GB) but is allocated at 0.9 MB, which is why ls -l keeps lying and stat -f %b (allocated blocks) tells the truth.

I now run a nightly LaunchDaemon that reads symbolscache status, compacts above 30 GB, and mails me the result plus a CSV row per night. Measured after the fix: 20.98 GB (2 Dec), 25.63 (3 Dec), 26.72 (4 Dec). So it still grows, slowly, and I have not found what feeds it now.

The rest of the 350 GB (all of it legitimate, which is why it's easy to miss)

  • Simulator runtimes: 41.6 GB under /System/Library/AssetsV2 (7 images, ~8 GB each). Not under ~/Library, so a cleanup that walks the home folder never sees them. xcrun simctl runtime list shows them.
  • Parallel agent/CI worktrees, 9-14 GB each: DerivedData ~9 GB, .build ~2 GB, plus 2.9 GB of tracked screenshots every checkout carries. Seven of them at once is ~60-90 GB.
  • Test temp under /private/var/folders/*/*/T**:** 27 GB of TemporaryDirectory.* and friends once.
  • Cloned simulators for automated test personas: ~3 GB each, 19 GB in a day.
  • 110 GB created in one day when everything ran at once (measured by file birth time in allocated blocks, 4.8 M files in 5 min). Free space swings 40-60 GB just from jobs in flight, so don't judge a single reading.

Traps that wasted my time

  • mdfind "kMDItemFSSize > ..." and lsof sizes are logical: cloud placeholders (Google Drive, OneDrive) and sparse files (Xcode's compilation cache: 24 GB logical, 0 allocated) look like the culprit. Read stat -f %b.
  • System Settings > Storage counts purgeable space as free. It said 451 GB available while df said 203 GB free. I first blamed the cache for that gap and was wrong: after the clear the 248 GB gap was identical to the megabyte. I still don't know what it is. Trust df -k /System/Volumes/Data and diskutil apfs list.
  • find ... -delete cannot remove a directory like *.xcresult; use rm -rf <path>.

Questions for you

  • Has anyone seen coresymbolicationd grow like this without a test suite that crashes on purpose?
  • Does anyone know what the ~248 GB gap between Settings and df actually is on macOS 27?

r/iOSProgramming • • 3d ago

Discussion [TESTFLIGHT] Voice Lists - Lists with on device AI

Thumbnail
testflight.apple.com
0 Upvotes

r/iOSProgramming • • 3d ago

Tutorial Explore a new SwiftUI element every day – Explore SwiftUI Advent Calendar

Thumbnail
exploreswiftui.com
9 Upvotes

Hello fellow devs,

I run a free website called Explore SwiftUI, where you can visually explore native SwiftUI elements and modifiers. There are now more than 250 entries across all platforms and devices, and even elements from the OS 27.3 betas are already covered.

As a fun little end-of-year project, I decided to create an Advent calendar where I'll add a new element every day for you to explore. There are also a few more fun things to discover – all about SwiftUI!

Have fun, and I hope it helps you learn something new!


r/iOSProgramming • • 3d ago

Solved! I made free, MIT device frames for screenshots (drawn in code, CLI +React), since frameit stopped getting new devices

Post image
13 Upvotes

Every September I end up hunting for new device frames. fastlane's frameit stopped getting updates, and Apple's bezels can't be bundled into
tools because of their license.

So I built openbezels: every frame is generated from a spec, no Apple artwork inside.

- Drop a screenshot on the site and it snaps into the right device (detects by resolution): https://aryanpatil5.github.io/openbezels/

- CLI for whole folders: `npx openbezels frame ./screenshots`

- React component + Node API

- App Store / Play size exports

- If you need Apple's official bezels (their marketing guidelines ask for

them on the App Store), there's a bring-your-own-bezels mode

GitHub: https://github.com/AryanPatil5/openbezels

Honest question: do the frames look accurate enough for you to use them?

Which devices am I missing?


r/iOSProgramming • • 3d ago

Question Did you publish your first iOS app under your own name or set up a company?

30 Upvotes

I’m getting ready to put my first app on the App Store. I live in Romania, and setting up a company feels like a lot of paperwork when I don’t even know yet whether anyone will use the app. At the same time, I’d prefer to have a brand name on the listing.

What did you do for your first app? Did you use your own name, a company you already had, or set one up just for the app? Would you do it the same way again?


r/iOSProgramming • • 3d ago

Discussion My first game finally got approved after 3 months and 7 rejections

12 Upvotes

Hey everyone,

My first-ever game finally got approved earlier this week :)

I’m an independent developer, and over the past three months, I spent quite a lot of time reading posts on this subreddit about long reviews and checking the comments to see if people eventually got approved. I thought I’d share my experience too.

One of my submissions spent 7 days in Waiting for Review and another 24 days In Review before being rejected.
My last submission spent almost 10 days in Waiting for Review and another 6 days In Review before being rejected. The rejection included 4.3(a) for spam and 5.1.2(i) for data use and sharing.

This time, instead of resubmitting, I replied through App Store Connect. The next day, App Review replied saying they would continue the review and later that evening, build and all submitted IAPs were approved

One thing I learned is that App Review does respond to messages while your app is in the Rejected state. In my experience, it took around one day on two occasions and three days on another. So it might be worth replying before immediately resubmitting.

I’m mainly sharing this for anyone going through a similar experience and looking for some light at the end of the tunnel, just as I was.

Hopefully, this post can be one of those for someone else :)


r/iOSProgramming • • 3d ago

Discussion Agent written SwiftUI keeps breaking accessibility and nobody notices

10 Upvotes

Our iOS app has a lot of older users, and accessibility matters for us, about 9% of sessions use VoiceOver or a large dynamic type size. Since agents started writing most new screens, our accessibility has been quietly getting worse.

What a blind user's email made us find last month:

- icon only buttons with no accessibility label, so VoiceOver reads "button"
- a custom card that groups 5 elements into one, so you can't reach the delete action
- text in fixed frames that gets cut off at larger type sizes
- a sheet that traps focus when it opens

coderabbit catches some of it in review, like an Image used as a button without a label. But reading order and what happens at the largest text size don't show up in a diff, and none of us test with VoiceOver on every PR.

What's helped so far:

- accessibility snapshot tests at 3 dynamic type sizes for our main screens
- a short accessibility section in the agent's instructions
- one person doing a 10 minute VoiceOver pass before each release

How do other iOS teams keep accessibility from slipping when agents write the UI? Anything automated that actually catches the VoiceOver problems?


r/iOSProgramming • • 3d ago

Discussion Jokes aside, anyone read what the new EU Product Liability Directive is and it’s impact?

25 Upvotes

Look, this is bad, and I am honestly baffled how this is not on Reddit or on the sw dev threads for mobile apps.

Tldr; If you develop any app for consumers, especially with AI, you have no ceiling in what could be claimed as damages and claimants have up to 25 years time to sue you for long-standing harm - think habit forming apps, imagine the user coming back after 25 years saying that your app failed to deliver its promise and caused him irreparable damages and his friend, the doctor, pulled out a paper claiming thats right.

If you develop and distribute an app in the EU this is serious:

The revised EU Product Liability Directive (Directive (EU) 2024/2853) applies across EU Member States starting December 9, 2026. For the first time, it legally defines standalone software, mobile apps, SaaS, and AI systems as "products" subject to strict (no-fault) liability. 

  • No fault required: Users do not need to prove you were negligent or careless. They only need to show that your app had a defect, they suffered covered harm, and the defect caused it.
  • EULA waivers are void: Standard "provided as-is" clauses and liability caps in your Terms of Service or EULA cannot exclude or limit your liability to an injured consumer.
  • Under the revised directive, consumers can claim: 1)Destructions or corruption of personal data; 2)physycal, pshychogical injury; 3) damage to private property
  • Previously liability expired strictly 10 years after a product was first put into circulation. Under Article 17(1), the 10-year expiry period restarts from zero every time you release a substantial modification to the app.
  • Under Article 17(2), if an injured user could not start legal proceedings within the standard 10 years because symptoms of a personal injury were slow to emerge (latent injury), the long-stop expiry period extends from 10 years to 25 years.
  • If a user presents a plausible claim, a court can order you to hand over internal logs, source code, or documentation in an "easily understandable" format (with protections for trade secrets).
  • If technical complexity (such as AI/ML behavior) makes it excessively difficult for a user to prove how a bug caused their harm, courts can presume the software was defective unless you prove otherwise. 

So guys, how come no-one is aware of this stuff? It applies to all apps published after 8th of december, updates included.

What is your plan of action?


r/iOSProgramming • • 3d ago

Question Best options for selling a mac app outside the App Store?

11 Upvotes

I'm looking for some advice on the best way to handle distribution for a mac app other than the App Store. I am working on an app that doesn't fit the SandBox guidelines for the app store so my plan is to sell it myself through my own site.

So far all of my apps sell through the app store, so this is new for me.

I am leaning towards using Sparkle to handle updates and then handling payments and license keys with something like Paddle, Polar or DoDo Payments. Another option would be to build my own version with Stripe.

Does anyone here have any experience with this? Is there a better option than the ones that I listed? Any advice or insight would be great.


r/iOSProgramming • • 4d ago

Humor The solo iOS dev experience in 2026

Post image
163 Upvotes

Based on true events.

UPD.
I'm surprised to see such a mixed reaction. I can see a ton of upvotes and downvotes, which is unique to this sub. First of all, this is a satirical illustration that exaggerates and combines the collective experience of starting an app business in 2026. Second, I am surprised many assumed that OP is not a developer. I am a software engineer with 20 YOE who worked at FAANG level companies and went solo this year. Apologies for using "Dev", I didn't realize that it could hurt someone's feelings. Also, don't be delusional, marketing and distribution are not easy for any product. Seeing someone's cool demo likely means that they tried to post and promote it many times before, and you see the success that came only after many attempts and iterations.


r/iOSProgramming • • 4d ago

Question AI apps suddenly at the top of search results for attractive keywords, and they have only been out for couple of months - Has something happened with App Store algorithm regarding keywords and search results?

3 Upvotes

My own app has plummeted in downloads during November. I could not find any reason why, so I started having a look at rankings for different popular keywords. I then suddenly find a lot of ai apps are ranking above mine, even though they have only been out a couple of months with few ratings. My app has a lot of ratings and has been out multiple years. And it is not just my app it has happened to. Searching for ‘meal plan’ in the Danish App Store has a one month old meal planner app as number 1 result. It has only 4 ratings and is shown above much more established meal plan apps that have been out for years.

Anyone else seeing this trend?


r/iOSProgramming • • 4d ago

Question Issues enrolling business as developer for 3 months. Complaint system?

2 Upvotes

Hello.

Does anyone have any experience or happen to know the escalation protocol for the Apple development enrollment? I've been back and forth with the same 2 "senior" support team members for over 3 months now and I'm being told that there's no further escalation point but the very support tech that is unable to assist me.

Is that a true statement? Surely there's a process to either get the ticket escalated to someone else or involve a more-senior member of staff/manager?

I'm not one to just to complaints, but 3 months is an insane amount of time for an issue that isn't mine. It's a very long story but to keep it short, Apple support and verification emails are unable to send anything to my mail providers servers (and subsequently my business email inbox hosted with them). I am an engineer/developer by profession and have done my due diligence, the issue as my provider has stated (and provided evidence in screenshots and network logs) is with Apple, not their side / mine.

Any advice would be appreciated!


r/iOSProgramming • • 4d ago

Tutorial Open at login on macOS 13+: SMAppService is enough, you don't need a helper app

6 Upvotes

I used to look up the old login item helper pattern every time I needed "open at login" in a Mac app. Since macOS 13 you can do it with SMAppService in the ServiceManagement framework, for the main app, with no helper target.

import ServiceManagement

func setLaunchAtLogin(_ on: Bool) throws {
    if on {
        try SMAppService.mainApp.register()
    } else {
        try SMAppService.mainApp.unregister()
    }
}

register() does not always mean it is enabled. Read SMAppService.mainApp.status after you call it.

  • .enabled — it will launch at login.
  • .requiresApproval — the system accepted the registration, but the user still has to allow it in System Settings. This also happens if they turned it off later.
  • .notRegistered / .notFound — it is not set up.

If the status is .requiresApproval, you can open the right Settings pane for them:

if SMAppService.mainApp.status == .requiresApproval {
    SMAppService.openSystemSettingsLoginItems()
}

On my Mac that pane is under System Settings > General > Login Items (the exact name is "Login Items & Extensions" on some versions). I would confirm the label before you show it in a screenshot in your own UI.

You don't need a special entitlement for SMAppService.mainApp. You only need a helper (and SMAppService.agent(plistName:) or the daemon variant) if you are registering something other than the main app.

I think the main mistake is to treat register() as "it is on now" and not handle .requiresApproval. The toggle in your Settings window will look broken if you don't.

Happy to hear if this behaves differently on 26/27 for anyone.


r/iOSProgramming • • 4d ago

Tutorial iOS 27.1: DeviceHinge

Thumbnail
antongubarenko.substack.com
0 Upvotes