Swartdogs / PowerScout

Scouting App for FRC Power Up
Apache License 2.0
1 stars 0 forks source link

Apps staying on iPad #78

Open Dylan-Wells opened 6 years ago

Dylan-Wells commented 6 years ago

A problem we are having with the iPads is that I didn't try opening the app for two weeks (due to state basketball) and when I returned this week and tested the app on both of our iPads, they crashed on both of them.

pr1sm commented 6 years ago

@Dylan-Wells Did the apps crash immediately or did they load first and then crash during use?

If the app crashed during use

On what versions of iPad and what versions of iOS did the app crash? Did the app crash on a specific control or action you were trying to perform on both? Have you looked for a crash dump on the iPads in question?

For these types of crashes in the future, please use the template the gets provided automatically when you create a new issue! This has sections that answer the above questions so we can get the basic information out of the way and narrow our search from the start.

If the app crashed immediately

Was this an iPad that had the app loaded through iTunes with the archive I provided, or did you deploy the app to this iPad through Xcode (pushing the play button)? Unfortunately it seems that while you can deploy apps through Xcode for testing with a free apple id, they only last for a about a week before the certificate expires and causes the crash.

There are a couple of options for fix this:

  1. Use a paid developer account to sign and deploy the app to a device.
  2. Reload the app every week using a free account to regenerate the certificate.

I thought we could get around this by me signing the app, creating an archive and having you guys load my certificate. It seems like this doesn't work, or is inconsistent.

Another option we have is to submit the app for beta testing using TestFlight. I can look into this further if you guys think this is a more viable option for loading the app on the iPads.

Dylan-Wells commented 6 years ago

This occurred when I tapped on the app. The launch screen would show up then crash a second later. I was trying to test and see if they kept the certificate on them but they both crashed which failed my test.

pr1sm commented 6 years ago

Your description seems more closely tied to the app crashes immediately rather than it crashing during use. I should have been more specific, but by "use" I meant that app becomes interactive (the main match table view loads) before the app crashes.

As a said in the previous comment under the "app crashes immediately" section, there's not much we can do to get around this "deployment under a free apple id." This will have to be a known issue that we work around using the options above.

My recommendation is to use a free account to delete the app and redeploy it on each device within a week before the event. I believe we've confirmed in previous discussions that the app will be accessible for a week. This option will allow the most flexibility for deployments while still being free. Anyone with an Apple ID and a macOS device will be able to load the app onto the devices (with the Xcode project and any training required). Is the mac mini still able to open the project? This would provide you with an option (albeit a slow option) to have students who don't own a macOS device redeploy the app.

Let me know your thoughts on either solution, or if you think I should look deeper into TestFlight, as there might be something I'm not thinking of that prevents us from going with this option.

Dylan-Wells commented 6 years ago

We can redeploy it but I was just concerned cause I believe that the last download that we had installed on the iPads were the apps with the certificate.