You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FeedKit always fail on this try: data = try Data (contentsOf: sanitizedSchemeUrl)
If run the exact same code on iPhone it works. Of course, even if I download the Data with Alamofire and then I pass it to FeedKit
The text was updated successfully, but these errors were encountered:
furiosFast
changed the title
Failure with URL on Apple Watch
Failure with URL on Apple Watch device
Apr 24, 2020
furiosFast
changed the title
Failure with URL on Apple Watch device
Failure with URL on Apple Watch (real device)
Nov 26, 2020
I ran into a similar problem. I read somewhere that Data(contentsOf: ) under the hood works with something not watch friendly. Sure enough, obtaining my Data from URLSession instead worked for me. This way you can use the FeedParser(data: Data) initializer. It would be nice if the FeedParser(url: URL) initializer had a fallback to URLSession on watchOS though
I remember encountering this issue a long time ago, and it wasn’t limited to just watchOS. We even reported it to Apple, but they couldn’t replicate it, despite the fact that we had three machines where the problem occurred consistently.
Hi,
first of all, great job!!!
I have encountered a problem that occurs only when I try to parse an RSS feed on Apple Watch device (on simulator it works).
the feed has the following url:
http://www.servizitelevideo.rai.it/televideo/pub/rss101.xml
FeedKit always fail on this try:
data = try Data (contentsOf: sanitizedSchemeUrl)
If run the exact same code on iPhone it works. Of course, even if I download the Data with Alamofire and then I pass it to FeedKit
The text was updated successfully, but these errors were encountered: