• 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
Re: App give s -35 error when run out of the debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App give s -35 error when run out of the debugger


  • Subject: Re: App give s -35 error when run out of the debugger
  • From: James Walker <email@hidden>
  • Date: Mon, 12 Nov 2012 11:54:21 -0800

On 11/12/2012 11:04 AM, Jason T. Slack-Moehrle wrote:
OS X 10.6.8, XCode 3.2.6 targeting 10.5 SDK, Carbon

My app works in the debugger. all the resources, etc load. (there are a
lot, hundreds, from .png's to special text files, etc)

When I double click it outside the debugger it returns a -35 error.

According to MacErrors.h:
http://opensource.apple.com/source/CarbonHeaders/CarbonHeaders-18.1/MacErrors.h

a -35: nsvErr = -35, /*no such volume*/

Is there someplace where you use a relative path, and hence make an assumption about the current working directory? The current working directory is apt to be different when running outside the debugger.

According to Console.app: 11/12/12 10:59:23
AM[0x0-0x25d25d]Mystical[18406] what():  {-35}

I am curious to know how one starts tracking down why it works in debug
but not release if the folder structure, etc is exactly the same?

Obviously it is a path problem to all of these resources, the path it
thinks doesn't exist...

-Jason




  _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


--
  James W. Walker, Innoventive Software LLC
  <http://www.frameforge3d.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >App give s -35 error when run out of the debugger (From: "Jason T. Slack-Moehrle" <email@hidden>)

  • Prev by Date: App give s -35 error when run out of the debugger
  • Next by Date: Re: App give s -35 error when run out of the debugger
  • Previous by thread: App give s -35 error when run out of the debugger
  • Next by thread: Re: App give s -35 error when run out of the debugger
  • Index(es):
    • Date
    • Thread