Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates

  1. Created new ionic project using CLI : $ ionic start MyIonicProject tutorial ; having simple two text fields in single html page

  2. Installed NPM to get the latest version of npm in project : $ npm install

  3. Added platform ios using MAC : $ ionic cordova platform add ios

  4. Build the code for ios using : $ ionic cordova build android

  5. Got the successful build after step 4 command!

  6. Opened the code in mac using xcode

  7. Configured the build settings and profiling settings

  8. Run the code on ios simulator/ registered device

  9. App initiates with the html page with textfields but unable to type on those text fields and getting log :

  • Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates

could solve this problem ?
I could share the solution?

Thank.

Anyone knows how to resolve this?