r/iOSProgramming • • Sep 18 '26

Question Can't restore connection between iPhone and Watch

1 Upvotes

I'm working on an iOS app that has a Watch component. Everything syncs fine at first (perform an action on the phone and it shows on the watch and vice versa). Then I turn on airplane mode on my phone to break the connection, perform a few actions on both devices, turn airplane mode off, everything syncs. Great. However, right after that post-airplane mode sync, the connection between the two devices fully breaks. Nothing syncs and the apps won't connect to each other again unless I reinstall them. Anyone encounter this or have any ideas on a fix? It's been driving me nuts all day. Thanks in advance!


r/iOSProgramming • • Sep 17 '26

Discussion How do you keep yourself motivated in times of agentic coding?

73 Upvotes

I recently tried to prototype a new app with the help of agentic coding - I basically had it done in 2 days what would have usually probably taken 1-2 months. That is great in theory, but I just didn’t have the feeling of having achieved something, like I usually feel - so I stopped working on the app.

I develop my own apps and games since 7 years now and this is the first time for six months that I can’t motivate myself to start a new app - even though the start is often the most fun part of a project to me.

Already thought about developing without the help of AI, but then I constantly have in mind, that I could probably save weeks of work using AI and spend this time with friends, family, sports etc. instead.

I was wondering if others share the same struggle or if you have a good advice to help me look at it from another perspective so I can motivate myself again.

Other devs in person already told me that it’s great because they like to build stuff, which they can do much faster now, and not the coding itself - but I don’t know, I think coding everything myself was probably the part that gave me that feeling of achievement.


r/iOSProgramming • • Sep 17 '26

Discussion Rejected with an account warning. Anyone actually get useful feedback from App Review?

13 Upvotes

Our app got rejected for spam on August 27. I replied explaining how the app is different and added a walkthrough video. We also asked what specifically is flagged as spam. We heard nothing back for almost 3 weeks.

On Sept 14, we submitted a substantially revised build and addressed the rejection directly in the review notes. The next day we got the EXACT same rejection. Zero acknowledgement of the review notes but this time, we got a warning about possible account removal for repeated noncompliance (Thanks Apple!)

It's now been almost 1.5 months since we first submitted our app and Apple has left us completely in the dark, not responding to any of our replies and instead giving us threats about account removal if we keep resubmitting the app. ??? How is this OK? Anyone else facing something similar? Been a dev for years and I'm seriously baffled by Apple's handling of this.


r/iOSProgramming • • Sep 17 '26

Question Has Xcode 27 stopped supporting universal simulator runtimes?

5 Upvotes

Since one of the dependencies in my project only supports ios-x86_64-simulator, I followed this guide to install universal runtime for Xcode 27 iOS simulator, but got the following error instead:

$ xcodebuild -version
Xcode 27.0
Build version 27A266a

$ xcodebuild -downloadPlatform iOS -architectureVariant universal
Finding content...
No matching universal downloadable found for platform: iOS
No needed downloadables found for universal

This worked just fine in Xcode 26 though, so I wonder if Apple has stopped supporting universal simulator runtimes from Xcode 27.

Any explanation or reference for this issue? Thanks in advance.


r/iOSProgramming • • Sep 17 '26

News Xcode 27 adds more tools for external agents!

8 Upvotes

Did you know that AI Agents can control Xcode through the built in MCP server? Aka it can control it from an agent running in the terminal, without using the AI interface inside Xcode. And with Xcode 27 the agents now how a lot more useful tools they can call!

Im working with a multi-scheme app, so the new XcodeSwitchScheme is my favourite. Saves me from so many clicks inside Xcode for letting the agent run the app/test schemes it wants!

Here is how to add it to your coding agent:

https://developer.apple.com/documentation/xcode/giving-external-agents-access-to-xcode


r/iOSProgramming • • Sep 17 '26

Library enriched-markdown-ios v0.3.0 - now with LaTeX math (powered by RaTeX)

5 Upvotes

enriched-markdown-ios, the SwiftUI Markdown renderer built on TextKit 2, can now typeset LaTeX.

New in this release:
🔸 LaTeX math - inline $…$ and display $$…$$powered by RaTeX (a Rust layout engine with KaTeX fonts). Shipped as a separate EnrichedMarkdownLaTeX product, so apps without formulas don't link the typesetting engine
🔹 Highlight - ==text==
🔸 Spoilers - ||text||, hidden until tapped. Ships with particle and solid overlays, and you can plug in your own effect (blur, pixelate, whatever fits your app) by subclassing SpoilerOverlayView
🔹 Admonitions - GitHub alerts (> [!NOTE], > [!TIP], > [!IMPORTANT], > [!WARNING], > [!CAUTION]) with a tinted bar, icon, and title
🔸 Better VoiceOver - headings, links, images, lists, tables and code blocks are separate elements, with rotors and localizable labels
🔸 Spoken math - common formulas are read aloud ("x squared over 2"), with a hook for your own converter

🎥 Demo video in the comments.

💎 Available via Swift Package Manager!

dependencies: [
  .package(
    url: "https://github.com/software-mansion-labs/enriched-markdown-ios.git",
    from: "0.3.0"
  ),
],
targets: [
  .target(
    name: "YourApp",
    dependencies: [
      .product(name: "EnrichedMarkdown", package: "enriched-markdown-ios"),
      .product(name: "EnrichedMarkdownLaTeX", package: "enriched-markdown-ios"), // optional, for math
    ]
  ),
]

Then enable math on the view:

import EnrichedMarkdown
import EnrichedMarkdownLaTeX

EnrichedMarkdownText(content)
  .markdownLaTeX()

GitHub & Docs: https://github.com/software-mansion/enriched-markdown/blob/main/packages/enriched-markdown-ios/README.md

What features or syntax support would you like to see next? I'd love to hear your thoughts! If you find the library useful, a ️⭐️ on GitHub is always appreciated.


r/iOSProgramming • • Sep 17 '26

Question Xcode mcp va xcodebuildmcp

12 Upvotes

Now that we can use Xcode mcp without running Xcode is it time to migrate from xcodebuildmpc ?

What do you think?


r/iOSProgramming • • Sep 17 '26 Bravo

Discussion The best marketing I did for my side project was paying for an app icon

0 Upvotes

A couple of weeks ago my new app launched with an icon designed by Iconfactory. Today that icon is on their website as the example of how their process works, and they shared my post about it with their audience. That gave my app more attention than anything I've managed to do myself.

To be clear up front: marketing is not part of the deal. Nobody promised me anything, and I'm not affiliated with them. This was a very happy accident. But I didn't just sit back and wait for it either, so here's how it went.

Some background

I'm a full time developer and I build apps in my spare time. My latest is Hue Dashboard, a Philips Hue control app for iPhone and iPad. I can build pretty much anything I need, but drawing icons is not one of those things.

For a long time a studio icon felt out of reach. Iconfactory makes icons for apps like Transmit, Fantastical and Firefox, and that seemed like something for established apps that were already successful, not for a project built in the evenings. Then they launched an indie icon deal aimed at small developers, and suddenly it was realistic for someone like me.

How the process works

You start with a short intro about yourself and your app, and you show them icons you like. You get a set of concept sketches, one round to refine your favorite direction, and one small final tweak before they deliver an Icon Composer file. So feedback rounds are limited, but the whole thing moves really fast. The image now featured on their website shows the full path from first sketches to the final icon.

The part I didn't plan

On launch day I posted a thank you on Mastodon. I tagged Iconfactory, showed off the icon, and linked to the indie deal so other devs could find it too. That's really all I did. No outreach, no pitch, just an honest thank you, because I still couldn't quite believe I got to work with them.

Then they picked it up. My icon now shows up on their site to explain their process, my quote is among the developer reactions, and they shared my post with their followers. If I learned anything, it's that a genuine public thank you costs nothing and can go further than you'd expect. The rest was luck.

Would I recommend it?

Yes. Even without the extra attention it was worth it: a great icon and a genuinely fun process. The attention was a bonus I would never have gotten on my own.

Happy to answer questions about the process if you're considering it.


r/iOSProgramming • • Sep 17 '26

Question Anyone here with a single legal name (no surname) enrolled in the Apple Developer Program? Did the "put a period in the last name" trick cause issues later?

3 Upvotes

Hey everyone, hoping someone has been through this.

I'm from Indonesia and I only have one legal name is just "Kuswanto", no surname. Pretty common here, but apparently not something Apple's enrollment flow loves.

When I did the ID scan in the Apple Developer app, the OCR chopped my name into "KUS WANT G" 😅 which is now sitting there in the Full Name field looking very official and very wrong.

I emailed Developer Support and they told me to enter my name as the first name and a period (.) as the last name. Which... okay, sure. But now I'm slightly paranoid about two things:

  1. Does the period show up anywhere public? Like in the seller name on the App Store. I really don't want to be "Kuswanto ." forever.
  2. Did it cause any headache later with banking or payouts? I've read that the account holder name in App Store Connect doesn't have to match your legal name, so in theory it should be fine, but I'd love to hear from someone who has actually received a payout this way rather than just reading the docs.

Also curious whether anyone managed to get the wrong OCR name fixed, or if manually entering first/last just overwrites it.

If you're from Indonesia, India, Myanmar, or anywhere else where mononyms are normal and you've been through this, how did it go? Any gotchas I should know about before I pay the fee?

Thanks in advance 🙏


r/iOSProgramming • • Sep 17 '26

Question Retention Messaging for App Store Connect (not API)

1 Upvotes

Hello,

is there any information on the Retention Messaging in App Store Connect? I don't mean the API you have to apply for.

Does anyone know whether Apple plans to ship this feature any time soon? Somewhere I saw this fall 2026 but it was probably a post about the API instead.

Or do I have to apply for the API early access to also unlock the App Store Connect version without the endpoint? Or am I just overlooking that feature somewhere?


r/iOSProgramming • • Sep 17 '26

Question Managing external/internal versions in TestFlight vs production App Store version

2 Upvotes

New to iOS, looking for ideas on how to manage versions of an app from Github & CI/CD as they flow through internal -> external -> production.

Current approach:

  1. A workflow is manually run to "create a release". This creates a new tag with a semver based off of the conventional commits since the previous tag/release (eg. increment patch version for a fix:, minor version for a feat:)
  2. The release app configures the marketing version and build number to match the semver, is built and uploaded to TestFlight
  3. The build artifact is promoted from internal -> external -> production in TestFlight

I heard that for TestFlight external builds, if you change the marketing version it requires the build goes through the "beta review" process again, whereas if you just increment the build number it does not.

