Xcode build bugs

When I run on the ionic serve – lab , all function are working. but when i run on the xcode then itry to build. all function are not working. anyone can help me how to solve this problem.

First image Lab localhost all function are working.

this is my ionic info

3rd image in xcode ios is not working after build ANY Devices :<.