简体   繁体   English

应用程序花费的时间太长,无法在设备上运行和安装

[英]App is taking too long to run and install on Device

I have an app which im developing for quite some time. 我有一个正在开发一段时间的应用程序。 I am experiencing weird behavior, that when i run on Simulator, its takes few seconds, but when i run on Device or "Build for Archive" or "Archive", the progress bar slowly moves on until its about 94-95% near completion and stops there for about 5-7 mins. 我遇到奇怪的行为,即当我在Simulator上运行时,它需要花费几秒钟的时间,但是当我在Device或“ Build for Archive”或“ Archive”上运行时,进度条会缓慢移动直到其接近完成的94-95%并在那里停留约5-7分钟。 I am using Developers profile for provisioning. 我正在使用Developers个人资料进行配置。 What could be the issue? 可能是什么问题?

I have about 200 images in resources. 我的资源大约有200张图片。 But i dont think its too much and not normal for a big app. 但是我认为对于一个大型应用程序来说,它并不太多,也不正常。 The IPA size is about 9.4 MB, and complete package size is about 40MB. IPA大小约为9.4 MB,完整的程序包大小约为40MB。

该设备将对每个文件执行I / O操作,因此200个1M'文件比一个200M'文件要花费更多的时间。

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

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