Getting a file from Supporting Files folder

Discussion in 'Mac Programming' started by milk242, Sep 10, 2012.

  1. milk242 macrumors 6502a

    Joined:
    Jun 28, 2007
    #1
    Hi all,

    I have a .pkg file in my Supporting Files folder and am trying to get the path of it so I can use it to execute an NSTask. I'm using [pathForResource: ofType:] and it's returning nil. Can someone help me solve this problem.

    Thanks.
     
  2. milk242 thread starter macrumors 6502a

    Joined:
    Jun 28, 2007
    #2
    Never mind, forgot to choose target membership for that file.
     

Share This Page