contentstack / contentstack-ios

iOS SDK for Contentstack's Content Delivery API
MIT License
2 stars 2 forks source link

Unable to load content on device but working fine on Simulator #16

Closed vakhileshwar closed 2 years ago

vakhileshwar commented 3 years ago

I have dowloaded framework from https://www.contentstack.com/docs/platforms/ios/ios_sdk_latest

I can able to run and load the data on simulator but when I work with device I can able to run but Query.find is throwing error says

Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x28312f090 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <*>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <**>.<1>

Please help, I don't have this issue on simulator 

**We do not want to use pods in my project** 
ishaileshmishra commented 3 years ago

thanks for creating the issue @vakhileshwar

this is to be related to network connectivity.

Meanwhile, We are looking into it. Will update you if we'll find any issues at our end.

uttamukkoji commented 2 years ago

Closing issue as there is no activity required and request are working on device.