Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

157
Views
SCNAudioPlayer is throwing -10878

I start playing an audio file like this in a SceneKit app; It is playing the file surprisingly!

I can call first function to start playing again.

But at first call to start player I am having this message many times; I could not find why.

testsScene[17737:968214] throwing -10878

var backgroundAudioPlayer:SCNAudioPlayer?


func someFunction(){

  DispatchQueue.main.async { [self] in
            backgroundAudioPlayer = SCNAudioPlayer(source: "background0.mp3")
            worldNode.addAudioPlayer(backgroundAudioPlayer!)
        }

}

and stop in this way;

func someOtherFunction(){
  DispatchQueue.main.async { [self] in
                
    worldNode.removeAudioPlayer(backgroundAudioPlayer!)

               }

 }
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!