• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
getting path for files in test bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: getting path for files in test bundle
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: book about Cocoa testing
  • Next by Date: Re: getting last accessed date
  • Previous by thread: book about Cocoa testing
  • Next by thread: Re: getting path for files in test bundle
  • Index(es):
    • Date
    • Thread