App crashes at startup - ios

Alright, my app is working great in the simulator, but when I transfer the app to my iPhone it crashes at startup. I am installing the app via cydia. The app can be installed via this source chrisrjones.com/repo The crash report can be found here - > crash report The source code for the app can be found here -> https://github.com/ipatch/KegCop
I created a shell script to code sign and build the deb package for the app, and have not had any problems with the app so far. I have no idea what I am looking for in the crash report, as I haven't really done much looking at these things. Also I am pretty sure this isn't a code sign bug, but I could be wrong. The app launches for a second or two then crashes, I am pretty sure the code sign crash happens quicker than what I am experiencing.
I am using Xcode 4.3.2 on OS X 10.7.4, iOS version is 5.1.1 I am using ARC in my Xcode project.
Any thoughts?

Alright, to fix this problem, I deleted the Accounts.sqlite file located at /var/mobile/Library/KegCop/ I then removed the app via Cydia. I restarted the phone. I reinstalled app via Cydia, then the app quit crashing. (yay)

Related

iOS app runs fine if installed through Xcode, but crashes on one particular view controller when installed through TestFlight

I have an iOS (Swift 4.2) app that runs fine on the simulator, and runs fine on an iPhone when installed from Xcode (ver 11.4). Even if the iPhone is then disconnected from the computer, the app still runs fine. However, when I archive to TestFlight and install it from there, 99% of the app works fine, but when I try to go to one particular view controller, it crashes the app. I have downloaded the crash logs from TestFlight, but I'm afraid I don't know how to interpret them. I have tried cleaning and rebuilding, deleting derived data, etc. but nothing has solved it. It always crashes when installed through TestFlight. Is there anything else I can check?
Symbolicated Crash File
When you archive the configuration is different than when running from Xcode.
In case you have more than one Target check if the view controller that is crashing is checked for the target that is selected to archive.
Click on your ViewController file and also on the storyboard where it's included.
Open the File Inspector and check that all targets under Target Membership are selected
Select them and run again
Another solution may be to run locally the release configuration and debug the crash.
Your crash is due to UISearchDisplayControllerNoLongerSupported. This answer Installed App from TestFlight crashes due to alleged UISearchDisplayController might solve your problem.

Xamarin.iOS App - TestFlight Build Crashing without Logging Anything

I have been using TestFlight for several months now to distribute new builds to our beta testers and for the most part I haven't had any problems. As of yesterday (4/11/2017) however, the app is crashing immediately after launch on all of our test devices - without generating any crash reports, so I have no idea how to identify the problem.
I thought that the issue may have been related to using HockeyApp for crash logging (although I have been using that for weeks without any problems), but after removing the related code the crashes are still occurring.
The app runs fine in the simulator, and runs fine on all of our test devices if installed directly through Xamarin Studio (both debug and release versions are working). These crashes are only occurring installing the app through TestFlight. Can anyone offer any suggestions as to how I can track this problem down?

iOS App Crashes when installed remote/diawi but not if installed from xcode

I have an iOS app which, when submitted to Apple is crashing during usage when you try to go to a new view. This also occurs if i package up the application for enterprise distribution and then go to use the app.
If i just plug the phone in and run from xcode to the device though, it runs perfectly.
Has anyone experienced this before and have any ideas what it could be? Running latest xcode and ios, not using betas.
EDIT - i've tested building straight to the device using both debug and release scehemes, and they both working, but again, only when the device is plugged into the computer and it's built straight to it. packaging it in anyway and installing remotely causes it to crash on a particular screen. The error logs end up as a basically unreadable mess at this point.
When we archive app it mostly builds with release mode on, and when we run build on devices simply by XCode it's with debug mode on. You can check these configuration by going
Edit Scheme -> Run -> Build configuration, same you can check for Archive.
Now for tracking the crash issue you can simply try changing Run's debug mode to release mode for time being.
I got the crash where I was doing configuration for firebase for production target which has different bundle identifier than dev build identifier. You case may be different.
Wow, to be honest, that is really odd... It really shouldn't have that affect if you distribute via enterprise... As of any idea on how to fix this issue: you did add entitlements to the app when signing via enterprise, right?

Application crashed after splash screen when testing with Testlfight

I've just deployed my application on TestFlight for internal test.
When I install my app on my iPhone and launch it, it crashed on the splash screen. But when I deploy my application on my phone with xcode, it works perfectly.
Does anyone know what the problem is?
Thanks in advance.
EDIT:
I use Xcode. After the launch screen, i display a login windows. It just initialize some UIImage (like background) and create my tables in my DB SQLite :/
FIXED ! One of my library wasnt loaded ! for fixed that, i added this library in "embedded binaries" in the general setting of my app :)
I fixed it ! Thank you all for yours responses. That was a library loading problem.
I edited my original post with the solution.
You can try archive ipa from XCode and install it via iTunes, is it crashed?
I meet the same problem when I test it work correct in my phone but Apple Reviewer say it crashed when start up app.
My problem: When start app, I have a processing data so long in main thread, it's freeze app about 10s, app will be killed.
Ensure the target deployment iOS version is compatible with the user's iOS version.
Sometimes users on testflight don't update iOS, or iOS releases an update that the user installs immediately and the build actually isn't compatible.
I had this particular experience with Crashlytics and iOS 8.1 -> 8.2

App work's fine when device connected to Xcode, but fails when installing ipa, on specific location

i am using Xcode 6.2(beta), facing issue i.e My app work's fine when device connected to Xcode, but fails when installing ipa, on specific location, when the app crash on specific location, i am able to get the crash location and line number using crash log (when app is installed and it get crash), so debugging on installed app is quite tedious, and why the app is running smooth when device connected to Xcode. please help or any way to make app running consistently on both way while connected to Xcode and on installing ipa.
Also i am coding in Swift 1.2
I think one of your project document file not set the target.Please check all project file target.

Resources