Answer the question
In order to leave comments, you need to log in
Why does the iOS app close after the start screen?
Good afternoon!
Problem:
I'm trying to run my app on my iPhone. Created it on Swift, launched it on the device. After a couple of launches of the application, it began to crash after showing the start screen (StartScreen in xCode). Ok... I decided to try to write a basic application in React Native and run it on my iPhone. Same thing: launches a couple of times and then crashes after the start screen (powered by React Native). Everything works on simulators.
UPD. It turned out that the application works adequately only through launching via xCode on the connected iPhone. As a standalone application (running from iPhone to iPhone), the application continues to crash.
Initial data:
1. Swift, React Native (via cli, not expo)
2. iPhone SE 1-st generation
3. IOS 11.3.1
4. Launch and deploy via xCode on MacBook Air 2017
5. Developer certificate (free, for a year, has not expired)
6. Trust mode for developer applications is enabled on the iPhone (that is, my applications)
I read on the Internet that maybe it's because of the old version of iOS. However, I download applications from the AppStore and they work. So that's not the problem. Rebooted the device - the problem did not disappear.
By the way, on android, the application on react native has started and works stably without crashes.
Answer the question
In order to leave comments, you need to log in
Seems like a problem with Apple policy. And this policy is really a reason to return to android again :(
I will leave links where I found explanations on Apple policy.
https://stackoverflow.com/questions/38082551/ios-d...
https://developer.apple.com/forums/ thread/51527
I don't know if it's because of this or not. When I had a free developer account, applications lived on the phone for about 5 days, and then they fell in the same way. I just recompiled them and they again lived for several days, and so on in a circle. It's not scary for testing, especially when you start, I don't know if you have it or not.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question