Re: Adding an image to a project
Re: Adding an image to a project
- Subject: Re: Adding an image to a project
- From: Vincenzo Morgante <email@hidden>
- Date: Thu, 15 Jul 2010 22:09:40 +0000 (GMT)
I added the image via XCode's interface: right button on Resources folder, add external file...
Now it works without any problems, but not on my system: we created a new project in another system and we added the same source file and the image, then we built the project and it worked... Maybe the problem is my project on my system...
However, the project is not one of the XCode template, but we used a wizard in order to create a project for OsiriX plugin development, so the file xib does not exists...
Thanks a lot for your help!
Vincenzo
The Resources folder exists inside your built executable's package. You don't add files to that after the build using the Finder.
I suspect you have dragged your image into your projects folder in the Finder. That is not the way to add files to your project. Do it via Xcode's interface, either through the menus or drag into the Groups & Files pane of the Xcode window. If you haven't done it the right way, I doubt you'll get it to work.
Ron
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden