Toydor
Toydor

Reputation: 2327

What happens when TestFlight app expire?

I'm using the prerelease tool in iTunesConnect where you can distribute the app to a group of testers. It seems though that after some days the app crashes immediately after start (just after the splash screen shown). No error logs.

I'm wondering if this has to do with the 30days expiration that all TestFlight apps seems to have, or maybe it's something in my code that causing it?

Upvotes: 23

Views: 23333

Answers (4)

James Boutcher
James Boutcher

Reputation: 2613

The next time a user attempts to launch the beta app, they will get a dialog box saying "YOURAPPNAME" Beta Has Expired, and the app will not launch.

The app should not crash (nor run), as your question describes.

Upvotes: 6

Jirui
Jirui

Reputation: 189

The reason why app cannot execute is that no valid provisioning profile was found.

And we can find those logs in device console output:

Mar  9 08:34:48 ***-iPhone amfid[***] <Error>:  SecTrustEvaluate  [leaf CriticalExtensions IssuerCommonName]
Mar  9 08:34:48 ***-iPhone amfid[***] <Error>: /private/var/mobile/Containers/Bundle/Application/B4BF7C1D-2DF4-4B8D-943B-57BABD30****/***.app/*** not valid: 0xe8008015: A valid provisioning profile for this executable was not found.
Mar  9 08:34:48 ***-iPhone kernel[0] <Notice>: AMFI: hook..execve() killing pid 10282: no code signature
Mar  9 08:34:48 ***-iPhone kernel[0] <Notice>: Sandbox: hook..execve() killing pid 10282: application requires container but none set
Mar  9 08:34:48 ***-iPhone com.apple.xpc.launchd[1] (UIKitApplication:com.***.***[0x4711][10282]) <Notice>: Service exited due to signal: Killed: 9

Upvotes: 0

Lukas M. Pagel
Lukas M. Pagel

Reputation: 221

You're absolutely right, Toydor!

After the 30-days-period expired, your test won't be able download or run your app. I didn't find a way to extend this period. You only can upload an updated version to get another 30 days.

Upvotes: 20

Kerni
Kerni

Reputation: 15329

There are two things you can do to identify this:

  1. Get the app on a device, run the app, then check if the device has a crash report by e.g. using Xcode. If there is a crash report, check it. in addition check the console output on the device when the "crash" happens.

  2. Check the iTunes Connect website and navigate to the specific build. Check if the page shows some status as "expired" for that build.

Upvotes: 0

Related Questions