Does not find a native element in a hybrid ios app in one machine

Hello, I have a hybrid ios app which I have automated using Appium. The script runs fine in my machine , but in the jenkins server, the script fails to click on the native element.

Error: INFO: Error attempting to detect visibilty of element: org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters.

Version of appium , xcode is same on both the machines and I am running it using the same iphone. The git version of automation scripts run is also the same. Is there anything else that I could have overlooked?