r/iOSProgramming • u/TryProfessional9543 • 1h ago
Humor The solo iOS dev experience in 2026
Based on true events.
r/iOSProgramming • u/TryProfessional9543 • 1h ago
Based on true events.
r/iOSProgramming • u/WheretheArcticis • 1h ago
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 • u/SecurelyClouded • 4h ago
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 • u/ThanhDongNguyen • 7h ago
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 • u/lanserxt • 12h ago
r/iOSProgramming • u/brianleesmith • 19h ago
We're moving from legacy CLLocationManager region monitoring to CLMonitor. Legacy works reliably for us in the background and while locked. To compare, we run both side by side on the same device (iOS 27.2.1) with the same regions.
Setup
CircularGeographicCondition (>= 100 m, under 20 conditions), CLServiceSession(authorization: .always) retaken at every launch, one task always awaiting monitor.events.
Problem
iOS relaunches the app in the background for an entry while the phone is locked. CLMonitor.h says to wait for UIApplicationProtectedDataDidBecomeAvailable before creating a CLMonitor, so we wait. The app is suspended before unlock, the monitor is never created, and both that entry and the later exit are lost. Legacy catches both.
But the same header says Core Location stops monitoring a condition if an event is pending and no CLMonitor is configured to receive it. And Apple's own sample creates the monitor at launch with no protected-data check.
Has anyone shipped CLMonitor geofencing that works on a locked phone? Do you create the monitor immediately on a background relaunch (after first unlock since boot)? Ever seen persistenceUnavailable when you do?
Also asked on the Apple Developer Forums: https://developer.apple.com/forums/thread/861070
r/iOSProgramming • u/kaishi00 • 19h ago
Cross-posting this from r/appledevelopers (original thread: https://redd.it/1yal8ey). That thread has 30 comments on Apple's new China mainland declarations and nobody has hit the self-hosted case yet, so I'm asking here too.
I'm looking for clarification regarding the new AI Generated or Synthetic Content (AIGC) and Security Assessment declarations in App Store Connect for apps distributed in China mainland.
I develop Conduit, an open-source iOS client for Hermes Agent, a self-hosted AI agent system.
The architecture is different from a typical AI chatbot application:
Conduit does not host AI models or operate an AI inference service.
Users connect the app to their own independently managed Hermes servers.
All AI inference and agent execution happen on the user's configured backend, not through a service operated by Conduit.
Users control their own model providers, server locations, and configurations.
Conduit provides the client interface for interacting with those servers.
The app also supports shared conversations between users and their independently hosted agents.
With that architecture, I'm unclear how the new declarations should be answered.
AI Generated or Synthetic Content (AIGC)
Does a general-purpose client that displays AI-generated content from user-configured, self-hosted servers count as offering an AIGC service in China mainland?
If so, whose AI filing information would be required when the app developer does not operate the AI service, select the models, or control the backend?
2. Security Assessment
Does displaying content generated by independently hosted agents, or supporting conversations between users connected to their own servers, trigger the Security Assessment requirement?
Is there a distinction between an app that operates an AI content distribution or messaging service and a client that connects to independently operated services?
3. Appropriate declarations
For an application with this architecture, should the developer select "Yes" or "No" for each declaration? If "Yes," what supporting documentation would Apple expect from a developer who does not operate the underlying AI service?
I've already submitted a support request to Apple Developer Support but haven't received a response.
I'd appreciate clarification from an Apple engineer or anyone who has received guidance about similar self-hosted AI clients.
Thank you.
r/iOSProgramming • u/yalag • 21h ago
This is super specific. But just in case anyone came across this. I built a cross platform app (iOS + macos) using the default template and everything is done with SwiftUI. Seems look to work great. Except for one thing.
For whatever reason, even though the two apps have the same BundleIdentifier they are treated as two separate apps in terms of Focus mode's allowed apps. And the worst thing is that you can add the iOS app to say "Work focus" and separately add the macOS app to also the same Work focus, but it will conflict and the OS will choose to keep one. So only ever one side will be "allowed" in work focus mode. What is the right way to tell the OS that they are really the same app?
r/iOSProgramming • u/finallyclearsky • 21h ago
I have spent about a year learning iOS development from scratch and utilizing agents extensively in the process to build my first app. The result is 1300 swift files, and quite a few lessons learned along the way. I've compiled these into a list of problems and their solutions - I hope you'll find them useful: https://finallyclearsky.com/blog/agentic-indie-ios-development-survival-kit
r/iOSProgramming • u/BobVolte • 1d ago
VoiceOver misses accessible elements generated by the Compose tree.
VoiceOver sometimes gets confused when navigating between containers.
Jetpack Compose’s technical choices limit VoiceOver’s proper functioning, particularly the decision to use a lazy tree to improve performance.
And the developers don’t seem to be able to fix all these reported issues.
r/iOSProgramming • u/FullstackViking • 1d ago
I visually prefer newlines, but code search works marginally better on inlined attributes.
r/iOSProgramming • u/V0RT3X_L33T_ • 1d ago
Our codebase has hundreds of `@Environment` call sites. Any one of them can crash in production with "No Observable object of type X found" if a view gets shown without the value injected somewhere above it, and the compiler can't see it. Every fix I found started with "first, change all your call sites."
So I built Snagless, a SwiftPM/Xcode build plugin. It reads your SwiftUI source with SwiftSyntax, works out which view shows which across modules, and fails the build when a view can appear without a value it needs. Zero code changes, about 90 ms on a 431-file app.
Built with Claude Code, and the write-up is upfront about every time the AI was wrong and what caught it.
Write-up: https://tarek-builds.dev/p/swiftui-environment-crashes-compile-just-fine-so-i-made-them-fail-the-build/
Repo: https://github.com/tareksabry1337/snagless
Happy to answer questions.
r/iOSProgramming • u/soumyaranjanmahunt • 1d ago
I wanted a live view of a running iOS app in the browser for a design/QA tool, with its element tree, and click-to-highlight working in both directions. ReplayKit was the obvious choice, but it means a consent dialog every session, a broadcast extension, and capturing the whole system when I only wanted my own app.
It turns out you can skip it entirely, with no consent dialog and no extension, and secure content still stays hidden.
I wrote up how it works and the trade-offs. Has anyone tried something similar?
r/iOSProgramming • u/JiveWookiee5 • 1d ago
EDIT: It turns out I needed to add my bank account back - it was in the "See more" section so I thought it was marked as added, but you need to click the "Add account" button and choose it from the existing accounts. As soon as I did that, it flipped to Active.
I've been unable to push any new app builds (even to TestFlight) for 3 weeks because my Agreements aren't marked as active. I reached out to Apple Developer Support twice with no response for 2 weeks now. I'm not really sure what to do.
Checking with this group in case anyone has run into this and if there is anything I can do to get this process moving. Apple Developer Support has been unacceptably slow/unresponsive, especially when this is a required paid service.
r/iOSProgramming • u/Tapedex • 2d ago
We spent the last year building an audio app (Tapedex): a vertical feed of spoken clips you swipe through, with playback that keeps running when the screen is locked.
We started cross-platform and ended up rewriting it from scratch more than once before landing on Swift. What pushed us there:
Smoothness. For a feed you swipe through all day, fast loading and fluid swiping are the whole experience. We never got it feeling quite right cross-platform.
Extensibility. Adding new features got easier once we stopped fighting the framework and could use the native APIs directly.
Focus. Testing on one platform first is just simpler. We'd rather get iOS really right before thinking about Android.
In hindsight, we probably should have gone Swift from day one for something this interaction-heavy.
Curious what others think: for apps where smooth scrolling and fast loading are core, is cross-platform still viable, or is native the only real option?
r/iOSProgramming • u/VoXiQueRa • 2d ago
I wanted to know how many apps actually localize, so I pulled public data for 6,853 apps on the US App Store: the top free/paid charts of 23 categories plus the search results for 60 common keywords (habit tracker, budget, pdf scanner, meditation and so on).
Then I grouped them by number of ratings and counted the languages listed on each product page.
| Ratings | Apps | Median languages | English only |
|---|---|---|---|
| under 100 | 2,360 | 1 | 55% |
| 100 to 1k | 926 | 2 | 45% |
| 1k to 10k | 1,468 | 5 | 37% |
| 10k to 100k | 1,195 | 8 | 30% |
| 100k+ | 904 | 11 | 24% |
It goes up at every step, no exceptions. More than half of the small apps are English only.
Obvious caveat: this is correlation, not cause. Bigger apps have bigger teams, so of course they translate more. But it does show what established apps treat as normal, and how far most small apps are from it.
By category, Food & Drink (65% English only), News (56%) and Finance (50%) are the most English-only, which makes sense (restaurant chains, local banks). Photo & Video and Graphics & Design are the most localized, with a median of 10 languages.
Some other things that came up in the same data:
34% of subtitles repeat a word that's already in the title (repeated words don't rank better, so that's wasted space)
32% of release notes are some version of "bug fixes and performance improvements"
28% of apps that run on iPad show zero iPad screenshots
only 8.5% use In-App Events (20% of the 100k+ apps, 2.6% of the under-100 ones)
One thing I learned while doing this: if an app has no subtitle, Apple shows the category name in that spot on the product page ("Health & Fitness"). So if you scrape subtitles, don't trust that field blindly.
If you're English-only and your app works the same anywhere, the cheap first step is localizing just the metadata. Every App Store localization gets its own 30-char name, 30-char subtitle and 100-byte keyword field, and you can add them without translating the app.
Method notes: "languages" = the languages on the product page, which Apple builds from the app's own localizations. Hidden metadata-only localizations aren't public, so they aren't counted. Ratings are US ratings, data from Nov 29.
Disclosure: I build Appsium, an ASO tool, and I wrote this up there with the full tables and method: https://appsium.io/reports/app-store-localization-gap-2026
Happy to run other cuts of the data if anyone's curious about a specific category.
r/iOSProgramming • u/xmintarasx • 2d ago
I'm helping a non-profit association in Lithuania (EU) enroll in the Apple Developer Program as an organization, so that I can transfer an app to them. We are stuck, and Apple support has been silent since 18 November.
What happens:
- At "Tell us about your organization", after entering the legal name and the D-U-N-S number, the form says: "This organization could not be verified as a legal entity."
- The D&B record exists and is active. Its legal form is "Non-Profit Organisation", but the "Legal Structure" that D&B's Apple support team reports back is "Unknown".
- The local D&B representative says this is a known problem for legal forms that are not a standard LLC or corporation (they also see it in Latvia, Estonia, Poland and Ukraine), that there is nothing to fix on the D&B side, and that only Apple can verify the organization manually.
What we tried:
- Apple Developer Support case (Membership and Account → Program Enrolment) opened on 18 November: no reply.
- Follow-up on 26 November: no reply.
- D&B update case: closed as "completed" with Legal Structure still "Unknown". We replied asking them to change it: no answer yet.
- The contact page shows only an Email option for this case, no Phone.
Questions:
Has anyone enrolled an association, foundation or other non-profit (especially in the EU) and hit this error? What actually fixed it: did D&B change the legal structure, or did Apple verify you manually?
Is there any way to reach a person at Apple about enrollment when the contact form only offers email?
How long did Apple take to answer in your case?
Thanks.
r/iOSProgramming • u/kantorcodes1 • 2d ago
Sparkle 2.9.6 is out, and it fixes two high-severity flaws in the update path, CVE-2026-137938 and CVE-2026-137939.
Both flaws let a local user with an ordinary account abuse a Sparkle update that runs as root. The first is a race in the installer: Sparkle checks where a downloaded update came from and resolves the link, then a root installer moves the file using the unresolved path. Swap a folder in that path for a link between the check and the move, and the root installer can be pointed at a protected file. The second is in the root updater's launcher cache, which Sparkle builds inside the logged-in user's home folder. It deletes and creates files there without refusing links, so a local user can plant a link and choose where root deletes old files and creates new ones.
An app that updates inside the user's own account does not gain root from these. The exposure is updaters that run as root: daemons, CLI tools, and helpers installed for the whole machine. The second flaw starts at Sparkle 2.2.0, so older builds do not carry it. 2.9.6 carries neither.
There is no setting that closes this and no user-side patch. The vulnerable code ships inside each app, so the fix only reaches a machine when the app maker ships an update with the new framework. If you maintain a Mac app, daemon, or CLI tool that updates with Sparkle, update to 2.9.6 and release.
Write-up with a one-command version check: https://hol.org/blog/cve-2026-137938-sparkle-macos-updater-root-escalation
r/iOSProgramming • u/AdDapper4220 • 3d ago
I’m confused as does apple want me do these things?
r/iOSProgramming • u/MarshmallowKiwi • 3d ago
Hello!
I don't usually post on reddit, but I just recently graduated from uni in CS and got an opportunity for an unpaid internship for a few months at an international company in their iOS department. But I am not very good at programming at a professional level. Is there a way to learn good? Should i just do a lot of app tutorials where they create different apps on youtube so i get familiar with different things? or is it better to do 100daysofswift as i have seen other people recommend? Appreciate all the tips, i am super excited for this internship and want to do well. maybe its my insecurities kicking in, i am not sure. Sorry.
r/iOSProgramming • u/Attack_Apache • 3d ago
I need some clarification, I am working on releasing an app where users will be able to publicly share images and videos, according to apple's Guideline 1.2, we are strictly responsible for preventing and removing objectionable content, meaning we must make sure that content does not go live in the first place.
Does that mean we will need to implement some sort of screening (say through AWS) to every image/video? Or would a system that screens reported content be enough? When asking any LLM, they all say "Yes you need to prevent objectionable content, but no you don't need to screen everything" which is very confusing, since to be able to prevent bad content from being uploaded, we'd need to screen everything.. Any help is appreciated.
r/iOSProgramming • u/JOSHGREENONLINE • 3d ago
Hi all. I'm the solo developer of Near, a countdown and count-up app for iPhone with photo widgets and shared countdowns.
Tech Stack
Swift 6 with strict concurrency, SwiftUI, iOS 26
SwiftData for storage, CloudKit sharing for countdowns shared between family members
WidgetKit (Home Screen and Lock Screen widgets) and ActivityKit (a Live Activity on the day itself)
Foundation Models (Apple's on-device model) for natural-language entry, with a heuristic parser as fallback
StoreKit 2 for the Near+ purchase, App Intents
XcodeGen for the project file
Development Challenge
Photo widgets kept rendering blank with no error. Widget extensions have a tight memory budget, and full-size photos from the library blow straight past it. The fix: downsample with ImageIO (CGImageSourceCreateThumbnailAtIndex, max 800 px, without decoding the full image) before the photo goes into the timeline entry, then re-encode as JPEG. The widgets have been reliable since.
A second one: natural-language entry ("Mom lands Dec 22 at 6pm") uses the on-device model, but it isn't available on every device or language, so a rule-based parser handles the same input when the model can't.
AI Disclosure
AI-assisted. I built it with Claude Code as a pair programmer: it wrote a lot of the SwiftUI and boilerplate under rules I set in the repo, and I designed the app, made the architecture decisions, and debugged and tested everything on device.
Free with up to three upcoming moments; Near+ is an optional in-app purchase. Happy to answer anything about the code.
r/iOSProgramming • u/Nian99 • 4d ago
I’m developing a native SwiftUI iOS app and trying to implement OpenAI’s Sign in with ChatGPT (SIWC) open-source plan-usage flow.
The documented flow requires:
A local HTTP callback at http://127.0.0.1:<port>/auth/callback
A local listener running before authorization starts
Opening the system browser
Receiving the authorization code through the loopback callback
My implementation uses Apple’s Network framework (NWListener) and opens the authorization page in external Safari.
On a physical iPhone, the OpenAI consent page loads and displays the correct account and subscription information. However, the consent button keeps spinning indefinitely, and the app never receives the callback.
My suspicion is that iOS suspends the app while external Safari is active, which prevents the local listener from receiving the redirect.
I’ve considered a few alternatives:
SFSafariViewController to keep the app in the foreground.
ASWebAuthenticationSession, although its callback handling does not appear to support HTTP loopback.
An officially supported alternative OAuth flow for native iOS apps.
The problem is that OpenAI’s documented SIWC open-source flow explicitly requires HTTP loopback and a system browser.
My questions:
Has anyone successfully implemented a local HTTP loopback listener in a native iOS app while completing OAuth in an external browser?
Does iOS actually suspend NWListener when the app enters the background?
Could SFSafariViewController keep the listener alive, and would this be a technically sound approach?
Is there another standards-compliant approach that would work without changing the provider’s required redirect URI?
I’m specifically looking for a solution that does not involve API keys, cookie extraction, password handling, proxies, or undocumented endpoints.
Any practical experience or technical insight would be greatly appreciated.