IONIC typecscript changes not appearing on ios build on iphone

I am having a weird issue occur i am using XCODE 9.1 and IONIC

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.15.1
ionic (Ionic CLI) : 3.15.1

global packages:

cordova (Cordova CLI) : 7.1.0 

local packages:

@ionic/app-scripts : 3.1.2
Cordova Platforms  : ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2


Android SDK Tools : 25.2.5
ios-deploy        : 1.9.2 
ios-sim           : 5.0.13 
Node              : v6.9.4
npm               : 3.10.10 
OS                : macOS Sierra
Xcode             : Xcode 9.1 Build version 9B55 

However look at the typescript code i have in visual studio before running ionic cordova platform add ios

now look at the code that gets deploy to my iphone using safari debugger to view it… you see code changes are missing such as the this.initpush() . How can i resolve?