• 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: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/


  • Subject: Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 22 Oct 2016 11:12:45 -0700
  • Feedback-id: 167118m:167118agrif8a:167118sO2yHp9M-p:SMTPCORP

On Oct 22, 2016, at 10:43 , Jean Suisse <email@hidden> wrote:
>
> 	while let file = enumerator?.nextObject() as? URL	// EXC_BAD_INSTRUCTION HERE

You left out the line that defines “enumerator”.

Incidentally, you have this:

> 	let directoryURL = URL(fileURLWithPath: "/.DocumentRevisions-V100/“)

Accessing this directory seems like a very bad idea. It’s an incredibly private implementation detail of the document versioning system. There’s likely nothing in there that you can usefully access.

_______________________________________________

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: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
      • From: Jean Suisse <email@hidden>
References: 
 >EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/ (From: Jean Suisse <email@hidden>)

  • Prev by Date: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
  • Next by Date: Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
  • Previous by thread: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
  • Next by thread: Re: EXC_BAD_INSTRUCTION when enumerating /.DocumentRevisions-V100/
  • Index(es):
    • Date
    • Thread