getting path for files in test bundle
getting path for files in test bundle
- Subject: getting path for files in test bundle
- From: Wilker <email@hidden>
- Date: Thu, 14 Jul 2011 04:11:34 -0300
Hi,
I'm trying to do some tests here, but in case my tests have some fixture
files (video files), I added them to a group Fixtures on Test target, they
are also already on Copy Resources Bundle phase, but I can't get the path
for them... I'm trying with:
NSString *dexterPath = [[NSBundle mainBundle] pathForResource:
@"dexter" ofType:@"mp4"];
But it always returns (null)
Any ideas on how to make it work?
---
Wilker LĂșcio
http://about.me/wilkerlucio/bio
Kajabi Consultant
+55 81 82556600
_______________________________________________
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