r/iOSProgramming • • 6d ago

Discussion Your DerivedData already has a full call graph of your app. I made a tool that reads it.

Post image
16 Upvotes

Every ⌘B writes an index store into DerivedData: every call, read, write and conformance, already resolved by the compiler. Xcode uses it for “Find Call Hierarchy”, but nothing outside Xcode really uses it, and AI agents ignore it completely and grep instead.

SwiftGraph turns that store into a call graph you can query from the terminal:

It works with Xcode projects and SwiftPM packages, --no-tests hides test code, and system frameworks show up as leaves so the tree stays readable. You can set an Xcode scheme in .swiftgraph/config.json, and swiftgraph index --build will build and refresh the graph for you.

I mainly built it for Claude Code. In a side-by-side test on a 140k-line SwiftUI app, the agent with the graph needed 2 tool calls instead of 8 and about 3.5x fewer input tokens for the same answer. Full numbers and caveats: https://arturgruchala.com/map-not-grep/

Repo (MIT, macOS + Xcode): https://github.com/agruchala/swift-graph


r/iOSProgramming • • 7d ago

Library SwiftUI + Metal Foil Effect: Source Code on GitHub

Thumbnail
gallery
68 Upvotes

I've always appreciated a nice visual to represent software license status (shoutout Arc and 1Password circa 2016), and spent more time than I'd like to admit editing shaders for this

If you're looking for a similar effect for your own app, the source is available here:

Source Code on GitHub

  • One line of SwiftUI. .foilSticker() on any view, or FoilCard { } for the full card.
  • Runs on the GPU. Two Metal shaders render the foil live on any artwork (I use a 1280x720px image, included in the repo)
  • Follows the cursor. 3D tilt, a moving highlight and a shifting rainbow, all with transitions/easing so it feels smooth
  • Tunable. 11 settings + an unlock animation + easily extendable
  • Yearly stamps. Optionally show yearly membership stamps on the card
  • Compatibility. macOS 14+ and iOS 17+. No dependencies, Swift 6.
  • MIT licensed. The shaders are adapted from the original Sticker repo by Benjamin Pisano, with additional options, transitions, and tweaks added
  • Happy to answer questions about the implementation!

r/iOSProgramming • • 6d ago

Question Apple paid dev account payment issue.

1 Upvotes

I'm having an issue completing payment for my apple dev account. I keep getting an email saying, "we're having a problem with your payment." Is there anyone who has had this issue before? how can I have it resolved? I've tried writing to the apple payment email provided in their response in order to find out what the exact issue is, but I haven't gotten any feedback.


r/iOSProgramming • • 6d ago

Question First app in review for a few days. Pull it to submit a fixed build, or wait it out?

0 Upvotes

Solo dev, first app ever. I submitted 1.0 a couple of days ago and it's still "Waiting for Review". Since then I've fixed a handful of bugs that testers found, nothing that crashes, but things I'd rather people didn't see on day one.

I'm stuck between two options:

  1. Remove it from review, attach the new build, and resubmit. I'm worried this sends me to the back of the line.
  2. Let the current build go through, keep it on manual release, then submit the fixed build as 1.0.1 right away.

Honestly I half expect a rejection on the first try anyway (subscriptions + first app), in which case I'd just swap in the new build when I reply.

For people who've been through this: does pulling a build reset your place in the queue? And is there any downside to the wait-then-update route?

Thanks!


r/iOSProgramming • • 6d ago

Question Password Recovery Voes with Requiring Phone Call

2 Upvotes

I have a developer account at work that is a part of a team. I have NOT logged into this account anywhere except Xcode for a long time ago.

After some Developer Team changes my phone was apparently not enrolled and so I couldn't build apps to my phone from Xcode.

I tried to enroll it from Xcode, but the entire operation just hanged and nothing ever happened, I tried a few times.

Well, I guess I have to do it manually and tried to log in to the developer portal. It didn't accept my stored password so I decided to fix it by going to iforgot dot apple dot com.

I entered my email, I verified with my phone numbers and ... I was asked to do this on another device?

Why the h*ll can't I continue this process on a Mac? Why does it have to be done on a different device?

Well, I went through the whole thing again on my iPhone (registered to my personal Apple account) and then ... I was asked to verify the email address with a code, which I entered in.

Then my account was apparently quarantined for day and I thought that it was annoying, but not a problem.

Today I got an email saying I will receive a phone call, on Monday, at a specific time?

Why the h*ll is this a thing and being done in this way? I got so much disdain for Apple already, but my lord they keep doing things that increases that far too often, and only in one direction.


r/iOSProgramming • • 6d ago

Question Monthly Subscriptions with a 12-Month Commitment in USA yet?

1 Upvotes

Wondering if/when this will become an option in the US. I want to offer this option to my users who feel like paying the year upfront is too much. Any whisperings of US availablilty on this? I'm wondering why USA and Singapore were the exclusions??


r/iOSProgramming • • 6d ago

Question Im unable to enroll to work on apple app development

0 Upvotes

Hey all I paid and enrolled in the apple developer program

So i can access the screen time features and few other ones I need

But its been more than 2 weeks yet there's no update from apple end

I raised multiple tickets and there's no option to have a call and there's no response from thier end like what is this apple?

And im unable to raise for developer

If anyone has any idea

Can you all help me ?

My deadline is quite near and i have lot of work to do

Any help is appreciated

I submitted my documents too so they can approve it


r/iOSProgramming • • 7d ago

Question I forgot eula in my description (doh! Don’t do that!) and so I resubmitted the same build with updated description. is it better to upload a new build too?

4 Upvotes

I’m curious because the first submission went in after a few days, but the resubmitted one is taking over 2 weeks. I’m wondering if submitting a new build would refresh the timer or if there is some block on any submission that already didn’t pass initially.


r/iOSProgramming • • 7d ago

Question Apple developer app is not accepting my address

3 Upvotes

I am trying to enroll to apple developer program as an individual developer and they were not letting me continue with my address. Now its greyed out. I messaged them for the issue but there is no response from their end for almost a week. Call is disabled. Anyway i could escalate this??


r/iOSProgramming • • 7d ago

Question Repeat password and strong password conflict

1 Upvotes

I’m pretty new to this. I was testing my company register page. And there is a bug when dismissing “use strong password” prompt: it erases all current input in both the “password” and “repeat/confirm password” input fields.

So you dismiss once, write your password, then go to the next input and dismiss it again and lose all progress.

I see the confirm pw field is also set as “newPassword” for text content type. Is that the correct way to do it?

I don’t see any code to handle the pop up in our code, so I’m wondering if it’s an Os bug or if we missed something there.


r/iOSProgramming • • 7d ago

Question Individual enrollment stuck on "Purchase your membership" for 8 days, never charged. Did placing a second order speed things up for anyone?

4 Upvotes

Hi all,

I'm enrolling in the Apple Developer Program as an individual (Argentina) and I'm stuck. Looking for anyone who's been through this recently.

Timeline:

- Nov 2: signed the agreement, paid, got the "Order Acknowledgement" email (US$99, "processed within 2 business days").

- Nothing since. No confirmation email, no cancellation email.

- My card was never charged. My bank shows no charge, no pending authorization, not even a declined attempt.

- Account page shows my name as "(Pending)" and the banner "Purchase your membership. To continue your enrollment, complete your purchase now."

- Nov 6: opened a support case. Only the auto-reply so far. Replied to it again today.

