iPhone app under test crashes after a few days

前端 未结 3 957
轻奢々
轻奢々 2020-11-28 10:13

I am new to making iPhone apps and this is my first attempt.

I have made a simple app which has two buttons in it. One button opens a URL and the other opens a Pop-u

3条回答
  •  失恋的感觉
    2020-11-28 10:42

    This forum helped me find an answer for a very similar issue I was facing with an Ionic iOS app I have running on a few iPads for a checkin kiosk at a non-profit I am developing for. For my scenario I just need the apps to run locally on WiFi and never on any other devices, never to be downloaded as a distributed app to the public. My apps kept randomly crashing on launch, and I would re-install the app from Xcode and they would start working again.

    So my only real solution was creating an "Ad-Hoc" certificate and provisioning profile, where you can add up to 100 iOS devices to the provision. I had to manually add my 3 iPads to the provisioning profile, then download the file and open it, then in Xcode un-check "Automatically manage signing", then go below to "Provisioning Profile", then select your new ad-hoc style profile. And you should be good as long as your Apple developer account is in good standing (I believe, someone correct me if I'm wrong).

    Just a heads up, first you personally have to be a paid and registered developer with Apple, not just added to a team by invite. I was invited in by another team for a completely different project and was not able to get set up and create the certificate and provisioning file on my own because of that. I had to leave my team, then register anew with Apple as an individual developer, then I could complete my steps.

    1. Your Apple developer account
    2. Create a Production Ad-Hoc Distribution Certificate
    3. Create an Ad-Hoc Provisioning Profile
    4. Managing Devises and Provisioning Profiles

提交回复
热议问题