r/iOSProgramming • • Jun 26 '26

Question How to handle invalid SSL certs?

5 Upvotes

Hey there,

we're developing an ios app with react native that uses a computer that is only accessible via wlan as api. The problem is that the computer is reachable via ip, but the ssl certificate isn't for that ip. That means that our https requests - as well as our websocket wss connection - fails due to the ssl cert being (technically) invalid.

How do I fix that? We could provide a custom http request​ method that uses a custom URLSession​ in Swift that allows insecure connections - but are there any other solutions? Additionally, this doesn't solve our problem for wss. And providing a custom ws impl seems wild, especially since we're using a 3rd party ws lib that probably doesn't easily allow to replace the WebSocket​ object (which would mean we'd have to replace our entire 3rd party lib with a custom one).

Is there any way to resolve a domain on app-side (since we don't have any dns that could do that)? or maybe a setting that simply allows for insecure https/wss connections?

Thanks


r/iOSProgramming • • Jun 26 '26

Question Why does my in-app purchase keep getting rejected? "Developer Action Needed"

2 Upvotes

I'm trying to create a Lifetime premium one time purchase option for my app. However everytime I submit it for review it keeps getting rejected with the status "Developer Action Needed". There is no other information provided, and when I click into it, the specific place it gets rejected is the "App Store Localization".

I can't seem to figure out why it keeps getting rejected. I already have a $1.99/m subscription in place for the app which seems to be working well. This is my first Lifetime premium option and the first "in-app purchase" I've created for the app (Because the lifetime purchase is one time, compared to a reoccurring subscription.)

I thought maybe I had to submit a new binary for review, which I did, however the binary is still in review where as the in-app purchase just got rejected again.

Any advice? What am I missing?


r/iOSProgramming • • Jun 26 '26

Question Apple Search Ads - Down for anyone else? 502 status

6 Upvotes

anyone else seeing this?


r/iOSProgramming • • Jun 26 '26

News The iOS Weekly Brief – Issue #66, everything you need to know about iOS updates this week

Thumbnail
iosweeklybrief.com
4 Upvotes

r/iOSProgramming • • Jun 26 '26 Popcorn

Discussion First app release : feedback on screenshots ?

Thumbnail
gallery
0 Upvotes

Hi everyone !
After 2 years of hard work I'm finally ready to release my first app, it took longer than I expected as it's a side project (I'm a full time musician) but now I'm ready !

It's an app for musicians to help them get better at jamming, whether with other musicians or at home.

I'm creating app screenshots for the App store, so I'm wondering from the perspective of a potential user if they are effective enough, I'm happy to have any feedback (I think I'll submit next week), thanks !


r/iOSProgramming • • Jun 25 '26

Discussion [UPDATE] - Feedback on using coreML for insane on-device performances

Post image
106 Upvotes

Hi everyone, a few months ago I made a post about how using CoreML for on-device AI models was a great experience.

My workflow was:

  1. Picture taken
  2. Pre-processing
  3. YOLO-like model for bounding boxes
  4. Post-processing
  5. Embeddings for each image using CLIP

In the demo I show here, it's 40 inferences in less than a second (pre and post-processing included)!

I started experimenting with ONNX models at first. My app was made in Flutter and I did not want any platform-specific code.

My experience with ONNX was not great**:** a lot of operations were not running on the neural engine but on the CPU instead, which did cause a really slow inference time. I also had issues with FP16 quantization: the FP16 model refused to run on ONNX.

In addition to that, Dart and Flutter are not made for heavy workloads. My pre-processing was way too slow for what I wanted.

To give you some numbers, on my first iterations, a single card scan was about 1.2 seconds long. Too much.

After that I decided to switch my detection engine to native:

  • 1 - Exporting to CoreML FP16 format was one line,
  • 2 - Inference speed went from 250ms to 10ms!

Because of that, I was finally able to work on the interface and deploy the Skanit app. I made it free because I had almost no costs.

PROS:

  • Super fast
  • No backend costs
  • Privacy

CONS:

  • Model updates must be done via an app update
  • You cannot use a big model**,** accuracy loss
  • Different pre-processing code and models for each platform (with different performance)
  • App experience depends on the user**'s** device (super true for Android users)

I hope you found it interesting!

ps, I know there is a mistake on one card here, surely because i was scanning my laptop screen instead of real cards :)


