Re: -[NSBundle URLForResource:withExtension:subdirectory] is case-sensitive

2013-08-17 Thread Ken Thomases
On Aug 17, 2013, at 6:29 PM, Stephen J. Butler wrote: > On Sat, Aug 17, 2013 at 6:03 PM, Rick Aurbach wrote: > >> I expect indexURL to be non-null (and to contain the appropriate URL). >> However, in actual devices, this function returns nil; on the IOS Simulator >> it returns a valid URL. If I

Re: -[NSBundle URLForResource:withExtension:subdirectory] is case-sensitive

2013-08-17 Thread Kyle Sluder
On Aug 17, 2013, at 7:29 PM, "Stephen J. Butler" wrote: > This is a known limitation of the Simulator. On OS X the filesystem is case > preserving, but not case sensitive. Since the Simulator runs on top of OS X > it inherits this behavior. > > However, on iOS the filesystem is case sensitive.

Re: -[NSBundle URLForResource:withExtension:subdirectory] is case-sensitive

2013-08-17 Thread Stephen J. Butler
On Sat, Aug 17, 2013 at 6:03 PM, Rick Aurbach wrote: > I expect indexURL to be non-null (and to contain the appropriate URL). > However, in actual devices, this function returns nil; on the IOS Simulator > it returns a valid URL. If I change the resource name to exactly match the > actual file na

-[NSBundle URLForResource:withExtension:subdirectory] is case-sensitive

2013-08-17 Thread Rick Aurbach
I just filed the following radar and I thought I'd share it. (Of course, if this is one of those things that "everybody knows", please be kind.) rdar://14766402 -[NSBundle URLForResource:withExtension:subdirectory] is case sensitive Create a file named "Index.html" (