几天后,正在测试的iPhone应用程序崩溃了

时间:2022-10-08 02:51:00

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

我是制作iPhone应用程序的新手,这是我的第一次尝试。

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

我做了一个简单的应用程序,里面有两个按钮。一个按钮打开一个URL,另一个按钮打开一个弹出窗口。

I am yet to enroll as an apple developer and am testing my application on the physical device by connecting it to Xcode.

我还没有注册成为苹果开发人员,而是通过将其连接到Xcode来测试我在物理设备上的应用程序。

When I install the application, it runs properly for a few days in spite of disconnecting it from Xcode. However, after a few days, the application does not open and flashes a black blank screen and goes back to the home screen.

当我安装应用程序时,尽管它与Xcode断开连接,它仍可正常运行几天。但是,几天后,应用程序无法打开并闪烁黑色空白屏幕并返回主屏幕。

When I reconnect it to Xcode and run the same code again on the same iPhone, it works properly again for a few days and then crashes again.

当我将它重新连接到Xcode并在同一个iPhone上再次运行相同的代码时,它会再次正常工作几天然后再次崩溃。

I am unable to understand why the app is behaving in such a manner after a few days and not immediately.

我无法理解为什么应用程序在几天之后就会以这种方式运行而不是立即行动。

Is there some expiry period for application when one has not signed in as a developer? (The provisioning profile shows expiring soon) If not, can you please guide me as to how to go about troubleshooting this issue?

当一个人没有以开发人员的身份登录时,是否有申请到期期限? (配置文件显示即将到期)如果没有,您能否指导我如何解决此问题?

Kindly give me your esteemed suggestions/comments as I am badly stuck and need to find a solution as soon as possible.

请尽量给我你尊敬的建议/评论,因为我很困难,需要尽快找到解决方案。

Thanks a lot!

非常感谢!

2 个解决方案

#1


37  

If application is installed with XCode and you don't have a Paid Program Developer Account, the life expectancy of the app is like 48h approximate

如果应用程序是使用XCode安装的,并且您没有付费程序开发人员帐户,则该应用程序的预期寿命类似于48小时

(There is no official time of validity for that)

(没有正式的有效时间)

, for a paid program, it's a few month with the correct certificate. With TestFlight, it's now 60 days.

,对于付费程序,使用正确的证书只需几个月。使用TestFlight,现在已经60天了。

Indeed you didn't signed your app, it has low life expectancy. It's quite new that Apple allow it for free account, but it just for testing purpose (other than simulator), if you want more days to test on device, you have to pay for developer program.

确实你没有签署你的应用程序,它的预期寿命很低。苹果允许它免费使用它是一个很新的例子,但它仅用于测试目的(模拟器除外),如果你想在设备上测试更多天,你必须为开发者计划付费。

Hope This will help you...

希望对你有帮助...

Do let me know if you have any other query.

如果您有任何其他疑问,请告诉我。

#2


12  

No it's not guess actually ...

不,它实际上并不是猜测......

It's 7 days exactly for free developer account ...

You can check validity also in XCode Provisioning profile also ...

您也可以在XCode配置文件中检查有效性...

In General -> Signing (Automatically Mange Signing checked ) -> Provisioning Profile (Click on Info (i) icon) and you can check validity of profile ...

一般 - >签名(自动签名签名) - >配置文件(点击信息(i)图标),你可以检查配置文件的有效性...

几天后,正在测试的iPhone应用程序崩溃了

#1


37  

If application is installed with XCode and you don't have a Paid Program Developer Account, the life expectancy of the app is like 48h approximate

如果应用程序是使用XCode安装的,并且您没有付费程序开发人员帐户,则该应用程序的预期寿命类似于48小时

(There is no official time of validity for that)

(没有正式的有效时间)

, for a paid program, it's a few month with the correct certificate. With TestFlight, it's now 60 days.

,对于付费程序,使用正确的证书只需几个月。使用TestFlight,现在已经60天了。

Indeed you didn't signed your app, it has low life expectancy. It's quite new that Apple allow it for free account, but it just for testing purpose (other than simulator), if you want more days to test on device, you have to pay for developer program.

确实你没有签署你的应用程序,它的预期寿命很低。苹果允许它免费使用它是一个很新的例子,但它仅用于测试目的(模拟器除外),如果你想在设备上测试更多天,你必须为开发者计划付费。

Hope This will help you...

希望对你有帮助...

Do let me know if you have any other query.

如果您有任何其他疑问,请告诉我。

#2


12  

No it's not guess actually ...

不,它实际上并不是猜测......

It's 7 days exactly for free developer account ...

You can check validity also in XCode Provisioning profile also ...

您也可以在XCode配置文件中检查有效性...

In General -> Signing (Automatically Mange Signing checked ) -> Provisioning Profile (Click on Info (i) icon) and you can check validity of profile ...

一般 - >签名(自动签名签名) - >配置文件(点击信息(i)图标),你可以检查配置文件的有效性...

几天后,正在测试的iPhone应用程序崩溃了