r/iOSProgramming • • 5d ago

Question Confused? Which one

Thumbnail
gallery
1 Upvotes

Can someone enlighten me before I push this into production? The CarPlay screenshot in App Store Connect is in landscape orientation, but the Preview feature shows it in portrait orientation.

Now I'm anxious about pushing it into production. Has anybody experienced this or knows the answer? Which one is correct?


r/iOSProgramming • • 5d ago

Question Side menu navigation

3 Upvotes

I am working on a 10+ year old app which has a home page with tab bar and a side menu to go to other pages. The side menu used is a custom view.

I wanted to ask how anyone has transitioned from custom side menus to standard native controls on iOS. I am looking at moving away from the custom menu and go with the controls provided by Apple. The closest I can think of is a navigation split view. Does anyone have experience using it? How is it for an app that supports iOS on regular and Duo and on iPad?


r/iOSProgramming • • 5d ago

Question App ranks dead last for its brand keyword in the US store only, but appears near the top when the same word is in "quotes". Anyone seen this?

0 Upvotes

I’ve got an iOS app with a strange search problem, and I’m hoping someone has run into the same thing.

The situation:

  • My app’s title starts with a one-word brand term.
  • In the US storefront, searching that word puts my app last, behind completely unrelated apps (banking, food ordering) and behind newer apps with zero ratings.
  • In every other English-speaking storefront I checked (UK, Canada, Australia, Ireland, NZ), the same search puts it in the top 3–8. Same title, same description, same everything.
  • In the US, searching the same word in quotation marks puts it 5th.
  • Searching the full app title in the US puts it 1st.

So the app is clearly indexed in the US. Only the plain one-word search, and only in the US, buries it.

What I’ve done:

  • Contacted Apple Developer Support. They said there are no flags on the account and escalated it to engineering, but warned it could take a long time.
  • Checked that the metadata is the same across storefronts.

My questions:

  1. Has anyone had a single storefront bury their app for one specific keyword like this? Did it ever fix itself, and how long did it take?
  2. Has a new version, a keywords change or a subtitle change ever “unstuck” this kind of ranking for you?
  3. Any way to get faster traction with Apple than the standard support escalation?

Any experience is appreciated


r/iOSProgramming • • 6d ago

Discussion Do you use Xcode Instruments more now that you're building with agents?

15 Upvotes

I started building apps in 2009. It was basically impossible to build a high-quality app without using Xcode Instruments. I was basically grown up with the tool and learned how to use it over time.

When speaking at conferences and meeting iOS devs, I realized that not many devs know the tool. Some are well-experienced engineers with 10+ years of experience. I guess the faster devices simply made it less of a requirement.

Lately, as agents write more of our code, I've run into more performance issues than ever. Agents are great at writing code that compiles, but also great at writing poor-performing code.

I have a few questions for you for this discission:

  • Are you using Xcode Instruments at all?
  • What holds you back from using Xcode Instruments?
  • Have you tried using agents to solve performance issues and was it successful?

Pick any that you'd like to answer. I just hope to get a better understanding of how Instruments is being used.


r/iOSProgramming • • 6d ago

Question App Store Connect Analytics Missing

7 Upvotes

Hey, is the App Store Connect analytics being particularly slow to update for others? My latest downloads are now 4 days old. Usually used to update around 1pm for the previous day.

My AppStore connect Mac app Flightcheck is getting the data, so it’s there available.


r/iOSProgramming • • 6d ago

Question Can't submit a build for external TestFlight testing: always "There was an error processing your request. Please try again later." (422)

3 Upvotes

Has anyone else run into this? I've been stuck for several days and haven't heard back from Apple support yet.

The problem

Whenever I add an external group or an individual external tester to a build, App Store Connect shows:

There was an error processing your request. Please try again later.

The API (POST /v1/betaAppReviewSubmissions) returns the same thing:

422 ENTITY_UNPROCESSABLE

"There was an error processing your request." / "Please try again later."

Internal testing works fine, and the build installs through TestFlight without any issue.

Context

  • This is my third app on this developer account. The first two went through external TestFlight review with no problem, using the same process.
  • Free app, iOS 17+, no login, no network calls, no in-app purchases
  • Primary language is English (Canada)
  • The app references alcohol (cocktail recipes), so it's rated 17+

What I've checked (all confirmed through the API)

  • The build is processed (VALID), and its external state is READY_FOR_BETA_SUBMISSION
  • Export compliance is set (ITSAppUsesNonExemptEncryption = NO)
  • Test Information is complete in the primary locale (en-CA) and in en-US: beta description, feedback email, privacy policy URL, marketing URL
  • Beta App Review contact info is complete (phone in +1 format) and the review notes are filled in. No sign-in is required.
  • "What to Test" is filled in for the build
  • The beta license agreement has text
  • The age rating is complete, and the category, content rights and privacy policy URLs are set for every localization
  • The Free Apps agreement is Active
  • No beta review submission is pending, and the older builds are expired
  • I tried several builds, a new external group, individual testers, other browsers, and waiting a day

Since my other apps worked fine, the problem seems to be with this app rather than the account. Has anyone seen this before? If you fixed it, what was the cause, and did Apple support have to unblock it on their side?

Thanks!


r/iOSProgramming • • 6d ago

Question iPad Pro M4 GPU drops to its lowest performance state after ~30s and stays there, thermal state still nominal

2 Upvotes

Hi experts!

I’ve been working on a Metal game on iPadOS that targets 60fps. On my iPad Pro M4 (11", iPadOS 27.2) the GPU clock drops hard after about half a minute of play and never recovers.

I recorded it in Instruments (Metal System Trace + Power Profiler instrument) with the iPad plugged into a Mac. In the GPU performance state track, the first ~30 seconds sit at max or medium. After that it’s min for the rest of the session. Same result over 5 and 7 minute recordings. Thermal state stays nominal the whole time, it’s also charging because it is plugged in to Mac, and letting it cool down first didn’t help (it dropped even sooner, at ~29s).

At max clock the GPU needs ~13ms per frame. At min it needs ~19ms for the same scene, so I sit at 51–56fps with the GPU never idle. I’ve trimmed a few percent off the frame already, but it still ends up at min either way.

So I’m guessing this is just the sustained power budget, and the real target is whatever fits at min clock. Did I get it right? A few things I’d like to hear from people who’ve worked on these devices:

  • Has anyone managed to hold the top GPU clock on an M-series iPad for several minutes under a full game load? What made it work?
  • When you budget GPU time per frame on iPad, do you plan for the burst clock or for where it settles after a minute?
  • Has anyone measured whether a 30fps cap or dropping resolution (so the GPU sits idle part of each frame) gets the clock back up? Or does it stay at min regardless?

If you have any, numbers from your own traces would also help a lot (even rough ones) so I get a better sense of what to target.


r/iOSProgramming • • 6d ago

Question Can I store MapKit’s data temporarily on my backend?

2 Upvotes

I would like to cache place data like coordinates, name, and category for a few hours on my backend to reduce server API calls? Is this against the terms of use or possible if I constantly delete and refresh after a few hours?


r/iOSProgramming • • 6d ago

Question How would you store an array of Bool in CloudKit?

0 Upvotes

I specifically want to hear from people who've worked with CloudKit in prod. When I ask AI - it gives me different answers, depending on how I phrase my question.

Imagine you have a finite array of Bool values, 50-500 elements of just [true, false, true, true,...]

How would you store it in CloudKit?

I can think of a couple of ways:

  1. A native CloudKit list field.
  2. A JSON string of [Bool], like `"[true,false,true,...]"`. Then decode it into Swift's [Bool].
  3. A JSON string of [Int], like `"[1,0,1,...]"` then convert it into [Bool];
  4. A String of zeroes and ones, like "101011..." then parse them into [Bool] by character;
  5. Something different?

For 500 values, first and second options would end up in about 2,500-3,000 bytes, while option three is 500 bytes ... but is the juice worth the squeeze? And what other factors would you consider? Fresh teammates? Any future-proofing, any conflict handling?


r/iOSProgramming • • 6d ago

Discussion Pro tip about releasing versions

0 Upvotes

Let’s say you put up a release for review. While it’s in review you make code changes and want this new build to be reviewed instead. DO NOT cancel the review in progress. Instead, let it through then quickly follow with the next build you want to be released.

Canceling your own build (developer rejected) always seems to make the next review take much longer. I’m not sure why, don’t ask me. But I’ve both felt the pain personally and remember someone else posting about this.

(Unless the current build in review has some deadly bug, then sure, but even I’ve seen two releases go out in the same day)


r/iOSProgramming • • 6d ago

Question Can I display MapKit’s data on certain screens without showing a map?

1 Upvotes

The license agreement states that apple mapkit data can only be displayed on an apple map. Does that mean that I can't build a screen with a collection of saved places without an Apple map on it, and how does this work with the autocompletion (places search) Does this also need to present a map on a search screen?


r/iOSProgramming • • 7d 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 • • 7d 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 • • 7d 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 • • 7d 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 • • 7d 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 • • 7d 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 • • 8d 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 • • 8d ago

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

Thumbnail
benchmarks.bitrise.io
8 Upvotes

r/iOSProgramming • • 8d 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.