Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AudioKit 5 and Xcode 12 beta 6 Build Errors

I'm trying to build a project using AudioKit 5 (master branch) XCFrameworks in XCode 12 beta 6 for iOS 14 and I'm getting 1 warning and 2 errors:

Warning:

Could not find or use auto-linked library 'swiftAVFoundation'

Error 1:

Undefined symbol: _swiftoverride_class_getSuperclass(swift::TargetMetadataswift::InProcess const*)

Error 2:

Undefined symbol: swift::swift51override_conformsToSwiftProtocol(swift::TargetMetadataswift::InProcess const*, swift::TargetProtocolDescriptorswift::InProcess const*, llvm::StringRef, swift::TargetProtocolConformanceDescriptorswift::InProcess const* ()(swift::TargetMetadataswift::InProcess const, swift::TargetProtocolDescriptorswift::InProcess const*, llvm::StringRef))

Any ideas why this might be happening? Note: The exact same project works fine in XCode 11 when building for iOS 13.7.

like image 481
Juan Avatar asked Sep 19 '25 03:09

Juan


1 Answers

AudioKit 5 definitely does support Xcode 12 - however maybe you are using the wrong branch. You should really be checking out the v5-develop branch instead of master for the latest changes.

In addition, this branch currently works with the Swift Package Manager which should alleviate the need to compile the frameworks by yourself.

This branch is very much in flux though with lots of changes to the API so you will probably have to adapt your code.

like image 72
megastep Avatar answered Sep 21 '25 19:09

megastep