Appium IOS: Element is still not existing

I’ve been trying to interact with the elements in my IOS app, but it dosent seem to detect them.
I’ve been getting this error for all the elements

Error: element (“(//XCUIElementTypeButton[@name=” 1"])[7]") still not existing after 3000ms

i’m using appium 1.7.0
ios version: 11.4
XCode version: 9.4

I tried accessing the elements through Appium desktop as well, but it dosent seem to detect all the elements. The elements are intractable at times and not intractable at times.
Please do reply if you know why im facing this issue.