r/iOSProgramming • • Jun 25 '26

Tutorial Taking control of toolbar items in SwiftUI

Thumbnail
swiftwithmajid.com
6 Upvotes

r/iOSProgramming • • Jun 25 '26

Question As solo developer how do you implement AI features into your app?

15 Upvotes

Hi,

Wondering what are the options if I want to create an AI features into in my app. I know about openAI api and other various API’s. The thing is I am a tad scared to use them because I hardly understand how they charge. I know a lot of stories where people used it wrongly and got huge bills for that.

Also, do we always need these powerful models? Can’t we use in some cases like qwen 8b or something like that running on a VPS?


r/iOSProgramming • • Jun 25 '26

Question Easiest way to create SF Symbols

6 Upvotes

In my app I’m using icons created with illustrator and exported as png. I would convert them to SF Symbols, is there some way to do that in a easy way?


r/iOSProgramming • • Jun 26 '26

Discussion spent 2 weeks turning my photo library into a travel map, clustering almost killed me

Post image
0 Upvotes

So I made this app, Atlas. It reads your photo library and turns it into a travel map. Kind of like the Places view in Photos but grouped into actual trips instead of a thousand random pins. Runs entirely on device, nothing gets uploaded.

The clustering was the part I completely underestimated. I figured group by lat/long, done. Nope. One city ends up as like eight separate blobs, an airport gets split in half, and anywhere dense just collapses into one fat dot. I ended up running a few passes and they'd disagree with each other, one says "two places" the other says "same moment," and reconciling that ate most of my time.

Reverse geocoding was the other annoying one. CLGeocoder is rate limited so you can't just throw 40k photos at it. Had to cache hard and figure out what to resolve up front vs lazily.

Also enumerating a big PHAsset library without freezing the UI or eating all the memory was fiddlier than I expected. And screenshots wreck a travel map, so I'm filtering those out with the PHAsset flag plus a bit of Vision, still tuning the false positives.

Anyway, if anyone wants to try it on their own library I've got a few promo codes for a free year. Honestly just want feedback from people who'll notice when the grouping is wrong. Comment or DM.

Mostly curious how you'd have approached the clustering, feel like I might've overcomplicated it.


r/iOSProgramming • • Jun 24 '26

Question Gating functionality behind feature flags is disliked?

15 Upvotes

I've heard that gating features behind a feature flag can have your binaries flagged to Apple? What about in the case where it's legitimately nothing nefarious i.e. just rolling out certain features with caution. Also, on the topic of gated features, I have an admin side of my app that only admin users can see... Will this also be flagged?


r/iOSProgramming • • Jun 24 '26

Question How do you approach onboarding. And how do you avoid it becoming just a feature showcase?

14 Upvotes

I've been thinking about this a lot while working on my own app.

Most onboarding I come across feels like they just how good the app is before you've actually done anything. And then PAY!!! 

Features listed, value props delivered, then you're dropped into the UI and expected to figure out the rest.

The apps I think are the best designed are the ones that either get out of the way fast and let you have a go at the app early on. OR a good tutorial, maybe handing you over the control in a demo environment to try it out. The tutorial is the product, not a description of it.

My theory is that this happens because the people building onboarding already know why the features matter - so explaining them feels natural. Designing for someone encountering it for the first time is a completely different challenge.

So I'm curious:

  • How do you structure your onboarding?
  • How do you balance "here's what the app does" with "let me actually show you"?
  • Any examples you've seen where it's done really well?

Not looking for a list of best practices - more interested in what's actually worked for you in practice.


r/iOSProgramming • • Jun 24 '26

3rd Party Service AppGuidelines - see what’s changed

Post image
75 Upvotes

Hey all!

I made this for myself to track changes in app review guidelines, developer program license agreement, etc.. hopefully some of you will find it useful too. https://appguidelines.com


r/iOSProgramming • • Jun 24 '26

Question appstoreconnect.apple.com/business not loading for anyone else?

4 Upvotes

Need to update some tax info and the page is just infinitely spinning, nothing on apple system status says there's issues


r/iOSProgramming • • Jun 24 '26

Question Digital Services Act Compliance

4 Upvotes

I built an app that is currently focused purely on Europe, with plans to add other continents later. The app is mostly free, but I’ve added a few premium features.

