简体   繁体   English

如何通过Xcode在iPhone上保留应用程序?

[英]How to persist an app on iPhone from Xcode run?

I created an app from scratch. 我从头开始创建了一个应用。 I run on my device (iPhone8) from Xcode, and then after one day my app cannot open. 我从Xcode在设备(iPhone8)上运行,然后一天后无法打开我的应用程序。

So my questions are: 所以我的问题是:

  1. Why local app cannot be opened one day passed? 为什么本地应用无法在一天之内打开? (Not app crashed) (没有应用崩溃)
  2. How to persist app from Xcode run? 如何从Xcode运行持久化应用程序?
  3. How long will an app persist on device from Xcode run? 应用程序将在Xcode上的设备上保留多长时间? (persist means run well) (坚持意味着运行良好)

PS. PS。

  1. run in DEBUG mode DEBUG模式运行
  2. using my personal account 使用我的个人帐户

签约

If you don't have a paid developer membership with Apple (ie you have a free membership), your abilities are limited. 如果您没有Apple的付费开发人员会员资格(即您拥有免费会员资格),那么您的能力将受到限制。 One way they limit your abilities is by expiring a build from Xcode onto a device in just a couple of days. 他们限制您能力的一种方法是在短短几天内将Xcode的构建过期到设备上。 When the build expires, you just can't launch the app: when you tap its icon, there is a flash and you are back in the springboard. 当构建过期时,您将无法启动该应用程序:点击其图标时,会出现闪烁,并且您又回到了跳板。

Once you have a paid membership, you have two choices: 获得付费会员资格后,您有两种选择:

  • You can build from Xcode onto a device and it will last considerably longer. 您可以从Xcode构建到设备上,并且可以使用更长的时间。 But it does still expire after a while. 但是它仍然会在一段时间后过期。

  • You can do an Ad Hoc distribution build. 您可以进行临时发行版构建。 They are very long-lasting (in fact, they might not expire at all). 它们非常持久(实际上,它们可能根本不会过期)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM