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
I'm trying to use XMLDictionary to parse some RSS feeds within the NSURLSessionDataTask completion block. When using XMLData about 1/2 the RSS feeds crash XMLDictionary with "BAD_ACCESS". I tried to solve this by converting the NSData to NSString and using XMLString. This solved the "BAD_ACCESS" issue but now I'm getting "[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array" Specifically with this RSS Feed: http://feeds.ign.com/ignfeeds/podcasts/wii/
Now, if I parse the RSS feed OUTSIDE of the completion block, it works fine no problem. But when I try and parse it within the Completion block, I get s crashes.
Any idea how to solve this?
The text was updated successfully, but these errors were encountered:
I'm trying to use XMLDictionary to parse some RSS feeds within the NSURLSessionDataTask completion block. When using XMLData about 1/2 the RSS feeds crash XMLDictionary with "BAD_ACCESS". I tried to solve this by converting the NSData to NSString and using XMLString. This solved the "BAD_ACCESS" issue but now I'm getting "[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array" Specifically with this RSS Feed: http://feeds.ign.com/ignfeeds/podcasts/wii/
Now, if I parse the RSS feed OUTSIDE of the completion block, it works fine no problem. But when I try and parse it within the Completion block, I get s crashes.
Any idea how to solve this?
The text was updated successfully, but these errors were encountered: