• 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: A question in regards to AddInstanceForFactory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question in regards to AddInstanceForFactory


  • Subject: Re: A question in regards to AddInstanceForFactory
  • From: "Eric E. Dolecki via Cocoa-dev" <email@hidden>
  • Date: Thu, 26 Sep 2019 08:37:06 -0400

FYI: This only appears when running in a simulator.

On Thu, Sep 26, 2019 at 8:31 AM Eric E. Dolecki <email@hidden> wrote:

> I am using Xcode 11.0 (11420a), targeting iOS 13, Swift 5, and playing
> back a local audio file. Seems simple enough, but I am getting a console
> print:
>
>         let path = Bundle.main.path(forResource:
> "Tchaikovsky_Rococo_Var_orch.mp3", ofType:nil)!
>         let url = URL(fileURLWithPath: path)
>         do {
>             player = try AVAudioPlayer(contentsOf: url)
>             player?.volume = 0.5
>             player?.numberOfLoops = -1
>             player?.play()
>         } catch {
>             print("Could not load the audio file.")
>         }
>
> *[plugin] AddInstanceForFactory: No factory registered for id ...*
>
> Everything runs fine, but how do I silence this? I've googled and haven't
> seen anything.
>
> Thanks,
> Eric
>
_______________________________________________

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: A question in regards to AddInstanceForFactory
      • From: "Gary L. Wade via Cocoa-dev" <email@hidden>
References: 
 >A question in regards to AddInstanceForFactory (From: "Eric E. Dolecki via Cocoa-dev" <email@hidden>)

  • Prev by Date: A question in regards to AddInstanceForFactory
  • Next by Date: Re: Questions regarding release
  • Previous by thread: A question in regards to AddInstanceForFactory
  • Next by thread: Re: A question in regards to AddInstanceForFactory
  • Index(es):
    • Date
    • Thread