I started to develop ionic 2 cordova app on mac and doesn’t update ios Application.
My pc specs are,
node v8.9.1 npm v5.5.1 cordova v7.1.0 ionic v3.17.0 editor VSCode
if I want some code change in ionic-v1 then I can edit
platform -> ios -> www ->.js files or
platform -> ios -> www ->.html files and reload xcode then changes appear on real device.
But in ionic 2 app
platform -> ios -> www folder contain minified files and cannot edit these files. so I follow this process but code doesn’t change.
- Add ios platform to project using
cordova platform add iosand run ios app on xcode. initial app runs fine
- then go to
project -> src -> pages ->home ->home.component.tsedit home.component.ts and home.component.html
cordova prepareto add changes to ios platform
- stop xcode and
clean->build->runproject again… changes doesn’t appear.
- remove ios platform using
cordova platform remove iosand readd it using
cordova platform add iosthen new changes are appear.
I develop ionic-v1 and ionic 2 apps on windows and those are working perfectly on device.
what is the correct procedure to develop ionic 2 app on mac and dedug it correctly.
any help could be appreciated.