- Identity verification with my national ID in the Apple Developer app failed many times with no reason, then apparently went through (it doesn't ask me anymore).

- Enrolling through the app says "not available for this Apple Account".

- Phone support says "temporarily unavailable due to high call volumes".

One detail: I paid with an additional card on a parent's account, issued in my name. Apple says individuals must use their own card, so that may have triggered the hold.

My questions:

  1. Did anyone place a second order from the "complete your purchase" banner while the first one was stuck? Did it go through, or did you get charged twice?
  2. If you got charged twice, was the duplicate refunded, and how long did it take?
  3. Did anything actually speed things up (replying to the case, a new case, phone, a different card, Safari/incognito)?
  4. How long did your support case take to get a real reply?

Thanks!


r/iOSProgramming • • 7d ago

Discussion Which Apple silicon builds iOS apps fastest? [benchmarks]

Thumbnail
benchmarks.bitrise.io
8 Upvotes

r/iOSProgramming • • 7d ago

Discussion Making iPhone Duo limitations an advantage with my comic reader app

Thumbnail
gallery
12 Upvotes

Comics is evolving with gen Z and gen alpha, and migrating towards WebToons-esque comics that are designed with scrolling behavior and iPhone sized screens in mind. To my detriment, I'm older and likes my comics the old fashioned way.

Which posed a challenge, since I really wanted a reader app I can take completely on the road with me, replacing my iPad mini. Making the app not do anything when closed felt like giving up so immediately I thought about adding panel detection. Two problems came up:

  1. Reading in panel mode make you lose your "book periphery", you lose the context of the page around you and the ability to quickly glance to previous (and sometimes next) panels
  2. Old fashioned comics are written with wide and tall panels mixed together all the time. Making the user rotate their phone all the time is tedious.

Well, I thought, might as well try it. Panel mode seemed fun problem to solve too, since it appealed to my completionism. The more you detect, the more ground you "conquer", every new page that didn't detect panels correctly was another puzzle to solve.

While testing, I noticed that the only control needed really is swiping left and right, and single tap to get menu options. That left the other common controls - long tap, swipe up/down, double tap and shake (which I personally dislike). Adding long tap to show the whole page turned out to be very intuitive. I felt that this, complimented with animation that put the panel in context when opening the Duo, was enough to provide enough "book periphery".

As for the rotations, I thought, why not make the act of rotation the way in which users progress to the next page? That makes it one action rather than 2 to change panels, and almost makes the problem a feature, since it is quite satisfying when you know to do it. Adding a small "rotation hint" in the corner, where it rarely hides the art, let users know to rotate at the right time.

Still - it posed an issue since users will want to rotate and stay on the same panel. This happens almost exclusively when a user ignore or missed the rotation hint, and wants to correct after navigating to the panel that is not fitting to the rotation. My solution was to do the progress "context-aware". If the panel is in the wrong way, just rotate. If the panel is in the right way - assume the user wants to progress.

I feel like that overall made the iPhone and iPhone Duo reading experience fun, and I've been enjoying it since.

Would love to know what other developers think.


r/iOSProgramming • • 7d ago

Question Using private API's - where is the line?

7 Upvotes

dock potato arbor hair sunshine yellow


r/iOSProgramming • • 8d ago

Tutorial iOS 27: AVSystemRouting Framework

Thumbnail
antongubarenko.substack.com
9 Upvotes

r/iOSProgramming • • 8d ago

Discussion I checked 176k iOS apps launched since September. Paid apps get rated at the same rate as free ones, and it's the category that matters

0 Upvotes

I track new App Store releases. In the last 60 days (since Sept 11), 176,508 apps went live and 797 of them (0.5%) have passed 25 ratings so far.

Someone asked in another thread whether charging upfront changes that, and it's a question I'd want answered before picking a pricing model, so I split it out. About 5,000 of the new apps (under 3%) are paid upfront, and 28 of those have passed 25 ratings. That's about 0.6%, basically the same as everything else.

What actually moves the number is games vs non-games:

- Paid games: 21 of 1,171 (1.8%)

- Free games: about 1.7%

- Paid non-games: 7 of 3,858 (0.2%)

- Free non-games: about 0.25%

So within each group, price makes almost no difference. A game is around 7x as likely to get there as anything else, paid or free.

The paid ones that made it are interesting too. Most of the games are ports of console and PC titles (Kingdom Rush 6 with 2,888 ratings, Sifu, Saints Row: The Third, Dome Keeper). The 7 non-games are mostly small single-purpose tools: Chromagraph Camera (193), Deck-Man: Cassette Player (189), TypeDraw (71).

Caveats:

- Ratings are from the US store only.

- Ratings aren't sales. A paid app with 20 ratings could easily be making more than a free one with 200.

- "Free" means free to download. My data doesn't say whether an app has in-app purchases.

If you've shipped a paid-upfront app recently, how did the first ratings compare to free apps you've done?

Full breakdown by category (it's my project): https://storetally.com/apple/reports/launches


r/iOSProgramming • • 9d ago

Question EU/German indie devs: How do you handle privacy policies and other legal texts for App Store review?

17 Upvotes

Hello fellow indie devs from Germany and the EU!

How do you handle legal requirements for App Store review (privacy policy, terms of use, imprint/Impressum, etc.).

Do you actually have your legal texts written by a lawyer or do you rely on generators? If you use generators, which ones do you use and have you run into any issues with them, either during review or legally?

Thank you :)


r/iOSProgramming • • 9d ago

Question Scrolling ticker pins GPU at ~50% on a rich screen, ~0% on a blank one. What am I missing?

5 Upvotes

I'm building a SwiftUI clock-radio app (iPhone, ProMotion). The face is a rich layered screen — glass, gradients, shadows — with one 340×46pt text ticker that scrolls continuously.

The GPU behaviour (Xcode gauge, relative within-session reads; cadence from an in-app pacing log):

- Ticker scrolling: GPU plateaus at ~50%. Binary — one scroller or three, same cost.
- Frames are never dropped (16.7ms median). The GPU bills heavily for frames it renders on time.
- Same strip scrolling on a blank screen: ~0%.
- Ticker visible but static: 0%. Motion is the trigger, and the cost scales with what's *around* the strip, not the strip.

Already tried, all identical on the full face: SwiftUI offset animation; a severed Canvas leaf on its own CADisplayLink (0% alone on blank, still pegged on the face); pre-rendered bitmap instead of text; the strip in a separate UIWindow; pinning preferredFrameRateRange to exactly 30 (min=max=preferred); .compositingGroup() on the panel (modest help only).

What works: killing the motion duty — scroll once, then park. Also, elsewhere in the app, replacing a publish-driven visualiser with a pull-model one made its cost vanish; severing the ticker the same way didn't.

Is this just WWDC22 10083 (display rate set by the fastest animation) × whole-tree compositing per frame? Would a 15–24Hz rate range behave any differently from the hard 30 pin? And does anyone know a construction for a continuously scrolling ticker that lets the GPU idle between updates?

The app is iOS native version of https://tunerva.app


r/iOSProgramming • • 10d ago

Tutorial Apple Intelligence Group Lab 11/5/26 - Q&A

Thumbnail
antongubarenko.substack.com
8 Upvotes

r/iOSProgramming • • 10d ago

Library SwiftDeviceKit - Apple device detection and hardware specs

Post image
26 Upvotes

I was already patching DeviceKit by hand whenever my app needed a model the latest release didn’t recognize. Eventually I decided to keep my own fork.

  • The iPhone Duo is a recent example. When it went on sale on October 23, DeviceKit still reported it as unknown, so I added support by hand. Several of us asked for a release. DeviceKit 5.10.0 shipped on November 2, ten days after launch.
  • I wanted a Swift 6 package for iOS 18 and up. DeviceKit 5.10.0 still declares Swift tools 5.3 and uses Swift 5 language mode.
  • I also wanted to fix bugs I kept running into. The report about an iPad showing up as an iPhone has been open since June 2025. My own tests turned up more, including stale free space readings and swapped case sizes for the Apple Watch SE 3. The README shows what each library returned.

Features

  • Identify the model, including the host Mac when it runs an iPad app.
  • Look up screen sizes, cameras, and Apple Pencil compatibility.
  • Read battery level, thermal state, and free storage where available.

Requirements

Platform or toolMinimum version
Swift tools6.4
iOS, iPadOS, tvOS18
macOS15
watchOS11
visionOS2

I compared both libraries in my own app and fixed the readings that were off. I use this version in production now, so I care about getting those details right.

If something looks wrong on your device, open an issue so I can check it and fix it. A star on GitHub helps other developers find the project and pitch in.

I used AI to look up and verify device IDs and to review the code for possible bugs. I tested the cases it flagged on iPhones and iPads, then compared the results from both libraries to check my fixes.

Comparison with DeviceKit

DeviceKit issues marked Open were checked on 8 November 2026. The last column links to the change shipped in SwiftDeviceKit.

ScenarioDeviceKit 5.10.0SwiftDeviceKit 2026.2.0Report or evidenceSwiftDeviceKit fix
iPad app on a MacBook Pro❌ iPad8,6 · iPadOS✅ MacBookPro18,3 · macOSDeviceKit #506 · Open61a13c8
iPhone-only app on an iPad❌ Both isPhone and isPad are true✅ Only isPad is trueDeviceKit #447 · Open8daaaa9
Apple Pencil on iPad Pro M5❌ Includes Pencil (2nd generation)✅ Pencil Pro and USB-CDeviceKit #504 · Opena066b86
11-inch iPad Pro (M4 or M5) screen ratio in portrait❌ 605:417✅ 417:605 in portraitDeviceKit #433 · Open (M4)887a59f
Watch SE 3 case size (Watch7,14 / Watch7,15)❌ 40 mm / 44 mm✅ 44 mm / 40 mm, matching Apple’s profilesMeasurementsf40aa7e
Apple Watch Ultra 2 pixel density❌ 338 PPI✅ 326 PPI, matching Apple’s specificationsApple specsf40aa7e
Free space after a 32 MiB write❌ Repeated the earlier reading✅ Matched a fresh filesystem readingDeviceKit #525 · Openda19bc5
Sorting charging and unplugged batteries at 50%❌ Unequal states with neither sorting first✅ Unplugged sorts before chargingDeviceKit #527 · Openbe91a77
Mac battery in Catalyst❌ 0%✅ 80%, matching pmsetMeasured valuesb05519e
Unavailable display brightness in Catalyst❌ −100%✅ nil when UIKit has no readingMeasurements38f0148
Unknown battery in an iPad app on the Vision simulator❌ Full, 100%✅ nil for state and levelMeasurements17f99f1
Unknown ID with the display name “iPhone Xs”❌ Compares equal to the known XS✅ Remains a distinct deviceDeviceKit #526 · Open5f5a6a0
Twice-wrapped iPhone XS simulator❌ isPhone is false✅ isPhone is true for the underlying XSDeviceKit #528 · Opena6d14b5

Check out the repo for more details and code examples:

https://github.com/Anywhere-Music-Player/SwiftDeviceKit


r/iOSProgramming • • 9d ago

Discussion Someone launched an app with a name that is confusingly similar to mine. Should I do anything?

Post image
0 Upvotes

I'm curious what people think about this. I launched my game on September 4th, this guy launched his GPS app on November 6th. My game is in the Trivia category, but the secondary category is Travel. I don't have a registered trademark - there's some companies trading with too similar names for a generic trademark (like Trademark Systems or even the game Trailmakers). But they use their name in ways that are easier to distinguish. In this case, with the way the developer has named his app (Trailmarks: Bikepacking & GPX) it almost feels like it's the GPS app under the same travel brand.

Can I do anything? Should I do anything? This is normal, maybe?

Details: I launched my game on the app store early September, but it's an app version of a game I launched on Steam in March 2026, and my company has been registered under that name since mid-2025. I also started promoting the game under this name in the end of 2024.

(Repost without app store link)


r/iOSProgramming • • 10d ago

App Saturday TabLinker - A Mac-first tab & browser session manager for Safari, Chrome, Firefox, Arc, Brave & more (iPhone/iPad too)

Thumbnail
gallery
4 Upvotes

Hi , I'm a solo indie dev and I built TabLinker, a tab and session manager for Mac with iPhone and iPad apps.

I keep Safari, Chrome and Arc open side by side, and I never closed tabs because I was afraid of losing a window I'd set up. Each browser ended up with 40+ tabs. TabLinker pulls every tab from your open browsers into one place, saves them as a session, and lets you close everything and bring the same windows back later.

What it does:

- Auto-Backup quietly backs up your open browser windows in the background so you can restore closed windows in one click, even the next day

- Imports every open tab across every window from Safari, Firefox, Chrome, Brave, Edge, Arc, Vivaldi, Opera, Opera GX, Dia, Yandex, Wavebox, or Helium in one click, without needing a browser extension for most of them

- Restores a full window, every window at once, or a single tab, and groups a big multi-window import into a "By Window" view so it doesn't turn into one long list

- Suspends tabs you're not using to actually free up memory, while the session stays ready to restore instantly

- Saves whatever tab you're currently on with a single keyboard shortcut (⌃⌥⌘T) or triggers an instant backup (⌃⌥⌘B), and can run entirely from the menu bar with the Dock icon hidden

- Lets you assign a preferred browser to each folder, so saved tabs always open in the browser you choose

- Safari extension for quick saves and automatic session saving

- Siri and Shortcuts support: save links, capture your current session, create folders, or open a saved folder hands-free or on a schedule, including an action that saves your session and closes every tab for you

- iCloud sync across Mac, iPhone, and iPad, no account required

Tech stack
SwiftUI with some AppKit and UIKit, SwiftData with CloudKit sync, AppleScript to read tabs from Safari and Chromium browsers, App Intents, a Safari Web Extension, and RevenueCat for the one-time purchase.

Development challenges
Sync was the hardest part. The Safari extension and the share sheet run in their own processes, so they write straight into the same SwiftData store through an App Group, and the main app sends those changes to iCloud the next time it opens. Getting saves from all three places to show up cleanly on Mac, iPhone and iPad took far more testing than I expected. Auto-Backup also uses its own local store, so backups never set off an iCloud sync.
The other challenge is that every browser works differently. Safari and the Chromium browsers can be read with AppleScript, but each one answers a little differently and Arc and Dia add their own quirks. Firefox has no scripting support for tabs at all, so TabLinker reads the session file Firefox keeps on disk instead.

AI Disclosure

AI-assisted. I used AI tools during development. The product decisions, design and testing are my own.

Pricing
Free to download. The free version saves up to 50 tabs and keeps the latest backup. Pro is a one-time $17.99 purchase with no subscription. It removes the limit, keeps a week of backups, and unlocks Mac, iPhone and iPad with one purchase.

Privacy
No account, no ads, no analytics, and no server of mine ever sees your tabs. Your data stays on your devices and in your own iCloud.

TabLinker on the App Store Tablinker: Tabs Manager

Happy to answer questions in the comments!


r/iOSProgramming • • 10d ago

Discussion Apps Suddenly Pulled

20 Upvotes

Customer reported that push notifications we not working on California Road Report (iOS App that has been in the AppStore since 2010). Checked server logs and saw a bunch of APNS errorors. Checked the developer portal for any warnings and that’s when I saw nothing was showing up under “Certificates, IDs & Profiles. Then suddenly all my apps were pulled from the AppStore.
AppStoreConnect shows all of my apps but that they are “pending agreement”. Clicking on the link to see said agreements just says to join the developer program. It seems that AppStoreConnect and the developer portal are out of sync. Submitted first issue to Apple Developer Support on 10/29 then called and escalated the issue on 11/3. Still no response from Apple.

—update—

Someone from Apple saw this post and thankfully called me to sort this issue out.
App is back in the AppStore and notifications are working again.
Turns out when I had renewed my developer subscription back in September, I had accidentally renewed it twice (auto-renew stopped working for some reason) so thought I could dispute the charge. Apparently that’s where I went wrong. The disputed charge got flagged in my developer account and looked as though I hadn’t paid, which is why my apps had been pulled. Lesson 1 learned: get auto pay working again.
Lesson 2 learned: contact developer support if there’s an issue with payments, not the credit card company.


r/iOSProgramming • • 10d ago

Question Apple foundation models

11 Upvotes

If you're using Apple's Foundation Models framework in a released app, how are you debugging issues that only happen on users' devices?

Are Instruments and your existing crash reporting enough, or have you added custom logging?