Slow loading time for ios build

Dear all,

I build the app with the following command.

ionic cordova build ios --prod

Then I open the Xcode, connect my iphone and run it. It will launch the app in my iphone.

I have two problems that need your comments:

  1. The first one is that for the first time, it is very slow about 20 seconds. For the second time i run app on my iphone, it seems fast.

I check the log in the xcode, it shows

2017-11-12 22:33:16.127259+0800 PawerUp[6350:4444134] Download Progress: 95%
2017-11-12 22:33:16.130056+0800 PawerUp[6350:4444134] Download Progress: 95%
2017-11-12 22:33:16.130361+0800 PawerUp[6350:4444134] Download Progress: 95%
2017-11-12 22:33:16.481791+0800 PawerUp[6350:4444134] Download Progress: 96%
2017-11-12 22:33:16.482294+0800 PawerUp[6350:4444134] Download Progress: 96%
2017-11-12 22:33:16.484724+0800 PawerUp[6350:4444134] Download Progress: 96%
2017-11-12 22:33:16.850627+0800 PawerUp[6350:4444134] Download Progress: 97%
2017-11-12 22:33:16.855221+0800 PawerUp[6350:4444134] Download Progress: 98%
2017-11-12 22:33:17.258913+0800 PawerUp[6350:4444134] Download Progress: 99%
2017-11-12 22:33:17.666320+0800 PawerUp[6350:4444134] Download Progress: 100%
2017-11-12 22:33:17.723056+0800 PawerUp[6350:4444134] UUID is: and upstream_uuid is: ae0483d8-7250-46b8-9450-2dffaef3868b
2017-11-12 22:33:17.724199+0800 PawerUp[6350:4444134] Download Finished…
2017-11-12 22:33:17.732671+0800 PawerUp[6350:4444134] Versions: (
)
2017-11-12 22:33:17.733425+0800 PawerUp[6350:4444134] Path for zip file: /var/mobile/Containers/Data/Application/3FF42F12-C1F6-44DC-BCE9-8730564613D5/Library/Application Support/www.zip
2017-11-12 22:33:17.733513+0800 PawerUp[6350:4444134] Unzipping…
2017-11-12 22:33:17.740749+0800 PawerUp[6350:4444134] Zip Extraction: 0%
2017-11-12 22:33:17.741565+0800 PawerUp[6350:4444134] Zip Extraction: 0%
2017-11-12 22:33:17.750823+0800 PawerUp[6350:4444134] Zip Extraction: 1%
2017-11-12 22:33:17.774839+0800 PawerUp[6350:4444134] Zip Extraction: 1%
2017-11-12 22:33:17.791220+0800 PawerUp[6350:4444134] Zip Extraction: 24%
2017-11-12 22:33:18.022325+0800 PawerUp[6350:4444134] Zip Extraction: 25%
2017-11-12 22:33:18.034509+0800 PawerUp[6350:4444134] Zip Extraction: 26%

I don’t know why there is a need to download www.zip and unzip it. I have around 10 pages.

  1. I build the .ipa with ad-hoc deploying at the Xcode, it gives me the older version. I check that config.xml has updated to latest version but the changes on pages are not shown.

Your help is much appreciated.
best regards,
yundong

Btw, here is my ionic info:

cli packages: (/Users/caiyundong/Desktop/project/ionic/PetHome/node_modules)
@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0
global packages:
cordova (Cordova CLI) : 7.0.1
local packages:
@ionic/app-scripts : 3.0.0
Cordova Platforms : android 6.2.3 ios 4.4.0
Ionic Framework : ionic-angular 3.7.1
System:
Android SDK Tools : 26.0.2
ios-deploy : 1.9.2
ios-sim : 5.0.13
Node : v7.9.0
npm : 5.4.2
OS : macOS Sierra
Xcode : Xcode 9.0 Build version 9A235
Misc:
backend : pro

Sorry, I find the problem.

It is because of the ionic pro live deploy.

After commit the code, there is need to set the version. Then there will be no more downloading etc.