NSInputStream inputStreamWithURL always nil
ldantona opened this issue · 1 comments
ldantona commented
Hi,
has anyone experienced NSInputStream inputStreamWithURL: to return nil?
I've tried with simple UTF-8 csv files and:
NSInputStream *stream = [NSInputStream inputStreamWithURL:fileURL];
at line 823 of CHCSVParser.m always returns nil even if fileURL is valid.
Many thanks,
DAN
ldantona commented
Just realized I initialized the url with URLWithString instead of initFileURLWithPath!