Re: Breakpoints: Swift Error
Re: Breakpoints: Swift Error
- Subject: Re: Breakpoints: Swift Error
- From: Quincey Morris <email@hidden>
- Date: Fri, 19 Feb 2016 11:32:47 -0800
- Feedback-id: 167118m:167118agrif8a:167118sUBxbFmoLe:SMTPCORP
On Feb 19, 2016, at 11:20 , Eric E. Dolecki <email@hidden> wrote:
>
> Yes, it's in the AVAudioPlayer init.
Which is a very interesting fact, because it suggests that the frameworks are using Swift code. I wasn’t aware that Apple had begun using Swift in actual frameworks yet, but I guess it had to start sometime.
> I do have a catch, and it never gets there. Things stop on that player instantiation.
So it’s probably a case of the initializer trying some variations of the URL. (I wouldn’t be surprised if it played games with the file extension.) The errors are only transient in a case like that.
> I've turned the breakpoint off for now and things seem to be working perfectly.
If you need the breakpoint, you may just have to get used to continuing from there, every time.
_______________________________________________
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