Re: A question in regards to AddInstanceForFactory
Mojave. Good to know though, thanks. Sent from my iPhone 11 Pro From: Gary L. Wade Sent: Thursday, September 26, 2019 11:33 AM To: Eric E. Dolecki Cc: cocoa-dev Subject: Re: A question in regards to AddInstanceForFactory Are you running on Mojave or Catalina beta? I’ve found some things in some simulators work better when under Catalina beta. -- Gary L. Wade http://www.garywade.com/ > On Sep 26, 2019, at 5:37 AM, Eric E. Dolecki via Cocoa-dev > wrote: > > FYI: This only appears when running in a simulator. > >> On Thu, Sep 26, 2019 at 8:31 AM Eric E. Dolecki 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 (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/garywade%40desisoftsystems.com > > This email sent to garyw...@desisoftsystems.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: A question in regards to AddInstanceForFactory
Are you running on Mojave or Catalina beta? I’ve found some things in some simulators work better when under Catalina beta. -- Gary L. Wade http://www.garywade.com/ > On Sep 26, 2019, at 5:37 AM, Eric E. Dolecki via Cocoa-dev > wrote: > > FYI: This only appears when running in a simulator. > >> On Thu, Sep 26, 2019 at 8:31 AM Eric E. Dolecki 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 (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/garywade%40desisoftsystems.com > > This email sent to garyw...@desisoftsystems.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: A question in regards to AddInstanceForFactory
FYI: This only appears when running in a simulator. On Thu, Sep 26, 2019 at 8:31 AM Eric E. Dolecki 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
A question in regards to AddInstanceForFactory
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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com