r/iosdev • • 28d ago

Help I need help for my app crashes

Hello everyone thanks for anybody who replies , i need a fast solution to my apps crashes , i've been coding the app for the past year and i never experienced this , im having crashes i cannot explain , and im having a lot of lag inside the paywalls for some reason , the problem is i cannot find the bugs inside the ios app , i can only find them in the java , but the java problems and the ios ones are very different , im having 0 lag or crashes inside the website preview , but when building an expo or testflight im having a lot of issues is there any way i can get some good feedback to point out where the problems are coming from , thanks again

0 Upvotes

19 comments sorted by

3

u/Oxigenic 27d ago

You need an actual engineer. End of story.

0

u/Key-Distribution3535 26d ago

thanks helpful fr , you should try commenting something that is not useful next time you are way to generous with your iq

1

u/Oxigenic 26d ago

With that attitude you’ll never build anything successful. I gave you genuine advice. It’s not anyone’s fault but your own that you have no tangible skills to build anything yourself.

1

u/Key-Distribution3535 21d ago

my question was how to find problems that do not show up inside expo , testflight or java , that is no need for actual engineer , i am myself that , all i needed was one program , github anything that others had a problem , now i could also pay everyone to make the app themselves but that was not my point , i asked a question for something super specific , you just gave an answer that does not make sense in this case , but thank you anyway

2

u/zzzzany 28d ago

why don't you get a $20 subscription to claude and have it help you?

-2

u/Key-Distribution3535 28d ago

we did we gave the whole source to ai but its not able to find the cause yet

2

u/FizzySeltzerWater 27d ago edited 27d ago

Here's my lecture on debugging. I'll give you one of the lessons. You said:

i've been coding the app for the past year and i never experienced this

And my lesson to you: Write a little. Test a little. Write a little. Test a little. Write a little. Test a little.

Say it with me. Write a little. Test a little.

1

u/Key-Distribution3535 26d ago

hahah thanks really , but sometimes the features contain other features , so thats why it was hard , thats how we do it too , but adding one feature that connects to the other features gets a bit complicated sometimes , also algorithms take a ton of work , but thank you

2

u/freeubi 27d ago

So, whats the error? Whats crashing?

1

u/Key-Distribution3535 26d ago

Hello so it crashes on the paywalls sometimes but i've been able to get somewhere until now , i guess we had duplicated the refresh rate of the subscribtion check and the blur made it super laggy , so sometimes it just freezes but thank you

1

u/freeubi 26d ago

That doesn’t answer it. Whats the reason of the crash?

1

u/Background_Pie_5682 28d ago

The web preview runs plain JS, so native problems never show up there. Try a release build on a real device plugged into Xcode, then check Window > Devices and Simulators > View Device Logs for the actual crash report, since the stack trace usually names the culprit. TestFlight > Crashes in App Store Connect also collects them. For the paywall lag, check whether the paywall SDK does heavy work on the main thread or loads big images when it opens. If you can share the top lines of one crash log, people here can probably narrow it down.

0

u/Key-Distribution3535 28d ago

we dont have a mac tho , and on our phones no errors show up on testflight since it doesnt crash it just freezes in place without it crashing so we would need to restart , thank you so much tho

1

u/erin281 27d ago

Have you checked the analytics data on your phone? The analytics logs under privacy & security then analytics & improvements. Or the logs available in the developer settings?

1

u/SomeNewGuy2022 27d ago

Freezing could be related to over stacking a list with too much info - shows similar behaviour between simulator being ok and actual devices not.

1

u/Classic-Vacation-158 27d ago

So you’ve been “coding” for an entire year and don’t understand it well enough to fix a crash, something any actual engineer could find very quickly… Yeah nobody is helping you with this shit hire somebody compentent

1

u/Key-Distribution3535 26d ago

thanks if you think nobody experiences this you might need to borrow some iq somewhere , if someone could nail everything in the first time they would def be a trillionare by now , my question was how to get feedback logs not i cant fix it , negative ah comment

1

u/lassieCoder 28d ago

The web preview runs none of the native code, so TestFlight is the first place native problems show up. To find the crash:

  1. App Store Connect > TestFlight > Crashes, or Xcode > Window > Organizer > Crashes, gives the crash report with the build's symbols.
  2. Look at the crashed thread. If you see RCTFatal or RCTExceptionsManager, it's an unhandled JavaScript error, and the message is in the device console, not the report: run the release build on a device connected to Xcode and watch the console while it crashes.
  3. On iOS 27, apps built with the iOS 27 SDK and no UIScene life cycle crash at launch (`_UIApplicationEvaluateRuntimeIssueForNoSceneLifecycleAdoption`); that's an Expo SDK version issue, not your code.

Disclosure: I made an open-source CLI that reads a crash report (`npx rn-build-doctor analyze crash.ips`) and says whether it's a JS error or one of a few known native causes.

Offline: https://github.com/lassiecoder/rn-build-doctor