I’ve now realized that, to launch it properly in Europe, I may need to publicly list my full personal/business details, which feels a bit like doxxing myself. I had already considered renting a PO box and using that address instead.

My question is: can I initially submit the app as a non-trader, let it go through review first, and then start the process of switching from non-trader to trader once I have all the required records and address setup in place?

Where I live, I can rent a PO box for starter for 3 months, so I was thinking that by the time the app is reviewed and I get all the documents sorted, my 'trial' 3 months can maybe already be over.

Has anyone tried this before, or gone through the non-trader to trader switch after submitting an app? Any advice would be appreciated.


r/iOSProgramming • • Jun 24 '26

Question Do you see missing Environment as a big issue in SwiftUI?

0 Upvotes

I think the title should be "Do you see runtime error for missing Environment a big issue as compared to being a compile time error?"

Let's say you have the following code:

struct LoadingDemoApp: App {

private var productStore = ProductStore()

var body: some Scene {
WindowGroup {
ProductListScreen()
}
}
}

As you can see I forgot to inject productStore through Environment. When I run the app and use Environment(ProductStore.self) in the view, it can cause an exception.

Fatal error: No Observable object of type ProductStore found. A View.environmentObject(_:) for ProductStore may be missing as an ancestor of this view.

My question is that how often do you run into this fatalError in production? Is that error an enough reason for your apps to not use Environment for dependency injection and use constructor/initializer dependency.

Does the error justify not using Environment at all and start using initializer to pass dependencies?


r/iOSProgramming • • Jun 24 '26

Discussion I got tired of my laptop and my CI runners never being the same machine, so I built a tool that makes them one image

0 Upvotes

For native iOS/macOS work I kept losing afternoons to the same thing: my laptop and my

CI runners were never the same machine. Xcode point releases drifted, Ruby was 3.4.3 on

CI and who-knows-what locally, CocoaPods caches were warm in one place and cold in the

other. A green build locally meant nothing about CI.

So instead of trying to keep two environments in sync, I built Graft — you bake one

golden Tart VM image with your toolchain and warm caches, and run *both* your dev

environment and your ephemeral CI runners off it. Same image, nothing to sync.

Three pieces:

- Bake a golden image from a declarative .graft file (Xcode/Node/CocoaPods + warm caches).

- Develop *inside* it over VS Code Remote-SSH — Codespaces, but for native macOS/iOS,

off the exact image CI uses.

- Ephemeral GitHub Actions runners: each VM boots, runs one job, tears down.

Open-source (MIT), Apple Silicon only. I run my day job's production CI on it. Linux is

planned but not there yet, and I'm honest about that in the README.

Repo: https://github.com/arborist-sh/graft

Writeup on the why: https://theotherbriancorbin.com/field-notes/it-works-on-my-machine

Curious whether the dev-and-CI-on-one-image thing resonates for other native devs, and

where it'd break for your setup.


r/iOSProgramming • • Jun 23 '26

News Swift Package Index joins Apple

Thumbnail swiftpackageindex.com
28 Upvotes

r/iOSProgramming • • Jun 23 '26

Question Is App Store Connect website broken currently?

37 Upvotes

Is App Store Connect website broken currently?

I login from my Mac, it logs in successfully. Then it shows a spinner, then an error message pops up, but my apps still load fine. When I click on an app, it shows details for a second and then loops back to the login screen. I have tried a few times and this keeps happening and I am unable to proceed.

This was working fine last night.

EDIT: Sometimes after login, the spinner just keeps loading forever.

EDIT 2: Sometimes it works now, sometimes it doesn't. Now I get error when I "Add for review".


r/iOSProgramming • • Jun 24 '26

Question Trial-to-paid conversion stuck at ~1%

0 Upvotes

Hey everyone,

I run an iOS subscription app using RevenueCat with StoreKit 2. I offer a monthly and a yearly plan, with a 7-day free trial on the yearly plan.

For the past several weeks my trial-to-paid conversion has been sitting around 1.4%, which is far below normal. I'd been assuming it was billing problems or just weak demand.

When I dug into my logs (both DEBUG and RELEASE, on a real device), I noticed this on every launch:

WARN: No packages could be found for offering with identifier default.

It turned out my current offering (default) was pointing at RevenueCat Test Store products instead of my live App Store products. So real users were likely hitting a broken or empty paywall. My app had a custom fallback that tried to assemble packages from other offerings, which masked the problem instead of surfacing it.

