Adding an Image in Xcode 4.5

Discussion in 'OS X Mountain Lion (10.8)' started by Blakeasd, Dec 14, 2012.

  1. Blakeasd macrumors 6502a

    Joined:
    Dec 29, 2009
    #1
    Hello,

    This is my first time writing/updating an application since ~ the beta version of OS X Lion. I am trying to add an image to an NSView in interface building. Here are the steps that I followed:

    1. Dragged images to Xcode "Supporting Files" Group (Copy was checked)
    2. Went to the interface building section, pressed on the media tab and dragged the image to the NSView

    Presses the Run button and... got an error stating that Xcode "Could not find the imaged named" [image name] :confused:

    What has changed that won't allow me to add an image? I noticed a similar thing with adding new classes, I have to target the .m file in the inspector or Xcode cannot find it. The image under the inspector is check under the "Target Membership" table in the inspector. Could someone please help me?

    Thanks!
     
  2. Blakeasd thread starter macrumors 6502a

    Joined:
    Dec 29, 2009
    #2
    Whoops, this should be in the Mac Programming Forum. I will post it there
     

Share This Page