TestFlight Build Crashing at Startup - Without Generating any Crash Reports

ChrisLarkinChrisLarkin Chris LarkinUSUniversity ✭✭

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 today however, the app is crashing immediately after launch on all devices - without generating any crash reports, so I have no idea what the problem is.

The app runs fine in the simulator, and runs fine on 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?

Tagged:

Posts

  • yvrezyvrez Yves Ducreuzet BEMember ✭✭

    I have the exact same issue. Have you found a workaround ? I have tried to rebuild the app and redeploy. The app is running fine when deployed from Xamarin to the device but is crashing instantly (without crash report) on the device.

  • ChrisLarkinChrisLarkin Chris Larkin USUniversity ✭✭

    No I haven't yet. I have tried rebuilding and deploying several times now with various code segments removed but I still can't isolate the problem.

  • MartinLeistMartinLeist Martin Leist USMember

    I am having the same issues. Even without update on the device my testflight app stopped working. Changing settings, updating everything on the development computers and changes to the Info.plist file did not help. I am using Visual Studio 2015 and 2017 with a connected mac-mini. What I found out is that I cannot deploy the app directly when the testflight-version is installed. I have to delete the app to deploy it directly. The direct deployed version works without problems then.

  • Dev.AlexDev.Alex Alex Vorobyoff USMember

    Have the same issue.

  • MartinLeistMartinLeist Martin Leist USMember
    edited April 20

    My app works again. The problem seems to be IPv6. My App was communicating with a webserver, that only had an IPv4 address. After changing the webserver configuration the app works again over testflight. Maybe this helps you too.

    EDIT: I've just heard that our server isn't changed to IPv6 yet. Seems that was not the problem. It just happened to start working again it seems, because there was no update of the app.

  • AndreRoelkeAndreRoelke Andre Roelke DEMember

    We have the same issue, did anyone find a solution?
    Is it possible to publish the app anyway in the app store, or will it crash there too?

  • MartinLeistMartinLeist Martin Leist USMember

    Our app now finally works. It seems that it was the location of your sqlite database. It was in the parentfolder to the app and now we changed it to the app folder itself. This seems to have done the trick for us. Maybe that information helps.

  • AndreRoelkeAndreRoelke Andre Roelke DEMember

    It seems to be Xamarin.Forms version 2.3.4.231 that causes the problem. When revert back to Xamarin.Forms version 2.3.3.180 it works. Can anyone confirm this?

    We did not change the location of the database, we use MobileServiceSQLiteStore with the default location. We provide only the name of the database.

  • ChrisLarkinChrisLarkin Chris Larkin USUniversity ✭✭

    Sorry I went MIA there for a while, but it looks like a couple people found some potential solutions so that's good.

    I was able to finally resolve the problem by revoking my signing credentials and generating new ones.

  • simonevalenzianosimonevalenziano simone valenziano ITMember

    same problem, it works in debug/release not in testflight.
    i tried with 2.3.3, 2.3.4 and 2.3.5 pre but it didnt work in any case...what if i try send it directly to approval process?

  • HimanshuGupta.1787HimanshuGupta.1787 Himanshu Gupta INMember ✭✭

    Hi All,

    We are facing issue with testflight build. If I put app on device ( debug as well as release) , it works. But the same build crashes if installed through testflight .Crash reports are not getting generated .

  • olivierbutlerolivierbutler olivier butler USMember

    Hi to All,

    same issue.
    1) Build ( with debug config ) run ok when deployed in the device thru the cable.
    2) Build ( with release config with arch ARM7+ARM64 ) crash at start when deployed in the device thru the cable or thru TestFlight.

    If I disable "enable device-specifics build", this Build ( with release config with arch ARM7+ARM64) run ok.
    In that case, the IPA seems weirdly too small and Application Loader ends with this :
    ERROR ITMS-90502: "Invalid Bundle. Apps that only contain the arm64 slice must also have 'arm64' in the list of UIRequiredDeviceCapabilities in Info.plist."

    any hint ?

  • olivierbutlerolivierbutler olivier butler USMember

    Resolved by doing : Solution Clean...

    so simple

  • SynteXSynteX Menno checker NLMember ✭✭

    @olivierbutler said:
    Resolved by doing : Solution Clean...

    so simple

    i am facing the same issue, trying this now swell hopefully it wil work :neutral:

  • SynteXSynteX Menno checker NLMember ✭✭

    Yep I can confirm that cleaning the solutions fixes this issue!!!!

Sign In or Register to comment.