[TIMOB-2735] iOS: Images in the /iphone/ directory don't show up on the device.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-02-21T11:25:29.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | defect, images, ios, reported-1.6.0, rplist |
Reporter | Rick Blalock |
Assignee | Neeraj Gupta |
Created | 2011-04-15T03:28:05.000+0000 |
Updated | 2017-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
File | Date | Size |
---|---|---|
Resources.zip | 2011-06-07T07:57:55.000+0000 | 2432568 |
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.
Checking with the client.
That it works on the simulator and not on the device is often a dead giveaway to this filename casing issue.
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.
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...
I have reproduced this in the simulator as well, I have updated the ticket with my example code / resource directory
Another user has reported this at TC-1. Closing TC-1 as duplicate.
It looks like, as of 1.8.1, this issue has been resolved. Probably worth testing & closing.
This issue cannot be reproduced anymore with the latest master build. Please reopen this issue with a test case if the issue persists.
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