Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2735] iOS: Images in the /iphone/ directory don't show up on the device.

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-02-21T11:25:29.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsdefect, images, ios, reported-1.6.0, rplist
ReporterRick Blalock
AssigneeNeeraj Gupta
Created2011-04-15T03:28:05.000+0000
Updated2017-03-23T21:12:20.000+0000

Description

When referencing images from the iphone directory (i.e. /iphone/images/somePic.png or even /iphone/somePic.png) - works on the sim but not on the device. I tested with an imageView and a tab. Confirmed the issue with 1.6, 1.5.1, 1.4.3.

Original ticket: http://developer.appcelerator.com/helpdesk/view/63521">http://developer.appcelerator.com/helpdesk/view/63521

Attachments

FileDateSize
Resources.zip2011-06-07T07:57:55.000+00002432568

Comments

  1. Blain Hamon 2011-04-15

    What's the name of the file? Is it /iphone/images/somePic.png, or somepic.png, or SOMEPIC.PNG? On the simulator, all three are the same since the MacOS X filesystem defaults to case insensative, but the iOS filesystem is case sensitive. In other words, if you have Foo.png, asking foo.png won't work.

  2. Dawson Toth 2011-04-15

    Checking with the client.

  3. Blain Hamon 2011-04-15

    That it works on the simulator and not on the device is often a dead giveaway to this filename casing issue.

  4. Rick Blalock 2011-04-15

    This seems to still affect some users - http://developer.appcelerator.com/helpdesk/view/63521#c362245">http://developer.appcelerator.com/helpdesk/view/63521#c362245

    It's easily reproducible. I'll try to create an example when I get a free moment.

  5. Rick Blalock 2011-04-15

    This ticket is a duplicate of this one: https://appcelerator.lighthouseapp.com/projects/32239/tickets/91-platform-specific-resources-are-broken-in-150"> https://appcelerator.lighthouseapp.com/projects/32239/tickets/91-pl...

  6. Matthew Apperson 2011-06-07

    I have reproduced this in the simulator as well, I have updated the ticket with my example code / resource directory
  7. Paul Dowsett 2011-06-10

    Another user has reported this at TC-1. Closing TC-1 as duplicate.
  8. Shannon Hicks 2012-02-17

    It looks like, as of 1.8.1, this issue has been resolved. Probably worth testing & closing.
  9. Neeraj Gupta 2012-02-21

    This issue cannot be reproduced anymore with the latest master build. Please reopen this issue with a test case if the issue persists.
  10. Lee Morris 2017-03-23

    Can verify this ticket as "Cannot Reproduce". Tested with the following environment; iPhone 7 and Simulator (10.2) MacOS 10.11.6 (15G31) Studio 4.8.1.201612050850 Ti SDK 6.0.3 GA Appc NPM 4.2.8 Appc CLI 6.1.0 Ti CLI 5.0.11 Alloy 1.9.5 Arrow 1.10.1 Xcode 8.2 (8C38) Node v4.6.0 Java 1.7.0_80

JSON Source