Because of this, I plan to adjust the process so that the marketing version (the version that'll eventually be displayed in production) is <major>.0.0, and the build number is <major>.<minor>.<patch>. After the initial beta review for a "major" version, the app can be updated with subsequent releases that increment only the build number without having to be reviewed again. After a production release to the App Store, a new release is cut with a "major" version increment to kick off the next cycle.

The advantage of this is a version of the app always ties back to a tag/commit in Github, and the app build tested in external testing is exactly the same build that'll get released to production. The disadvantage is the marketing version that is shown to users in the App Store only has a single, incrementing "major" version number.

I'm satisfied with this compromise, but also a perfectionist so interested in others approaches, or any ideas others have that can improve on this? I'd ideally like the full semver reflected in the marketing version, but I can't see a way without repeating the "beta review" each time.


r/iOSProgramming • • Sep 16 '26

Question Swift app using Hummingbird Middleware gives error: does not conform to protocol 'MiddlewareProtocol'

0 Upvotes

I am using Hummingbird version 2.26.0 in a Swift app.

I have a simple Middleware per the documentation:

https://docs.hummingbird.codes/2.0/documentation/hummingbird/routermiddleware/

Code:

import Hummingbird

public struct LogRequestsMiddleware<Context: RequestContext>: RouterMiddleware {

    public func handle(_ input: HummingbirdCore.Request, context: Context, next: (HummingbirdCore.Request, Context) async throws -> HummingbirdCore.Response) async throws -> HummingbirdCore.Response {
    
        print("path: \(input.uri.path)")
        return try await next(input, context)
    
    }

}

Xcode keeps giving me error:

Type 'LogRequestsMiddleware<Context>' does not conform to protocol 'MiddlewareProtocol'

Screenshot of error:

https://i.sstatic.net/C06jUvrk.png

I can't seem to be able to fix it. Any idea what I am doing wrong?


r/iOSProgramming • • Sep 16 '26

Article project.pbxproj is dead 🪦

Thumbnail
developer.apple.com
187 Upvotes

Xcode 27.2 ships a JSON project format (.xcproj): default for new projects, readable, merge-friendly, agent-editable.


r/iOSProgramming • • Sep 16 '26

Discussion Xcode 27.2 Beta adds a new JSON-based project format

Thumbnail
developer.apple.com
255 Upvotes

From Apple's description, it's "more readable, merge-friendly, and easier for coding agents to edit. Enable it in the file inspector. Projects using .xcproj also open in earlier versions of Xcode 27."

I tried it briefly, and it's half the size of the old property list format, and much simpler too.


r/iOSProgramming • • Sep 16 '26

Solved! Why can't I create a watchOS 27.0 simulator?

Thumbnail
gallery
3 Upvotes

I installed SDK, restarted both Xcode and Device Hub, but still nothing... watchOS 27 does not appear on the list... Any ideas?


r/iOSProgramming • • Sep 16 '26

Solved! Xcode Cloud kudos

36 Upvotes

I just wanted to give some unexpected kudos to Xcode cloud. At the start of the summer my MacBook Pro became out of action, and therefore I struggled to continue to develop using an older intel MacBook due to Xcode version restrictions. Tried building and releasing with GitHub macOS runners but wow they’re expensive and took ages to startup etc. then spotted Xcode cloud with 25 free hours a month, thinking this will keep me going for a few days. Since then I’ve found that it’s been absolutely brilliant. As an independent developer with a few apps and projects it’s been an absolute life saver. It’s fast. Beautifully integrated, and the 25 hours will last me a whole month without any worries.

Good work Apple.


r/iOSProgramming • • Sep 16 '26

Question Do terminated developer accounts ever actually get reinstated?

4 Upvotes

Hey everyone!

Roughly half a year ago, my Apple developer account got terminated due to a violation of Section 3.2(f). The email pretty clearly tells me why this happened, and it was because I used my developer account to sideload apps quite extensively. I did not have any actual apps published on the App Store, but I did have a game on TestFlight with public testers.

I acknowledge the violation. An appeal immedietally after it got terminated did not help, and I haven't had the balls to appeal it again / contact Developer Support in any way. The email says something along the lines of "we will deny your reapplication to the ADP for at least a year considering the nature of your acts".

My question is, does anyone have experience with getting their account reinstated after this "at least a year" timeframe? If so, how? Does Apple even reply to the contact form?

Or am I just cooked


r/iOSProgramming • • Sep 16 '26

Question Sandbox purchase fails on watchOS

Post image
0 Upvotes

I have an issue when trying to test an IAP on watchOS. This flow worked before but seems to be broken on watchOS 26.6.

  • Watch are in the developer mode.
  • On the iPhone, Sandbox account is logged in, App Store account logged out.

I tried rebooting the watch and using different Sandbox accounts. What would you suggest?


r/iOSProgramming • • Sep 16 '26

Question Live activity timer

2 Upvotes

I am trying to add a live activity for our app that has a timer. The idea is the user starts a timer and a live activity starts when the timer starts. However, it does seem to disappear at some point. Maybe around 8-12 hours which matches the documentation on Apple. But for Apple's clock app, their timer's live activity for stopwatch seems to run forever. I am using the SwiftUI Text timerInterval which is likely the same as Apple's. Does anyone have an idea or suggestion how I can replicate it? A few ideas I have are to schedule a silent push to keep the live activity alive or a scheduled background process.


r/iOSProgramming • • Sep 16 '26

Discussion Make AI chat a floating window

Post image
0 Upvotes

How do I make the AI chat assistant into a floating window in Xcode27?


r/iOSProgramming • • Sep 16 '26

Discussion I logged 291 App Store review cycles across 43 of my own apps. Here's what actually predicts a slow review.

Post image
0 Upvotes

UPDATE 9/16/26 - removed AI's fluff, fixed broken tables.
UPDATE 9/16/26 - added "In Review" data.

I've been shipping iOS games as a solo dev for a couple of years. App Store Connect keeps a full activity log per version, so I exported all of it — 43 apps, 291 review cycles, July 2024 through September 2026 — and measured time from Waiting for Review to In Review. That's the queue, not the review itself:

WaitShare of submissions
under 6h18%
6–12h13%
12–24h41%
1–2 days18%
2–3 days7%
3–5 days2%
over 5 days1%

71% entered review within a day, another 18% within the next 24h. The worst single wait in two years was 10 days.

1. A brand-new app doesn't get a longer wait than an update.

TypeSubmissionsTypical wait
New app submission3718h
Ordinary update19216h

62% of first-ever submissions cleared the queue inside 24h, and the slowest one in the whole dataset was 58h.

2. Apple rejection costs you less in a next queue time compared to rejecting your own submission.

"Developer Rejected" — you pull your own binary while it's waiting or in review, fix something, upload a new build. I have never rejected a submission that went into review.

TypeSubmissionsTypical waitAverageUnder 24h
Ordinary update19216h21h80%
Resubmit after Apple rejected it3117h30h61%
Resubmit after you rejected it3026h28h39%

3. Day of week effect

Typical wait by day submitted: Wed 12h, Thu 14h, Tue 14h, Mon 17h, Sun 18h, Sat 23h, Fri 33h.

Friday submissions took about 2.5× as long to enter review as Wednesday ones. Not THAT important, just curious fact.

4. This summer anomaly
There was a lot of noise here in July–August about reviews crawling. I submitted an update on 7/24, rejected it on 7/30 (wrongly assuming that something was wrong), resubmitted immediately and it was waiting almost another six day for review. Next update was ready by that time, submitted on 8/5 - waited 5 days in queue. Those numbers are excluded from the average figures.

5. New account effect
I didn't notice any. My wait increased in time, but I attribute it to Apple being overwhelmed by new submissions..

6. "In Review" time

TypenMinMedianMeanMax
Every review2901 min1.2h2.2h37.0h
Very first submission of an app373 min2.5h3.6h16.2h
Any 1.0.x621 min1.9h3.4h20.8h
Later versions2281 min1.1h1.8h37.0h
------------------
Ended in approval2571 min1.2h2.2h37.0h
Ended in rejection333 min1.3h1.6h3.9h
After a previous approval1891 min1.1h1.7h30.8h
After an Apple rejection331 min1.1h2.4h20.8h
After I pulled it myself311 min58 min3.2h37.0h

So while the first version of an app does take twice as long to review, it's negligible compared to the wait time.
I did exclude one 112h review (this August), as it clearly was a fluke, among longest wait for review.

Happy to share the aggregate numbers or the method if anyone wants to check my work. If you've got your own activity logs, the export is a couple of minutes per app — I'd love to know whether the self-reject penalty shows up in someone else's account.


r/iOSProgramming • • Sep 15 '26

Question What Do You Guys Think About Combine & Subscribers

1 Upvotes

As iOS 27 and more swift features comes out, what do you guys think about still using combine, publishers and subscribers? I know async and observable is the newer and better way to code but I'm just used to code with combine and I like to do it that way with try map and other stuff but I feel like apple is moving away from combine and publishers. What do you guys think ?


r/iOSProgramming • • Sep 15 '26

Discussion Feeling dejected after app rejected

0 Upvotes

I developed my first productivity app for a niche market. I put countless hours in to it and felt pretty confident in the app. Yesterday I submitted it to Apple and 1.5 hours later I got the rejected email.

It was rejected citing 2.1 and had six additional questions and a request to see a video of the app working. I answered the six questions and recorded a 5 minute video attached to my response this morning. Still no response from Apple so I’m left wondering what’s going to be next. 🤞


r/iOSProgramming • • Sep 15 '26

Question Generated password fields defaulting to black dots until visibility is toggled?

2 Upvotes

Hello! Hoping to get some help on annoying bug I've spent the last day troubleshooting with no avail. Currently working on some tweaks for the UI of my password reset fields.

My app defaults to dark mode with a dark background, so password dots should be white. My form asks for a current password. Autofilling the current password does NOT reproduce the issue in the 'current password' field. They also display correctly when users type a password manually or AutoFill their current password from Apple Passwords.

However, when the user gets to the 2 fields where they are to enter their new password, Apple’s strong password generator correctly fills both the 'New Password' and 'Confirm Password' fields, but with black dots instead of white, making them difficult to see against the dark background.

Tapping a field’s eye button to reveal the password, then tapping it again to hide it, restores the expected white dots. Each field needs to be toggled separately. In dark mode, I want the generated password dots to appear white immediately, without requiring a cheap workaround like auto-toggling the hide/show password button to fix it.

I’m using native UITextFields inside SwiftUI UIViewRepresentable, with .password for Current Password and .newPassword for New/Confirm. The visibility handler also restores the same text and selection, so I haven’t isolated which operation corrects the rendering.

Reapplying textColor/defaultTextAttributes and resolving colors during layout haven’t fixed it. Light mode works correctly with black dots. Password changes and saving to Apple Passwords also work.

Has anyone found a supported fix that preserves AutoFill without automatically revealing and hiding the password as a bandaid fix? Or is this a known bug relating to the autofill feature and something that a user might not even notice or care about? It appears to be solely a visual bug at the moment. Every generated password gets saved and user is properly given option to save updated password after the change.

I feel like this is an easy fix that I may be over complicating. I've been working on this app on/off since 2024 and have been extremely anxious to launch, wanting to make sure everything is as close to perfect as it can be. Thanks for any assistance!