IOS app crashes after launch with testflight - ios

I have seen a few similar questions but nothing to help me resolve my issue.
My app works when built in debug mode. It works via testflight on devices running iOS 11+. We support iOS 9 and above, so when i get the app via testflight on an app running iOS 9 the app instantly crashes. I find it unusual that this would run fine on a newer version of the OS but fail on the older version.
I understand that this is a pretty broad question. I presumed it would be an issue with certificates but if that was the case i would expect to see the same issue on each OS version. I have compiled the app for release and ran it on a device to replicate the issue which it does. In the device logs i can see the error.
Attempt to add an app with insufficient id, info
Again i understand i haven't been able to give much information on this error, but i am hoping someone has been in a similar situation and can give me some pointers.

Related

React Native iOS app different code on simulator vs ad hoc/App Store

I have been working on a React Native app for several weeks. I recently pushed a version to TestFlight. When I started getting feedback from users I noticed that their screenshots were different than the latest changes I made. They were from older revisions.
I ran the app in the iOS Simulator. I get the correct version of the code.
I ran the app on a device connected to my Mac. I get the correct version of the code.
I ran the app distributed ad hoc and I get an older version of the app.
I haven't seen anything like this before and baffled as to what could cause the problem.
I connected with Brent Vatne on Expo's Slack. I forgot to run expo publish before running the release build.

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?

How can I use and debug an iOS version a simulator doesn't exist for?

I'm in the midst of squashing bugs for my App in development, and I've stumbled across a problem when it comes to addressing a crash occurring on iOS 8.0.2
The problem is that I can't actually test (On the simulator) for iOS 8.0.2 as the earliest version of iOS 8 I can use is 8.1
I am not supporting iOS 7, but did go back and try to see if I could catch the bug there as described by the tester who reported the crash. It did not occur no matter what I did, so I assume it must occur when running iOS 8 only.
I'm not sure how to address this problem. I would like to submit my App for review, but if I cannot eliminate this crash I will be rejected. Yet I can't test for it either. I've been waiting a day+ now for any crash report to come back from Test-Flight, but none have shown yet. It could take around three days for that to happen.
Can anyone assist me in finding another way or workaround to be able to test for this crash?
You could download and install Xcode 6 (Xcode 6.1 might also have the iOS 8.0 simulator) as that'll have the iOS 8 SDK and simulators (you'll have to be signed in to your Apple developer account to access those links otherwise pick from the list here).
The problem you'll then have with that though, is that you'll be compiling your code against a different SDK. But its worth a try!
Its also difficult to get specific 8.0.X versions of the simulators as they only really have the minor version release (8.X) available as opposed to the bug fix releases.
Obviously the only guaranteed way to reproduce the issue is on a 8.0.2 device.

TestFlight error: User gets "Unable to Download Application" message when trying to download a beta test from TestFlight

I am beta testing my app, and a few users are getting the error "Unable to Download Application. "Okasio" could not be downloaded at this time". So far 30 users have downloaded the beta of the app, and only 2 are getting the error, so it seems user- rather than app-specific. Does anyone have a suggestion?
The message is identical to the one from this post, but with current iOS 8 formatting:
TestFlight fails to install app and cannot delete partially installed app
The most likely reason is that their iOS OS version is below the app's minimum OS version.
As strange as it might sound the official Apple TestFlight/iTunes Connect beta system does not test the OS version at all at the moment. We faced this issue while we were working on our integration with the new TestFlight system (Bitrise.io, iOS CI/CD service - CTO here).
For example one of our test apps was built with iOS 8.2 as the minimum OS version. It's even listed on the app's card in TestFlight (Compatibility: Requires iOS 8.2 or later) but you can still click on the install button and it starts to download&install it. Then of course you get the helpful error message with Unable to Download App.
Note: Tested on two different iPads, both with iOS 8.1.3.
Another, less likely issue might be the lack of storage on the device but as far as I remember that presents a different error message.

App crashes at startup

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)

Resources