Bug 11615 - Missing Image Icon in XCode
Summary: Missing Image Icon in XCode
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: 4.0.3
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2013-04-05 10:36 UTC by Allie Miller
Modified: 2013-04-05 17:03 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Test Case (1.37 MB, application/zip)
2013-04-05 10:36 UTC, Allie Miller

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Allie Miller 2013-04-05 10:36:49 UTC
Created attachment 3758 [details]
Test Case

I am trying to solve is that the images don't appear correctly when editing the Storyboard in XCode. I thought maybe by following the prescribed naming conventions and folder locations that my image reference in the Image View would work correctly. 

The images reference fine if placed in the project root, but they don't work when placed in sub-folders.

E.g., logo.png works fine, but if I move it to _Resources/Images, then neither _Resources/Images/logo.png nor Images/logo.png works. Also tried stripping the file extension with no luck.

The value I have in the Xcode image location is "_Resources/Images/logo.png". When I launch the app, the image appears correctly. However, in XCode, I just get a missing image icon.

Using Xamarin Studio v4.0.3 (build 13), XCode v4.6.1 (4H512)
Comment 1 Mikayla Hutchinson [MSFT] 2013-04-05 17:03:12 UTC
This is an Xcode limitation, the Xcode designer does not support images in subdirectories.

I recommend our BundleResource support - place the images in the Resources directory, with a build action of "BundleResource", and they will be placed in the root of the compiled bundle, and exported to the root of the Xcode project.