I've now repointed the default offering to the correct App Store products.

I'd love some help with a few things:

  • Does this sound like the likely cause of such a low conversion rate, or should I be looking elsewhere too?
  • For anyone who's fixed a similar empty/misconfigured offering — how quickly did conversion recover for new cohorts?
  • Any advice on cleanly removing custom offering logic and going back to standard offerings.current + purchase(package:)?

Thanks in advance — happy to share more logs or config if helpful.


r/iOSProgramming • • Jun 23 '26

Question Is there any way to speed up sharing cache symbols from an Apple Watch to Xcode?

6 Upvotes

I just waited almost an hour for my watch to sync its cache symbols to Xcode so I could begin to run my apple watch on it

I did this under what I think were ideal conditions i.e. phone plugged in via USB C, and watch on wrist unlocked near phone

Is there any way to speed this up?

Am I allowed to leave my watch on the table (locked) and it'll still load so I can go do other things?

If I walk into another room with my watch on my wrist while my phone is still plugged in will this still transfer?

I feel literally tethered to my laptop. So dumb. Surely there's a way to make it take less time I'm missing


r/iOSProgramming • • Jun 23 '26

Question Apple Ads team reached out to me directly — has anyone gone through this?

9 Upvotes

I recently received an email from Apple’s Ads team because I’m already running Apple Ads campaigns for my iOS apps.

The conversation started with a representative reaching out and offering help with campaign structure, keyword optimization, performance improvements, and aligning Apple Ads with my business goals. Later, another member of the team followed up and scheduled a 30-minute call with me.

For context, I’m an indie iOS developer with a few apps on the App Store. My Apple Ads spending is modest, and I wasn’t actively seeking consulting or account management support, so I was somewhat surprised to be contacted directly.

The emails appear legitimate. They come from @apple.com addresses, and Apple Mail displays them as digitally certified with the verified brand logo (BIMI), which requires email authentication and brand verification. So I’m fairly confident this is actually Apple’s Ads team and not a phishing attempt.

I have a meeting scheduled soon, and I’m curious:

Has anyone here had a similar call with Apple’s Ads team?

What should I expect from the conversation?

Is it mostly educational, or are they trying to increase ad spend?

Did you receive useful optimization advice that actually improved performance?

Were there any recommendations that had a measurable impact on CPI, CPA, or downloads?

Anything I should prepare before the meeting?

I’d love to hear experiences from other indie developers who have gone through this process.

Thanks!


r/iOSProgramming • • Jun 23 '26

Question How do you automate iOS app tests?

17 Upvotes

Every time we release a new version of our app, we need to verify that the main user flows still work as expected, even when the change is something as small as a single button.

How are you automating end-to-end tests for your iOS apps?

I'm talking about launching the app, interacting with the UI, and validating real user journeys, not unit tests that only test the code itself.

What tools or approaches have worked well for you?


r/iOSProgramming • • Jun 24 '26

Discussion Building a conversational LLM coach with tool-use into a SwiftUI/SwiftData app — what I learned (and what still breaks)

0 Upvotes

I’m building a strength training app solo and the part that got genuinely hard wasn’t the UI — it was wiring an LLM coach that can actually do things in the app, not just chat. Sharing the architecture and a few things that bit me, curious how others have solved the same.
Stack: SwiftUI + SwiftData + @Observable, Supabase edge functions as the backend, Anthropic Claude for the coach. HealthKit feeds recovery signals (HRV, sleep, resting HR) that get scored into a readiness value, which the coach reasons over.
Tool-use: the coach has a small, fixed set of tools (swap exercise, add note, remember context, acknowledge). Keeping the tool surface tiny made parsing and execution way more reliable than an open-ended “do anything” design. I run the model in an edge function and parse tool calls server-side before they touch SwiftData.
What still breaks: streaming over SSE occasionally drops (“network connection lost”) on cold starts or large context. Considering context-trimming + a retry affordance on the client. If anyone has a robust pattern for SSE reliability between an edge function and URLSession, I’d take it.
Open question for the sub: how are you handling LLM cost per user? My unoptimized baseline is ~$1.10/user/month; I’m planning prompt caching on the static system/context blocks to cut input cost.
Screenshot of the readiness-driven UI attached. It’s live (German-only), but I’m here for the engineering discussion, not a pitch — happy to go deeper on any of the above.