7

I am trying to run AudioKit.start() in my viewDidAppear method but I get the following error:

Module 'AudioKit' has no member named 'start'

My pod file includes:

pod 'AudioKit', '~> 4.0'
pod 'AudioKit/Core', '~> 4.0'
pod 'AudioKit/UI', '~> 4.0'

And I'm importing:

import AudioKit
import AudioKitUI

I'm on Xcode 12.0.1. Thanks!

aritroper
  • 1,671
  • 5
  • 16
  • 26

1 Answers1

8

You didn't mention which version of AudioKit actually got installed, but if its the latest pod, use AKManager instead of AudioKit. If I were you I'd leave the Cocoapods world and use Swift Package manager with AudioKit v5.

Aurelius Prochazka
  • 4,510
  • 2
  • 11
  • 34